1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 17:25:17 +03:00
aports/testing/hexinject/fix-build.patch
Arch3y c630478752 testing/hexinject: new aport
A very versatile packet injector and sniffer
http://hexinject.sourceforge.net/

[TT: modernize, fix-build.patch]
2017-08-29 07:30:37 +00:00

15 lines
545 B
Diff

--- hexinject/Makefile.orig 2017-08-29 07:29:31.430661450 +0000
+++ hexinject/Makefile 2017-08-29 07:29:53.634411237 +0000
@@ -3,9 +3,9 @@
LDFLAGS = -lpcap
all:
- $(CC) $(CFLAGS) $(LDFLAGS) -o hexinject hexinject.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o prettypacket prettypacket.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o hex2raw hex2raw.c
+ $(CC) $(CFLAGS) -o hexinject hexinject.c $(LDFLAGS)
+ $(CC) $(CFLAGS) -o prettypacket prettypacket.c $(LDFLAGS)
+ $(CC) $(CFLAGS) -o hex2raw hex2raw.c $(LDFLAGS)
clean:
rm -f hexinject prettypacket hex2raw *~