diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-05-13 20:08:31 +0000 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-05-13 20:08:31 +0000 |
commit | 50304222342085e69bed3d995c14a4d7be715353 (patch) | |
tree | 4abc982c8f02e820a2f07041fbbaa57c42dae251 /data/hping/patches.sh | |
parent | 486367973220c86348cc728f802799589d655fb9 (diff) |
Added hping
Diffstat (limited to 'data/hping/patches.sh')
-rwxr-xr-x | data/hping/patches.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data/hping/patches.sh b/data/hping/patches.sh new file mode 100755 index 000000000..0909f0efa --- /dev/null +++ b/data/hping/patches.sh @@ -0,0 +1,21 @@ +wget https://raw.githubusercontent.com/Homebrew/formula-patches/fc1d446f/hping/patch-libpcap_stuff.c.diff +wget https://raw.githubusercontent.com/Homebrew/formula-patches/fc1d446f/hping/patch-ars.c.diff +wget https://raw.githubusercontent.com/Homebrew/formula-patches/fc1d446f/hping/patch-sendip.c.diff +wget https://raw.githubusercontent.com/Homebrew/formula-patches/fc1d446f/hping/patch-Makefile.in.diff +wget https://raw.githubusercontent.com/Homebrew/formula-patches/fc1d446f/hping/patch-bytesex.h.diff +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/gethostname.c b/gethostname.c +index 3d0ea58..a8a9699 100644 +--- a/gethostname.c ++++ b/gethostname.c +@@ -18,8 +18,6 @@ + #include <arpa/inet.h> + #include <string.h> + +-size_t strlcpy(char *dst, const char *src, size_t siz); +- + char *get_hostname(char* addr) + { + static char answer[1024]; +EOF |