summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-installer_dcheck.py
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2019-11-04 12:34:40 +0000
committerBen Woods <woodsb02@FreeBSD.org>2019-11-04 12:34:40 +0000
commit7c78a485cbc8adb1d1a0bed71ba7b7250e2f1ded (patch)
tree746893142698cf9af2587f4bd7414aadb3b60349 /print/hplip/files/patch-installer_dcheck.py
parentRemove "palm" from VALID_CATEGORIES in bsd.port.mk after r516635 (diff)
print/hplip: Update to 3.19.10
print/hplip-plugin: Update to 3.19.6 Changes this release: https://developers.hp.com/hp-linux-imaging-and-printing/release_notes PR: 241528 Reported by: S Joseph <josephatwork@gmail.com>
Diffstat (limited to 'print/hplip/files/patch-installer_dcheck.py')
-rw-r--r--print/hplip/files/patch-installer_dcheck.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/hplip/files/patch-installer_dcheck.py b/print/hplip/files/patch-installer_dcheck.py
index abea82e34aa9..f8fefb66fdd5 100644
--- a/print/hplip/files/patch-installer_dcheck.py
+++ b/print/hplip/files/patch-installer_dcheck.py
@@ -1,4 +1,4 @@
---- installer/dcheck.py.orig 2019-05-23 09:47:03 UTC
+--- installer/dcheck.py.orig 2019-11-03 15:17:23 UTC
+++ installer/dcheck.py
@@ -48,7 +48,11 @@ mod_output = ''
def update_ld_output():
@@ -17,11 +17,11 @@
except ImportError:
return '-'
else:
-- return Image.VERSION
+- return Image.PILLOW_VERSION
+ if hasattr(Image, "__version__"): # required for Pillow >= 6.0.0
+ return Image.__version__
+ else:
-+ return Image.VERSION
++ return Image.PILLOW_VERSION
def get_libpthread_version():
try: