diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/hexinject/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/hexinject/files')
-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 *~ |