diff options
| author | nibbles 2bits | 2012-06-09 04:09:12 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-09 07:31:49 -0700 |
| commit | 292d1f1220edadd4ae52dd1ecf5dd44261c886c5 (patch) | |
| tree | a5e2b00e590561243588608c921ba0721d5b4d5f /Library/Formula | |
| parent | 3a2c52093b678055ddb92aed4ccd47db62337dca (diff) | |
| download | homebrew-292d1f1220edadd4ae52dd1ecf5dd44261c886c5.tar.bz2 | |
arping 2.11 and remove patch
Upgrade arping to version 2.11.
Remove the patch that's not needed anymore due to changes upstream.
Tested on Lion using clang and llvm-gcc, then pinging my router
by ip address.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/arping.rb | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/Library/Formula/arping.rb b/Library/Formula/arping.rb index 2d40b07d7..67e88e121 100644 --- a/Library/Formula/arping.rb +++ b/Library/Formula/arping.rb @@ -2,16 +2,11 @@ require 'formula' class Arping < Formula homepage 'https://github.com/ThomasHabets/arping' - url 'https://github.com/ThomasHabets/arping/tarball/arping-2.09' - md5 '8a10b23655ffbe93667691fb881afbf4' + url 'https://github.com/ThomasHabets/arping/tarball/arping-2.11' + sha1 '8a02193f3f1d2faaf717c0ea31c42d5c1aeb826e' depends_on 'libnet' - def patches - # Patch removes header conflict with libpcap; arping 2.x uses libnet - DATA - end - def install system "./configure", "--disable-debug", "--disable-dependency-tracking", @@ -19,26 +14,3 @@ class Arping < Formula system "make install" end end - -__END__ -diff --git a/src/arping.c b/src/arping.c -index 7b5e43e..b80e4d8 100644 ---- a/src/arping.c -+++ b/src/arping.c -@@ -78,12 +78,14 @@ - #if HAVE_WIN32_LIBNET_H - #include <win32/libnet.h> - #endif --#include <pcap.h> - - #if HAVE_NET_BPF_H - #include <net/bpf.h> - #endif - -+#define PCAP_DONT_INCLUDE_PCAP_BPF_H -+#include <pcap.h> -+ - #ifndef ETH_ALEN - #define ETH_ALEN 6 - #endif - |
