diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-02-05 11:30:17 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-02-05 11:30:17 +0800 |
commit | 560948c1d12eda54c77c41816de8c249199844ab (patch) | |
tree | 7da7683e626ae49d34c7a89baf37c219e8ed1f6c /net-mgmt | |
parent | 2d2c043e698348fbe7f4fe10497e235b1da553ef (diff) | |
download | freebsd-ports-gnome-560948c1d12eda54c77c41816de8c249199844ab.tar.gz freebsd-ports-gnome-560948c1d12eda54c77c41816de8c249199844ab.tar.zst freebsd-ports-gnome-560948c1d12eda54c77c41816de8c249199844ab.zip |
net-mgmt/driftnet: use clang and unbreak with gcc5 or later
driftnet.o: In function `capture_thread':
src/driftnet.c:89: undefined reference to `packetcapture_dispatch'
options.o: In function `validate_options':
src/options.c:178: undefined reference to `get_default_interface'
media/libmedia.a(media.o): In function `dispatch_image':
src/media/media.c:47: undefined reference to `get_tmpdir'
display/libdisplay.a(display.o): In function `pipe_event':
src/display/display.c:356: undefined reference to `get_tmpdir'
src/display/display.c:346: undefined reference to `get_tmpdir'
collect2: error: ld returned 1 exit status
PR: 216707
Reported by: antoine (via exp-run)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/driftnet/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/driftnet/files/patch-Makefile.am (renamed from net-mgmt/driftnet/files/patch-Makefile.in) | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/net-mgmt/driftnet/Makefile b/net-mgmt/driftnet/Makefile index 90ecdca9aa32..55090a6fe256 100644 --- a/net-mgmt/driftnet/Makefile +++ b/net-mgmt/driftnet/Makefile @@ -3,6 +3,7 @@ PORTNAME= driftnet PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://ftp.openbsd.org/pub/OpenBSD/distfiles/ \ LOCAL/ehaupt @@ -19,7 +20,8 @@ LIB_DEPENDS= libgif.so:graphics/giflib \ BUILD_DEPENDS= makedepend:devel/makedepend GNU_CONFIGURE= yes -USES= compiler:gcc-c++11-lib gettext-runtime gmake jpeg localbase:ldflags pkgconfig +USES= autoreconf gettext-runtime gmake jpeg localbase:ldflags pkgconfig +USE_CSTD= gnu89 USE_GNOME= gtk20 USE_XORG= x11 xext xi diff --git a/net-mgmt/driftnet/files/patch-Makefile.in b/net-mgmt/driftnet/files/patch-Makefile.am index feb74aed11a1..151b33da8c79 100644 --- a/net-mgmt/driftnet/files/patch-Makefile.in +++ b/net-mgmt/driftnet/files/patch-Makefile.am @@ -1,15 +1,14 @@ ---- Makefile.in.orig 2013-05-12 16:33:18 UTC -+++ Makefile.in -@@ -258,7 +258,7 @@ top_srcdir = @top_srcdir@ - SUBDIRS = src +--- Makefile.am.orig 2013-05-12 15:16:43 UTC ++++ Makefile.am +@@ -4,13 +4,13 @@ SUBDIRS = src dist_doc_DATA = README TODO EXTRA_DIST = driftnet.1.in CHANGES CREDITS + -MANPAGE = driftnet.1.gz +MANPAGE = driftnet.1 MAN1DIR = $(DESTDIR)$(mandir)/man1/ - all: all-recursive -@@ -773,7 +773,7 @@ clean-local: + clean-local: rm -f $(MANPAGE) install-data-local: driftnet.1.in @@ -17,4 +16,3 @@ + cat $(srcdir)/driftnet.1.in | sed s/@*VERSION@*/$(VERSION)/ > $(MANPAGE) $(MKDIR_P) $(MAN1DIR) $(INSTALL_DATA) $(MANPAGE) $(MAN1DIR) || exit $$? - |