diff options
author | Lars Engels <lme@FreeBSD.org> | 2011-08-28 16:29:39 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2011-08-28 16:29:39 +0000 |
commit | 7ada7f3113af57f950d86b31863a91d2385a5e67 (patch) | |
tree | 408caa3fe59c7c6b6325218e5e34c84408c183ea /net-mgmt/aircrack-ng | |
parent | 26de0392215ed8c815074bf8c93ec734d566ebbd (diff) | |
download | ports-7ada7f3113af57f950d86b31863a91d2385a5e67.tar.gz ports-7ada7f3113af57f950d86b31863a91d2385a5e67.zip |
Notes
Diffstat (limited to 'net-mgmt/aircrack-ng')
-rw-r--r-- | net-mgmt/aircrack-ng/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/aircrack-ng/files/patch-src_osdep_byteorder.h | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/net-mgmt/aircrack-ng/Makefile b/net-mgmt/aircrack-ng/Makefile index 0dfb45219faf..203613709d5c 100644 --- a/net-mgmt/aircrack-ng/Makefile +++ b/net-mgmt/aircrack-ng/Makefile @@ -37,8 +37,6 @@ OPTIONS= SQLITE "Use SQLite for storing pre-computed key tables" off .if ${ARCH} == "powerpc" BROKEN= Does not compile on powerpc -.elif ${ARCH} == "sparc64" -BROKEN= Does not compile on sparc64: missing byteorder.h .endif .if defined(WITH_SQLITE) diff --git a/net-mgmt/aircrack-ng/files/patch-src_osdep_byteorder.h b/net-mgmt/aircrack-ng/files/patch-src_osdep_byteorder.h new file mode 100644 index 000000000000..a7606c6fb762 --- /dev/null +++ b/net-mgmt/aircrack-ng/files/patch-src_osdep_byteorder.h @@ -0,0 +1,11 @@ +--- src/osdep/byteorder.h.orig 2011-08-28 18:26:15.000000000 +0200 ++++ src/osdep/byteorder.h 2011-08-28 18:26:25.000000000 +0200 +@@ -167,7 +167,7 @@ + * Solaris
+ * -------
+ */
+- #if defined(__sparc__)
++ #if defined(__sun) && defined(__SVR4) && defined(__sparc__)
+ #include <sys/byteorder.h>
+ #include <sys/types.h>
+ #include <unistd.h>
|