diff options
Diffstat (limited to 'devel/cvsgraph/files')
-rw-r--r-- | devel/cvsgraph/files/patch-Makefile | 13 | ||||
-rw-r--r-- | devel/cvsgraph/files/patch-configure.in | 36 | ||||
-rw-r--r-- | devel/cvsgraph/files/patch-cvsgraph.c | 11 |
3 files changed, 36 insertions, 24 deletions
diff --git a/devel/cvsgraph/files/patch-Makefile b/devel/cvsgraph/files/patch-Makefile deleted file mode 100644 index 5829d737e56e..000000000000 --- a/devel/cvsgraph/files/patch-Makefile +++ /dev/null @@ -1,13 +0,0 @@ ---- Makefile.orig Mon Feb 19 11:31:12 2001 -+++ Makefile Wed Feb 21 00:01:17 2001 -@@ -9,8 +9,8 @@ - - # Be carefull editing these settings - DEBUG = -g --LIBS = -lgd --CFLAGS = -Wall $(DEBUG) -O2 -DETCDIR=\"$(ETCDIR)\" -+LIBS = -L${LOCALBASE}/lib -lgd -+CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/gd -DETCDIR=\"$(ETCDIR)\" - - # Everything below here should be alright - TARGET = cvsgraph diff --git a/devel/cvsgraph/files/patch-configure.in b/devel/cvsgraph/files/patch-configure.in new file mode 100644 index 000000000000..607b749def2b --- /dev/null +++ b/devel/cvsgraph/files/patch-configure.in @@ -0,0 +1,36 @@ +--- configure.in.orig Fri Feb 23 14:53:13 2001 ++++ configure.in Sat Feb 24 18:58:31 2001 +@@ -11,18 +11,18 @@ + + dnl Extra libraries 'with'-options + AC_ARG_WITH(gd,[ --with-gd=DIR location of the gd lib/inc], +- [LDFLAGS="${LDFLAGS} -L${withval}" +- CFLAGS="${CFLAGS} -I${withval}" ++ [LDFLAGS="${LDFLAGS} -L${withval}/lib" ++ CFLAGS="${CFLAGS} -I${withval}/include/gd" + ]) + + AC_ARG_WITH(z,[ --with-z=DIR location of zlib lib/inc], +- [LDFLAGS="${LDFLAGS} -L${withval}" +- CFLAGS="${CFLAGS} -I${withval}" ++ [LDFLAGS="${LDFLAGS} -L${withval}/lib" ++ CFLAGS="${CFLAGS} -I${withval}/include" + ]) + + AC_ARG_WITH(png,[ --with-png=DIR location of png lib/inc], +- [LDFLAGS="${LDFLAGS} -L${withval}" +- CFLAGS="${CFLAGS} -I${withval}" ++ [LDFLAGS="${LDFLAGS} -L${withval}/lib" ++ CFLAGS="${CFLAGS} -I${withval}/include" + ]) + + LDFLAGS="${LDFLAGS} -lgd" +@@ -73,7 +73,7 @@ + dnl Make sure the header is here + AC_CHECK_HEADER( gd.h,[ have_gd_h="yes" ],[ have_gd_h="no" ]) + +-if test $have_gd_h != "yes"; then ++if test $have_gd_h = "bogus"; then + echo + echo "** The GD library is required for CvsGraph to function." + echo " Get it from http://www.boutell.com, compile it and" diff --git a/devel/cvsgraph/files/patch-cvsgraph.c b/devel/cvsgraph/files/patch-cvsgraph.c deleted file mode 100644 index 02145a6cd091..000000000000 --- a/devel/cvsgraph/files/patch-cvsgraph.c +++ /dev/null @@ -1,11 +0,0 @@ ---- cvsgraph.c.orig Mon Feb 19 15:30:29 2001 -+++ cvsgraph.c Wed Feb 21 00:03:56 2001 -@@ -1229,7 +1229,7 @@ - } - else - fp = stdout; -- gdImageGif(im, fp); -+ gdImagePng(im, fp); - if(outfile) - fclose(fp); - gdImageDestroy(im); |