From 00d5aa717b3662185d73f58012ea79fa9b394b84 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Tue, 26 Jun 2018 17:15:37 +0000 Subject: - Restore patch that adds mappings for common CJK TeX fonts to cidfmap. Make the path in the mappings relative to LOCALBASE/share/fonts so print/gsfonts does not need to be installed. [1] - Remove --enable-threadsafe from CONFIGURE_ARGS so thread-unsafe devices like opvp (used by Canon printer drivers) are built. [2] - Fix detection of dlopen on FreeBSD < 11.2 (which doesn't have libdl). [2] - Remove reference to FAPI configuration from pkg-message. As far as I can tell it is only useful in combination with UFST, a commercial font renderer from Monotype and we don't (and can't) build with UFST support. PR: 229211 [1], 229332 [2] Tested by: Osamu Matsuda --- print/ghostscript9-agpl-base/files/patch-configure | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'print/ghostscript9-agpl-base/files/patch-configure') diff --git a/print/ghostscript9-agpl-base/files/patch-configure b/print/ghostscript9-agpl-base/files/patch-configure index bab24d238ea2..126cd08f5671 100644 --- a/print/ghostscript9-agpl-base/files/patch-configure +++ b/print/ghostscript9-agpl-base/files/patch-configure @@ -9,7 +9,24 @@ fi -@@ -9950,42 +9950,42 @@ if test x$enable_threadsafe = xyes; then +@@ -5762,7 +5762,6 @@ if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -5795,7 +5794,7 @@ $as_echo "$ac_cv_lib_dl_dlopen" >&6; } + if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" + if test "x$ac_cv_header_dlfcn_h" = xyes; then : +- GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS" ++ GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1"; + fi + + +@@ -9950,42 +9949,42 @@ if test x$enable_threadsafe = xyes; then for ntsdev in $NTS_DEVS ; do NTS_EXCLUDES="$(echo \"$P_DEVS0{@:0}\" | grep -o $ntsdev) $NTS_EXCLUDES" @@ -60,7 +77,7 @@ done NTS_EXCLUDES=`echo "$NTS_EXCLUDES" | tr " " "\n" | sort | uniq | tr "\n" " "` -@@ -10145,7 +10145,12 @@ if test "${enable_dynamic+set}" = set; then : +@@ -10145,7 +10144,12 @@ if test "${enable_dynamic+set}" = set; then : DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS" ;; *BSD) -- cgit v1.2.3