pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/driftnet Fix pthread usage.
details: https://anonhg.NetBSD.org/pkgsrc/rev/78e204380b33
branches: trunk
changeset: 510008:78e204380b33
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Mar 22 15:17:01 2006 +0000
description:
Fix pthread usage.
diffstat:
net/driftnet/Makefile | 3 ++-
net/driftnet/distinfo | 4 ++--
net/driftnet/patches/patch-aa | 19 ++++++++++++++-----
3 files changed, 18 insertions(+), 8 deletions(-)
diffs (63 lines):
diff -r 1dd8804d58ea -r 78e204380b33 net/driftnet/Makefile
--- a/net/driftnet/Makefile Wed Mar 22 15:12:07 2006 +0000
+++ b/net/driftnet/Makefile Wed Mar 22 15:17:01 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/03/04 21:30:18 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2006/03/22 15:17:01 joerg Exp $
#
DISTNAME= driftnet-0.1.6
@@ -25,5 +25,6 @@
.include "../../graphics/libungif/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 1dd8804d58ea -r 78e204380b33 net/driftnet/distinfo
--- a/net/driftnet/distinfo Wed Mar 22 15:12:07 2006 +0000
+++ b/net/driftnet/distinfo Wed Mar 22 15:17:01 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:13:45 agc Exp $
+$NetBSD: distinfo,v 1.5 2006/03/22 15:17:01 joerg 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) = 6ced6f1653b5bed9ba8e8826058e118f10f6b67e
+SHA1 (patch-aa) = 42a48fb35b005b961483c40cbd8991ba0ed0dbe7
SHA1 (patch-ab) = 5b6bc10901295c58d5607deab9bd25effbbbf950
diff -r 1dd8804d58ea -r 78e204380b33 net/driftnet/patches/patch-aa
--- a/net/driftnet/patches/patch-aa Wed Mar 22 15:12:07 2006 +0000
+++ b/net/driftnet/patches/patch-aa Wed Mar 22 15:17:01 2006 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-aa,v 1.2 2003/05/04 22:21:05 salo Exp $
+$NetBSD: patch-aa,v 1.3 2006/03/22 15:17:01 joerg Exp $
---- Makefile.orig 2002-07-09 21:26:41.000000000 +0200
-+++ Makefile 2003-05-04 23:52:15.000000000 +0200
-@@ -53,6 +53,7 @@
+--- Makefile.orig 2002-07-09 19:26:41.000000000 +0000
++++ Makefile
+@@ -27,7 +27,7 @@ CFLAGS += -I/usr/include/pcap
+ CFLAGS += -D_BSD_SOURCE
+
+ # We always need the pcap and pthread libraries.
+-LDLIBS += -lpcap -lpthread
++LDLIBS += -lpcap ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+ # Optional C compiler and linker flags. Typical driftnet builds have support
+ # for displaying captured images in an X window, and need the following flags:
+@@ -53,6 +53,7 @@ LDLIBS += -ljpeg -lungif `gtk-config --
# On BSD systems, may need to use /usr/local/include
#CFLAGS += -I/usr/local/include
@@ -10,7 +19,7 @@
#
# No user-serviceable parts below this point.
-@@ -87,7 +88,7 @@
+@@ -87,7 +88,7 @@ endian: endian.c
$(CC) $(CFLAGS) -o endian endian.c
%.o: %.c Makefile endianness
Home |
Main Index |
Thread Index |
Old Index