diff options
author | wiz <wiz> | 2000-12-16 00:18:05 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-12-16 00:18:05 +0000 |
commit | 641416d7582a293f11d9856c40ccf35f9cefe7b3 (patch) | |
tree | 08adf977ce24867cd8922c6bc904d6dfdda38b8c | |
parent | 733e5e653d0ec031232bc7c8cb62572620502466 (diff) | |
download | pkgsrc-641416d7582a293f11d9856c40ccf35f9cefe7b3.tar.gz |
Fix compilation. Patch supplied by Hubert Feyrer.
(Actually, work around a problem with libgd as it is now.)
-rw-r--r-- | graphics/png2html/files/patch-sum | 4 | ||||
-rw-r--r-- | graphics/png2html/patches/patch-aa | 17 |
2 files changed, 12 insertions, 9 deletions
diff --git a/graphics/png2html/files/patch-sum b/graphics/png2html/files/patch-sum index bb17a2860af..2429bd329cd 100644 --- a/graphics/png2html/files/patch-sum +++ b/graphics/png2html/files/patch-sum @@ -1,3 +1,3 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/10/23 17:06:37 hubertf Exp $ +$NetBSD: patch-sum,v 1.2 2000/12/16 00:18:05 wiz Exp $ -MD5 (patch-aa) = 0913dc7fc5d433a0ae9fc94b9eefcb5c +MD5 (patch-aa) = 1bd472061133b84abafac5d61710f110 diff --git a/graphics/png2html/patches/patch-aa b/graphics/png2html/patches/patch-aa index 9e9fd0baab9..20df9362369 100644 --- a/graphics/png2html/patches/patch-aa +++ b/graphics/png2html/patches/patch-aa @@ -1,13 +1,16 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/10/23 17:06:37 hubertf Exp $ +$NetBSD: patch-aa,v 1.2 2000/12/16 00:18:06 wiz Exp $ --- Makefile.orig Sat Nov 13 23:42:36 1999 -+++ Makefile Mon Oct 23 18:50:04 2000 -@@ -1,7 +1,7 @@ ++++ Makefile +@@ -1,7 +1,10 @@ # Makefile for png2html, (c) 1999 Geoff Holden - + CC = gcc -CFLAGS = -O2 -Wall -lpng -lgd -+CFLAGS = -O2 -Wall -I${LOCALBASE}/include -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lpng -lgd -ljpeg -lz - ++CFLAGS = -O2 -Wall -I${LOCALBASE}/include \ ++ -L${X11BASE}/lib -Wl,-R${X11BASE}/lib \ ++ -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib \ ++ -lpng -lgd -ljpeg -lz -lttf -lXpm -lX11 + all: png2html - + |