summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-10-31 00:50:43 +0000
committerNick Hadaway <raker@gentoo.org>2002-10-31 00:50:43 +0000
commitbe46184bcedcfb105f7ab1c02b7c7abb3e1eab30 (patch)
tree2e999746665ad5c706e30bccd12ae1946636e26e /app-text/ghostscript/files
parentcorrected changelog info (diff)
downloadhistorical-be46184bcedcfb105f7ab1c02b7c7abb3e1eab30.tar.gz
historical-be46184bcedcfb105f7ab1c02b7c7abb3e1eab30.tar.bz2
historical-be46184bcedcfb105f7ab1c02b7c7abb3e1eab30.zip
Added a patch so png support is detected properly by configure and also
added a sed script to get rid of the unneeded -I/usr/include. This fix is in result to bugs #6760 and #9651.
Diffstat (limited to 'app-text/ghostscript/files')
-rw-r--r--app-text/ghostscript/files/png.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-text/ghostscript/files/png.diff b/app-text/ghostscript/files/png.diff
new file mode 100644
index 000000000000..c9a68a3547de
--- /dev/null
+++ b/app-text/ghostscript/files/png.diff
@@ -0,0 +1,12 @@
+diff -urN espgs-7.05.5/configure espgs-7.05.5-modified/configure
+--- espgs-7.05.5/configure 2002-10-30 18:31:33.000000000 -0600
++++ espgs-7.05.5-modified/configure 2002-10-30 18:36:16.000000000 -0600
+@@ -4267,7 +4267,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpng $LIBS"
++LIBS="-lpng -lz $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"