diff options
author | 2016-11-27 13:47:22 +0100 | |
---|---|---|
committer | 2017-01-04 15:25:08 +0200 | |
commit | e60dab5b27bc3212e4c21b0caa079dcc61830425 (patch) | |
tree | 8a3b98a5c4e5b78771233447f4458f1af29680d4 /net-analyzer/hexinject/files/hexinject-1.5-fix-build-system.patch | |
parent | dev-libs/libxml2: amd64 stable wrt bug #597116 (diff) | |
download | gentoo-e60dab5b27bc3212e4c21b0caa079dcc61830425.tar.gz gentoo-e60dab5b27bc3212e4c21b0caa079dcc61830425.tar.bz2 gentoo-e60dab5b27bc3212e4c21b0caa079dcc61830425.zip |
net-analyzer/hexinject: new package
Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2933
Diffstat (limited to 'net-analyzer/hexinject/files/hexinject-1.5-fix-build-system.patch')
-rw-r--r-- | net-analyzer/hexinject/files/hexinject-1.5-fix-build-system.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/hexinject/files/hexinject-1.5-fix-build-system.patch b/net-analyzer/hexinject/files/hexinject-1.5-fix-build-system.patch new file mode 100644 index 000000000000..046d083710df --- /dev/null +++ b/net-analyzer/hexinject/files/hexinject-1.5-fix-build-system.patch @@ -0,0 +1,15 @@ +Respect user flags + +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + all: +- gcc -o hexinject hexinject.c -lpcap +- gcc -o prettypacket prettypacket.c +- gcc -o hex2raw hex2raw.c ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o hexinject hexinject.c -lpcap ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o prettypacket prettypacket.c ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o hex2raw hex2raw.c + + clean: + rm -f hexinject prettypacket hex2raw *~ |