summaryrefslogtreecommitdiff
path: root/libre/mcomix/486f02.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2020-01-04 22:28:26 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2020-01-04 22:28:26 -0500
commitc12fda24f3049f2df7d469adeefa280802a3c118 (patch)
tree59303beb825490917298614bdf4fef2964ba4887 /libre/mcomix/486f02.patch
parente3f15443964d5765cfb6e3fb6ca28b4bd3aabaa0 (diff)
downloadabslibre-c12fda24f3049f2df7d469adeefa280802a3c118.tar.gz
abslibre-c12fda24f3049f2df7d469adeefa280802a3c118.tar.bz2
abslibre-c12fda24f3049f2df7d469adeefa280802a3c118.zip
mcomix-1.2.1-5.parabola1: rebuild
Diffstat (limited to 'libre/mcomix/486f02.patch')
-rw-r--r--libre/mcomix/486f02.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/mcomix/486f02.patch b/libre/mcomix/486f02.patch
new file mode 100644
index 000000000..055884047
--- /dev/null
+++ b/libre/mcomix/486f02.patch
@@ -0,0 +1,15 @@
+--- a/mcomix/run.py
++++ b/mcomix/run.py
+@@ -203,7 +203,11 @@
+
+ try:
+ import PIL.Image
+- assert PIL.Image.VERSION >= '1.1.5'
++ try:
++ assert PIL.Image.VERSION >= '1.1.5'
++ except AttributeError:
++ # Field VERSION deprecated in Pillow 5.2.0 and dropped in 6.0.0
++ assert PIL.__version__ >= '5.2.0'
+
+ except AssertionError:
+ log.error( _("You don't have the required version of the Python Imaging"), end=' ')