aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-07 22:02:20 +0800
committermiwi <miwi@FreeBSD.org>2008-03-07 22:02:20 +0800
commitffd1b330a84574fbb13f3ef489a806b9425cf57e (patch)
treeec6eb0b7a9843c374f78d8c115ee4bbad86a3f10 /print
parentf49e5158ca9469563223e8728c3178a3fa9f0157 (diff)
downloadfreebsd-ports-gnome-ffd1b330a84574fbb13f3ef489a806b9425cf57e.tar.gz
freebsd-ports-gnome-ffd1b330a84574fbb13f3ef489a806b9425cf57e.tar.zst
freebsd-ports-gnome-ffd1b330a84574fbb13f3ef489a806b9425cf57e.zip
- Fix build on AMD64 when WITH_FT_BRIDGE=yes is enabled
PR: 121462 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-gpl/files/patch-builds-freetype.mk11
-rw-r--r--print/ghostscript8/files/patch-builds-freetype.mk11
2 files changed, 22 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-builds-freetype.mk b/print/ghostscript-gpl/files/patch-builds-freetype.mk
new file mode 100644
index 000000000000..e7f0f10173a0
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-builds-freetype.mk
@@ -0,0 +1,11 @@
+--- builds/freetype.mk.orig 2008-03-07 19:25:58.000000000 +0900
++++ builds/freetype.mk 2008-03-07 19:15:21.000000000 +0900
+@@ -152,7 +152,7 @@
+ $(CFLAGS) \
+ $DFT2_BUILD_LIBRARY \
+ $DFT_CONFIG_MODULES_H="<ftmodule.h>" \
+- $(FTOPTION_FLAG)
++ $(FTOPTION_FLAG) -fPIC
+ FT_CC = $(CC) $(FT_CFLAGS)
+ FT_COMPILE = $(CC) $(ANSIFLAGS) $(FT_CFLAGS)
+
diff --git a/print/ghostscript8/files/patch-builds-freetype.mk b/print/ghostscript8/files/patch-builds-freetype.mk
new file mode 100644
index 000000000000..e7f0f10173a0
--- /dev/null
+++ b/print/ghostscript8/files/patch-builds-freetype.mk
@@ -0,0 +1,11 @@
+--- builds/freetype.mk.orig 2008-03-07 19:25:58.000000000 +0900
++++ builds/freetype.mk 2008-03-07 19:15:21.000000000 +0900
+@@ -152,7 +152,7 @@
+ $(CFLAGS) \
+ $DFT2_BUILD_LIBRARY \
+ $DFT_CONFIG_MODULES_H="<ftmodule.h>" \
+- $(FTOPTION_FLAG)
++ $(FTOPTION_FLAG) -fPIC
+ FT_CC = $(CC) $(FT_CFLAGS)
+ FT_COMPILE = $(CC) $(ANSIFLAGS) $(FT_CFLAGS)
+