summaryrefslogtreecommitdiff
path: root/graphics/libwmf/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libwmf/files/patch-ab')
-rw-r--r--graphics/libwmf/files/patch-ab19
1 files changed, 10 insertions, 9 deletions
diff --git a/graphics/libwmf/files/patch-ab b/graphics/libwmf/files/patch-ab
index 99df2f9596ba..375fea421eec 100644
--- a/graphics/libwmf/files/patch-ab
+++ b/graphics/libwmf/files/patch-ab
@@ -1,19 +1,19 @@
---- xgd-1.7.3/Makefile.in.orig Fri Dec 17 00:31:47 1999
-+++ xgd-1.7.3/Makefile.in Tue May 30 19:20:35 2000
+--- xgd-1.7.3/Makefile.in.orig Wed Oct 11 04:16:16 2000
++++ xgd-1.7.3/Makefile.in Sat Nov 4 20:01:31 2000
@@ -29,14 +29,14 @@
#If you don't have FreeType and/or Xpm installed, including the
#header files, uncomment this (default).
--CFLAGS=@CFLAGS@ @DEFS@ -I../ @ZLIB_CFLAGS@ @TTF_CFLAGS@ @XPM_CFLAGS@
-+CFLAGS=@CFLAGS@ @DEFS@ -I../ @ZLIB_CFLAGS@ @TTF_CFLAGS@ @XPM_CFLAGS@ @CPPFLAGS@
+-CFLAGS=@CFLAGS@ @DEFS@ -I../ @PNG_CFLAGS@ @ZLIB_CFLAGS@ @TTF_CFLAGS@ @XPM_CFLAGS@
++CFLAGS=@CFLAGS@ @DEFS@ -I../ @PNG_CFLAGS@ @ZLIB_CFLAGS@ @TTF_CFLAGS@ @XPM_CFLAGS@ @CPPFLAGS@
#If you do have FreeType and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. See also LIBS below.
#CFLAGS=-O -DHAVE_XPM -DHAVE_LIBTTF
#If you don't have FreeType and/or Xpm fully installed, uncomment this
#(default).
--LIBS= -lxgd @LIB_PNG@ @ZLIB_LIBS@ @TTF_LIBS@ @XPM_LIBS@ @X_LIBS@ @X11@ @X_EXTRA_LIBS@ -lm
-+LIBS= -lxgd @LIB_PNG@ @ZLIB_LIBS@ @TTF_LIBS@ @XPM_LIBS@ @X_LIBS@ @X11@ @X_EXTRA_LIBS@ @LIBS@ -lm
+-LIBS= -lxgd @PNG_LIBS@ @ZLIB_LIBS@ @TTF_LIBS@ @XPM_LIBS@ @X_LIBS@ @X11@ @X_EXTRA_LIBS@ -lm
++LIBS= -lxgd @PNG_LIBS@ @ZLIB_LIBS@ @TTF_LIBS@ @XPM_LIBS@ @X_LIBS@ @X11@ @X_EXTRA_LIBS@ @LIBS@ -lm
#If you do have FreeType and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. Note that
@@ -56,7 +56,7 @@
$(INSTALL_DATA) gd.h $(INSTALL_INCLUDE)/gd.h
$(INSTALL_DATA) gdcache.h $(INSTALL_INCLUDE)/gdcache.h
$(INSTALL_DATA) gd_io.h $(INSTALL_INCLUDE)/gd_io.h
-@@ -134,16 +134,19 @@
+@@ -134,16 +134,20 @@
gdtestttf: gdtestttf.o libxgd.a
$(CC) gdtestttf.o -o gdtestttf $(LIBDIRS) $(LIBS)
@@ -75,11 +75,12 @@
- gdfontt.o gdfonts.o gdfontmb.o gdfontl.o gdfontg.o \
- gdtables.o gdttf.o gdcache.o gdkanji.o
+ $(AR) rc libxgd.a $(OBJS)
- -ranlib libxgd.a
+ -@RANLIB@ libxgd.a
+
+libxgd.so.1: $(INCS) $(OBJS:.o=.so)
+ $(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS:.o=.so) $(LIBDIRS) $(LIBS)
+ ln -sf libxgd.so.1 libxgd.so
++
clean:
- rm -f *.o *.a ${PROGRAMS}
+ rm -f *.o *.a ${PROGRAMS} core