summaryrefslogtreecommitdiff
path: root/print/ghostscript9/files/patch-base-unix-gcc.mak
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9/files/patch-base-unix-gcc.mak')
-rw-r--r--print/ghostscript9/files/patch-base-unix-gcc.mak33
1 files changed, 18 insertions, 15 deletions
diff --git a/print/ghostscript9/files/patch-base-unix-gcc.mak b/print/ghostscript9/files/patch-base-unix-gcc.mak
index 8a1a86d50b31..8aea189c6f90 100644
--- a/print/ghostscript9/files/patch-base-unix-gcc.mak
+++ b/print/ghostscript9/files/patch-base-unix-gcc.mak
@@ -1,6 +1,6 @@
---- base/unix-gcc.mak.orig 2011-08-05 20:12:20.000000000 +0900
-+++ base/unix-gcc.mak 2011-12-06 15:26:48.000000000 +0900
-@@ -21,16 +21,17 @@
+--- base/unix-gcc.mak.orig 2012-08-08 17:01:36.000000000 +0900
++++ base/unix-gcc.mak 2012-10-14 02:32:51.000000000 +0900
+@@ -22,16 +22,17 @@
# source, generated intermediate file, and object directories
# for the graphics library (GL) and the PostScript/PDF interpreter (PS).
@@ -27,7 +27,7 @@
# Do not edit the next group of lines.
-@@ -49,11 +50,10 @@
+@@ -50,11 +51,10 @@
# the directories also define the default search path for the
# initialization files (gs_*.ps) and the fonts.
@@ -42,7 +42,7 @@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
-@@ -103,7 +103,7 @@
+@@ -104,7 +104,7 @@
# This uses the more secure temporary file creation call
# Enable this if it is available on your platform.
@@ -51,7 +51,7 @@
# Define the name of the executable file.
-@@ -137,7 +137,7 @@
+@@ -139,7 +139,7 @@
# some older JPEG streams that violate the standard. If the JPEG
# library built from local sources, the patch will be applied.
@@ -60,7 +60,7 @@
JPEG_NAME=jpeg
# Define the directory where the PNG library sources are stored,
-@@ -151,13 +151,13 @@
+@@ -153,13 +153,13 @@
# what its name is.
# See gs.mak and Make.htm for more information.
@@ -76,7 +76,7 @@
TIFFSRCDIR=tiff
TIFFPLATFORM=unix
TIFFCONFIG_SUFFIX=.unix
-@@ -172,15 +172,23 @@
+@@ -174,15 +174,23 @@
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and Make.htm for more information.
@@ -102,7 +102,7 @@
# Define the directory where the icclib source are stored.
# See icclib.mak for more information
ICCSRCDIR=icclib
-@@ -226,7 +234,7 @@
+@@ -223,7 +231,7 @@
# Define the name of the C compiler.
@@ -111,7 +111,7 @@
# Define the name of the linker for the final link step.
# Normally this is the same as the C compiler.
-@@ -243,7 +251,7 @@
+@@ -240,7 +248,7 @@
# Define the added flags for standard, debugging, profiling
# and shared object builds.
@@ -120,7 +120,7 @@
CFLAGS_DEBUG=-g -O0
CFLAGS_PROFILE=-pg -O2
CFLAGS_SO=-fPIC
-@@ -259,7 +267,8 @@
+@@ -256,7 +264,8 @@
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
@@ -130,7 +130,7 @@
CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
-@@ -270,7 +279,7 @@
+@@ -267,7 +276,7 @@
# -R /usr/local/xxx/lib:/usr/local/lib
# giving the full path names of the shared library directories.
# XLDFLAGS can be set from the command line.
@@ -139,7 +139,7 @@
LDFLAGS=$(XLDFLAGS)
-@@ -281,7 +290,7 @@
+@@ -278,7 +287,7 @@
# Solaris may need -lnsl -lsocket -lposix4.
# (Libraries required by individual drivers are handled automatically.)
@@ -148,7 +148,7 @@
# Define the standard libraries to search at the end of linking.
# Most platforms require -lpthread for the POSIX threads library;
-@@ -303,7 +312,7 @@
+@@ -300,7 +309,7 @@
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
@@ -157,7 +157,7 @@
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
-@@ -318,26 +327,26 @@
+@@ -315,29 +324,29 @@
#XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
@@ -175,6 +175,9 @@
-#SYNC=posync
+SYNC=posync
+ # define the file name extension for a shared lib
+ DYNANIC_LIB_EXT=so
+
# Default is No sync primitives since some platforms don't have it (HP-UX)
-SYNC=nosync
+#SYNC=nosync