diff options
author | 2022-12-06 22:25:31 +0100 | |
---|---|---|
committer | 2022-12-06 22:25:31 +0100 | |
commit | dee8bad893c1a600b59e6ab18b2a9d8474c03003 (patch) | |
tree | 951d3a97b8bbb502bccac0afd67a20e0cf0d6875 /net-analyzer/hexinject/files | |
parent | net-analyzer/dhcp_probe: cleanup (diff) | |
download | gentoo-dee8bad893c1a600b59e6ab18b2a9d8474c03003.tar.gz gentoo-dee8bad893c1a600b59e6ab18b2a9d8474c03003.tar.bz2 gentoo-dee8bad893c1a600b59e6ab18b2a9d8474c03003.zip |
net-analyzer/hexinject: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/724862
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer/hexinject/files')
-rw-r--r-- | net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch b/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch index fbe91199bbfa..9d22337afa93 100644 --- a/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch +++ b/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch @@ -1,18 +1,22 @@ Author: holgersson <holgersson@posteo.de> Date: Fri Oct 20 18:30:00 2017 +0200 -Don’t call gcc directly, and respect CFLAGS. As this project -is plain C I don’t care fore CXXFLAGS here. +Respect CC, CFLAGS, CPPFLAGS and LDFLAGS. ---- a/Makefile 2017-10-20 18:15:11.743805540 +0200 -+++ b/Makefile 2017-10-20 18:24:55.120009439 +0200 -@@ -1,6 +1,6 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,7 @@ -CC = gcc -CFLAGS = -Wall -LDFLAGS = -lpcap -+CC ?= gcc +CFLAGS += -Wall -+LDFLAGS = -lpcap ++LDLIBS = -lpcap - all: - $(CC) $(CFLAGS) $(LDFLAGS) -o hexinject hexinject.c +-all: +- $(CC) $(CFLAGS) $(LDFLAGS) -o hexinject hexinject.c +- $(CC) $(CFLAGS) $(LDFLAGS) -o prettypacket prettypacket.c +- $(CC) $(CFLAGS) $(LDFLAGS) -o hex2raw hex2raw.c ++all: hexinject prettypacket hex2raw + + clean: + rm -f hexinject prettypacket hex2raw *~ |