summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick/files/patch-configure
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-08-09 15:09:46 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-08-25 21:53:42 +0000
commit296ebc603ab7d698ba5d85a3969b75aba0c83e6d (patch)
treedfb326cff07645396f9b6a65ca54ada50edfce08 /graphics/GraphicsMagick/files/patch-configure
parentprint/py-uharfbuzz: update to 0.30.0 (diff)
graphics/GraphicsMagick: enable JXL by default after 7ea47cecaa27
PR: 265741 Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'graphics/GraphicsMagick/files/patch-configure')
-rw-r--r--graphics/GraphicsMagick/files/patch-configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/GraphicsMagick/files/patch-configure b/graphics/GraphicsMagick/files/patch-configure
index 92a9e3083493..01011aea16aa 100644
--- a/graphics/GraphicsMagick/files/patch-configure
+++ b/graphics/GraphicsMagick/files/patch-configure
@@ -69,6 +69,19 @@
# Check for system-dependent libraries X programs must link with.
# Do this before checking for the system-independent R6 libraries
+@@ -27336,10 +27281,8 @@ $as_echo "no -- some components failed test" >&6; }
+ $as_echo "no -- some components failed test" >&6; }
+ have_jxl='no (failed tests)'
+ else
+- # JXL is a C++ Lib so requires linking with stdc++.
+- # TODO: A better solution would be to tell automake to do any linking with
+- # c++, but I can't figure out a way to get this working.
+- LIB_JXL='-ljxl -ljxl_threads -lhwy -lbrotlidec -lbrotlienc -lstdc++'
++ # TODO: use pkg-config
++ LIB_JXL='-ljxl -ljxl_threads'
+ LIBS="$LIB_JXL $LIBS"
+
+ $as_echo "#define HasJXL 1" >>confdefs.h
@@ -27703,7 +27649,7 @@ fi
#