Package: arp-scan
Version: 1.8.1-1
Severity: normal
Tags: patch
Usertags: kfreebsd
X-Debbugs-CC: debian-bsd@lists.debian.org

Hello there,

to my surprise I seem to have found a work-around that
allows the compilation of arp-scan on kfreebsd-{amd64,i386},
and which produces a functional executable for the few manual
tests I did perform.

The debian-bsd list is included here in order to catch
further comments.

Best regards,
  Mats Erik Andersson, DM



--- arp-scan-1.8.1.debian/arp-scan.h    2011-02-25 22:29:48.000000000 +0100
+++ arp-scan-1.8.1/arp-scan.h   2011-09-14 21:18:08.000000000 +0200
@@ -120,7 +120,7 @@
  *
  * 5370 is the value of __APPLE_CC__ for Xcode 2.5 on Tiger with GCC 4.0.1
  */
-#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 5370)
+#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 5370) || defined 
__FreeBSD_kernel__
 #include <net/bpf.h>
 #endif
 #include <pcap.h>



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110914202817.ga...@mea.homelinux.org

Reply via email to