FreeBSD Bugzilla – Attachment 247161 Details for
Bug 275841
security/dsniff: Fix build on 14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
build fix
0001-Fix-build-on-14-Rename-symbol-pcap_init-to-avoid-con.patch (text/plain), 1.10 KB, created by
Lars Herschke
on 2023-12-19 18:13:45 UTC
(
hide
)
Description:
build fix
Filename:
MIME Type:
Creator:
Lars Herschke
Created:
2023-12-19 18:13:45 UTC
Size:
1.10 KB
patch
obsolete
>From dbcaab0430ac2189d8627ed7140c6657dd570c52 Mon Sep 17 00:00:00 2001 >From: Lars Herschke <lhersch@dssgmbh.de> >Date: Tue, 19 Dec 2023 19:12:22 +0100 >Subject: [PATCH] Fix build on 14: Rename symbol pcap_init to avoid conflict > with pcap/pcap.h > >--- > security/dsniff/Makefile | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile >index bcce18650..236818cab 100644 >--- a/security/dsniff/Makefile >+++ b/security/dsniff/Makefile >@@ -12,8 +12,6 @@ WWW= https://www.monkey.org/~dugsong/dsniff/ > LICENSE= BSD3CLAUSE > LICENSE_FILE= ${WRKSRC}/LICENSE > >-BROKEN_FreeBSD_14= fails to compile : conflicting types for 'pcap_init' >- > BUILD_DEPENDS= ${LOCALBASE}/lib/libnids.a:net/libnids > LIB_DEPENDS= libnet.so:net/libnet > >@@ -56,5 +54,11 @@ post-patch: > @${REINPLACE_CMD} -e 's,csin,_csin,g' \ > ${WRKSRC}/webmitm.c \ > ${WRKSRC}/sshmitm.c >+ @${REINPLACE_CMD} -e 's,pcap_init,_pcap_init,g' \ >+ ${WRKSRC}/dnsspoof.c \ >+ ${WRKSRC}/pcaputil.c \ >+ ${WRKSRC}/pcaputil.h \ >+ ${WRKSRC}/tcpkill.c \ >+ ${WRKSRC}/tcpnice.c > > .include <bsd.port.post.mk> >-- >2.41.0 >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275841
:
247161
|
249632