diff options
author | adam <adam@pkgsrc.org> | 2003-06-24 08:04:24 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2003-06-24 08:04:24 +0000 |
commit | dff6ae19b0854a2da85a51727aac064fcf1e26b0 (patch) | |
tree | 0fa95a1ec9c0fee14408aba8fd76037943bb5364 /graphics/gdchart/patches | |
parent | b80ea004586529d76db56930f7a2fe51d669008b (diff) | |
download | pkgsrc-dff6ae19b0854a2da85a51727aac064fcf1e26b0.tar.gz |
Shared library now compiles correctly - no constants defined extern
Diffstat (limited to 'graphics/gdchart/patches')
-rw-r--r-- | graphics/gdchart/patches/patch-aa | 13 | ||||
-rw-r--r-- | graphics/gdchart/patches/patch-ac | 8 |
2 files changed, 17 insertions, 4 deletions
diff --git a/graphics/gdchart/patches/patch-aa b/graphics/gdchart/patches/patch-aa new file mode 100644 index 00000000000..ffd8f5edf59 --- /dev/null +++ b/graphics/gdchart/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2003/06/24 08:04:24 adam Exp $ + +--- gdc.h.orig 2003-06-23 20:44:44.000000000 +0200 ++++ gdc.h 2003-06-23 20:44:53.000000000 +0200 +@@ -127,7 +127,7 @@ + #endif + + #ifdef GDC_LIB +-#define EXTERND extern ++#define EXTERND + #define DEFAULTO(val) + extern struct GDC_FONT_T GDC_fontc[]; + #else diff --git a/graphics/gdchart/patches/patch-ac b/graphics/gdchart/patches/patch-ac index 9bc69c13093..8161ff54413 100644 --- a/graphics/gdchart/patches/patch-ac +++ b/graphics/gdchart/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.5 2003/06/23 15:56:12 wiz Exp $ +$NetBSD: patch-ac,v 1.6 2003/06/24 08:04:24 adam Exp $ --- makefile.orig Tue Mar 11 04:03:06 2003 +++ makefile @@ -30,8 +30,8 @@ $NetBSD: patch-ac,v 1.5 2003/06/23 15:56:12 wiz Exp $ -GD_INCL=../gd-1.8.4/ -GD_LD=../gd-1.8.4/ -GD_LIB=libgd.a -+GD_INCL=${BUILDLINK_PREFIX.gd}/include -+GD_LD=${BUILDLINK_PREFIX.gd}/lib ++GD_INCL=${BUILDLINK_PREFIX.gd}/include/ ++GD_LD=${BUILDLINK_PREFIX.gd}/lib/ +GD_LIB=libgd.so # if you're using gd2.x, use these lines # (it's typically built as a shared lib) @@ -127,7 +127,7 @@ $NetBSD: patch-ac,v 1.5 2003/06/23 15:56:12 wiz Exp $ - ar cr libgdc.a gdc.o gdchart.o gdc_pie.o price_conv.o gifencode.o array_alloc.o - ranlib libgdc.a +libgdchart.a: $(LIB_OBJS) -+ $(LIBTOOL) --mode=link $(CC) -o libgdchart.la $(LIB_OBJS:.o=.lo) $(LDFLAGS) -lgd -version-info 0:11 -rpath $(PREFIX) ++ $(LIBTOOL) --mode=link $(CC) -o libgdchart.la $(LIB_OBJS:.o=.lo) -L${GD_LD} -lgd -version-info 0:11 -rpath $(PREFIX)/lib # --- supporting libraries --- # should be compile & installed separately |