FreeBSD Bugzilla – Attachment 94939 Details for
Bug 133193
[maintainer update] net/trafshow: FreeBSD 8-CURRENT compatibility fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-800074
patch-800074 (text/plain), 1.76 KB, created by
Alexey Degtyarev
on 2009-03-30 00:10:01 UTC
(
hide
)
Description:
patch-800074
Filename:
MIME Type:
Creator:
Alexey Degtyarev
Created:
2009-03-30 00:10:01 UTC
Size:
1.76 KB
patch
obsolete
>diff -u -Nr trafshow/Makefile trafshow.new/Makefile >--- trafshow/Makefile 2009-02-18 17:29:17.000000000 +0300 >+++ trafshow.new/Makefile 2009-03-30 00:23:19.000000000 +0400 >@@ -7,6 +7,7 @@ > > PORTNAME= trafshow > PORTVERSION= 5.2.3 >+PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= net > MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/ >@@ -21,10 +22,15 @@ > > MAN1= trafshow.1 > >+.include <bsd.port.pre.mk> >+ > post-patch: > @${REINPLACE_CMD} -e 's|-D_THREAD_SAFE||' ${WRKSRC}/configure > @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \ > ${WRKSRC}/colormask.c ${WRKSRC}/trafshow.1 ${WRKSRC}/trafshow.c >+.if ${OSVERSION} >= 800074 >+ @${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-800074+ >+.endif > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin >@@ -34,4 +40,4 @@ > ${CP} -p ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow; \ > fi > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -u -Nr trafshow/files/extra-patch-800074+ trafshow.new/files/extra-patch-800074+ >--- trafshow/files/extra-patch-800074+ 1970-01-01 03:00:00.000000000 +0300 >+++ trafshow.new/files/extra-patch-800074+ 2009-03-29 23:47:56.000000000 +0400 >@@ -0,0 +1,23 @@ >+# >+# http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053823.html >+# >+--- show_dump.c.orig 2009-03-29 23:18:16.000000000 +0400 >++++ show_dump.c 2009-03-29 23:18:24.000000000 +0400 >+@@ -30,6 +30,7 @@ >+ #include <string.h> >+ #include <unistd.h> >+ #include <errno.h> >++#include <net/bpf.h> >+ #include <pcap.h> >+ #include <pthread.h> >+ #include <time.h> >+--- trafshow.c.orig 2009-03-29 23:18:49.000000000 +0400 >++++ trafshow.c 2009-03-29 23:18:58.000000000 +0400 >+@@ -30,6 +30,7 @@ >+ #include <string.h> >+ #include <unistd.h> >+ #include <time.h> >++#include <net/bpf.h> >+ #include <pcap.h> >+ #include <pthread.h> >+ #include <errno.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 133193
: 94939