diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-09-25 16:56:25 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-09-25 16:56:45 +0200 |
commit | 60574622dfb711016fdabba9deec135d77157485 (patch) | |
tree | 187cb15e9296c0389fc443e2e5c1e562e22ae8c3 /net-analyzer/driftnet | |
parent | net-misc/ipcalc: Version 0.42_p2 (diff) | |
download | gentoo-60574622dfb711016fdabba9deec135d77157485.tar.gz gentoo-60574622dfb711016fdabba9deec135d77157485.tar.bz2 gentoo-60574622dfb711016fdabba9deec135d77157485.zip |
net-analyzer/driftnet: Fix building with USE=-gtk
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Closes: https://bugs.gentoo.org/744670
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/driftnet')
-rw-r--r-- | net-analyzer/driftnet/driftnet-1.3.0.ebuild | 1 | ||||
-rw-r--r-- | net-analyzer/driftnet/files/driftnet-1.3.0-gtk.patch | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/net-analyzer/driftnet/driftnet-1.3.0.ebuild b/net-analyzer/driftnet/driftnet-1.3.0.ebuild index 7db19300b14b..a53b4a5dedf6 100644 --- a/net-analyzer/driftnet/driftnet-1.3.0.ebuild +++ b/net-analyzer/driftnet/driftnet-1.3.0.ebuild @@ -35,6 +35,7 @@ DOCS=" " PATCHES=( "${FILESDIR}"/${PN}-1.3.0-CFLAGS.patch + "${FILESDIR}"/${PN}-1.3.0-gtk.patch ) src_prepare() { diff --git a/net-analyzer/driftnet/files/driftnet-1.3.0-gtk.patch b/net-analyzer/driftnet/files/driftnet-1.3.0-gtk.patch new file mode 100644 index 000000000000..2a8a294e8dbe --- /dev/null +++ b/net-analyzer/driftnet/files/driftnet-1.3.0-gtk.patch @@ -0,0 +1,13 @@ +--- a/src/options.h ++++ b/src/options.h +@@ -32,10 +32,8 @@ + char *audio_mpeg_player; + int mpeg_player_specified; + int newpfx; +-#ifndef NO_DISPLAY_WINDOW + char *savedimgpfx; + int enable_gtk_display; +-#endif + char *drop_username; + int list_interfaces; + int monitor_mode; |