diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-07 12:19:41 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-07 12:20:00 +0200 |
commit | 8f2a9d1543a9652dda7ad4aad44dcbce3b731bfc (patch) | |
tree | bdc21f26091ede696926ab45091d59295fae8c74 /net-misc/ipsorcery/files | |
parent | dev-lang/swi-prolog: version bump (diff) | |
download | gentoo-8f2a9d1543a9652dda7ad4aad44dcbce3b731bfc.tar.gz gentoo-8f2a9d1543a9652dda7ad4aad44dcbce3b731bfc.tar.bz2 gentoo-8f2a9d1543a9652dda7ad4aad44dcbce3b731bfc.zip |
net-misc/ipsorcery: EAPI bump. Add USE=gtk.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'net-misc/ipsorcery/files')
-rw-r--r-- | net-misc/ipsorcery/files/ipsorcery-2.0.9-_BSD_SOURCE.patch | 13 | ||||
-rw-r--r-- | net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch | 21 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/ipsorcery/files/ipsorcery-2.0.9-_BSD_SOURCE.patch b/net-misc/ipsorcery/files/ipsorcery-2.0.9-_BSD_SOURCE.patch new file mode 100644 index 000000000000..ef0fca666f6c --- /dev/null +++ b/net-misc/ipsorcery/files/ipsorcery-2.0.9-_BSD_SOURCE.patch @@ -0,0 +1,13 @@ +--- a/wand.h ++++ b/wand.h +@@ -19,8 +19,8 @@ + #ifndef _WAND_H + #define _WAND_H + +-#ifndef _BSD_SOURCE +-#define _BSD_SOURCE ++#ifndef _DEFAULT_SOURCE ++#define _DEFAULT_SOURCE + #endif + + #ifndef __FAVOR_BSD diff --git a/net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch b/net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch new file mode 100644 index 000000000000..6a0932c84e2f --- /dev/null +++ b/net-misc/ipsorcery/files/ipsorcery-2.0.9-gentoo.patch @@ -0,0 +1,21 @@ +--- a/Makefile ++++ b/Makefile +@@ -12,15 +12,15 @@ + all: con gtk + + con: +- $(CC) -g -O2 -Wall -ansi -D_VERSION_=\"2.0.9\" -D_CON_ $(CON) -o ipmagic ++ $(CC) $(LDFLAGS) $(CFLAGS) -Wall -ansi -D_VERSION_=\"2.0.9\" -D_CON_ $(CON) -o ipmagic + + + gtk: +- $(CC) -g -O2 -Wall -ansi -D_GTK_ -DGTK_ENABLE_BROKEN $(SRC) -o $(SPELL) `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0` ++ $(CC) $(LDFLAGS) $(CFLAGS) $(shell $(PKG_CONFIG) --cflags gtk+-2.0) -Wall -ansi -D_GTK_ -DGTK_ENABLE_BROKEN $(SRC) -o $(SPELL) $(shell $(PKG_CONFIG) --libs gtk+-2.0) + + + solaris: +- $(CC) -g -O2 -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl ++ $(CC) $(LDFLAGS) $(CFLAGS) -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl + + + install: con-install |