diff options
author | drochner <drochner@pkgsrc.org> | 2011-04-01 15:06:37 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-04-01 15:06:37 +0000 |
commit | 5a064ae2b3b820d33170d34c970e5477c612b6ce (patch) | |
tree | dd846f962dd96aa38c7e3de84347013bc53ecf48 /net/driftnet | |
parent | 8e487d0020d920322d8fb44b2caf195c9ab854f4 (diff) | |
download | pkgsrc-5a064ae2b3b820d33170d34c970e5477c612b6ce.tar.gz |
fix build after libungif->giflib transition, problem noticed by joerg
Diffstat (limited to 'net/driftnet')
-rw-r--r-- | net/driftnet/distinfo | 4 | ||||
-rw-r--r-- | net/driftnet/patches/patch-aa | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/net/driftnet/distinfo b/net/driftnet/distinfo index 338dc7fa897..f025e78ffbc 100644 --- a/net/driftnet/distinfo +++ b/net/driftnet/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2006/03/22 15:17:01 joerg Exp $ +$NetBSD: distinfo,v 1.6 2011/04/01 15:06:37 drochner Exp $ SHA1 (driftnet-0.1.6.tar.gz) = 279cb3a596f354e7e9c6ac3cc456b3d11dced2ff RMD160 (driftnet-0.1.6.tar.gz) = 01057f3cb992faa537a8b188e116c6f21016cfac Size (driftnet-0.1.6.tar.gz) = 36989 bytes -SHA1 (patch-aa) = 42a48fb35b005b961483c40cbd8991ba0ed0dbe7 +SHA1 (patch-aa) = 4e995c7c7c811429bc4f4f6481104a899df707d4 SHA1 (patch-ab) = 5b6bc10901295c58d5607deab9bd25effbbbf950 diff --git a/net/driftnet/patches/patch-aa b/net/driftnet/patches/patch-aa index 33d86439379..972e93d3d49 100644 --- a/net/driftnet/patches/patch-aa +++ b/net/driftnet/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.3 2006/03/22 15:17:01 joerg Exp $ +$NetBSD: patch-aa,v 1.4 2011/04/01 15:06:37 drochner Exp $ --- Makefile.orig 2002-07-09 19:26:41.000000000 +0000 +++ Makefile -@@ -27,7 +27,7 @@ CFLAGS += -I/usr/include/pcap +@@ -27,12 +27,12 @@ CFLAGS += -I/usr/include/pcap CFLAGS += -D_BSD_SOURCE # We always need the pcap and pthread libraries. @@ -11,6 +11,12 @@ $NetBSD: patch-aa,v 1.3 2006/03/22 15:17:01 joerg Exp $ # Optional C compiler and linker flags. Typical driftnet builds have support # for displaying captured images in an X window, and need the following flags: + CFLAGS += `gtk-config --cflags` +-LDLIBS += -ljpeg -lungif `gtk-config --libs` ++LDLIBS += -ljpeg -lgif `gtk-config --libs` + + # Alternatively, you can build a version of driftnet which can only be used + # in `adjunct' mode as the back end for some other image-processing program. To @@ -53,6 +53,7 @@ LDLIBS += -ljpeg -lungif `gtk-config -- # On BSD systems, may need to use /usr/local/include #CFLAGS += -I/usr/local/include |