summaryrefslogtreecommitdiffstats
path: root/printer
diff options
context:
space:
mode:
authorIsmael Luceno2019-06-02 22:13:58 +0200
committerIsmael Luceno2019-06-02 22:13:58 +0200
commit65dcd4b2feea56e1697e0e3f75aa70884855c9d0 (patch)
tree7c7196cd82d0f53c50a874417a96bfaa1229ecfb /printer
parent052046e3dee50d0b4893779ffbb6656126a68269 (diff)
ghostscript: Fix linking issues with libtiff
Diffstat (limited to 'printer')
-rw-r--r--printer/ghostscript/HISTORY3
-rwxr-xr-xprinter/ghostscript/PRE_BUILD3
2 files changed, 6 insertions, 0 deletions
diff --git a/printer/ghostscript/HISTORY b/printer/ghostscript/HISTORY
index f75767559f..3e7cab2016 100644
--- a/printer/ghostscript/HISTORY
+++ b/printer/ghostscript/HISTORY
@@ -1,3 +1,6 @@
+2019-06-02 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed linking issues with libtiff
+
2019-05-25 Ismael Luceno <ismael@sourcemage.org>
* CONFLICTS: Added conflict with ijs
diff --git a/printer/ghostscript/PRE_BUILD b/printer/ghostscript/PRE_BUILD
index c21f12308b..94dbf1d8a8 100755
--- a/printer/ghostscript/PRE_BUILD
+++ b/printer/ghostscript/PRE_BUILD
@@ -3,6 +3,9 @@ cd $SOURCE_DIRECTORY &&
apply_patch_dir patches &&
+# The custom libtiff test is flaky, and fails to add dependencies
+sed -i 's/--libs libtiff-4/--static &/' configure{.ac,} &&
+
# remove most of the embedded libraries. use the system ones instead
rm -rf freetype jpeg libpng tiff lcms2 ijs openjpeg zlib &&