[57290] trunk/dports/net/hping3
toby at macports.org
toby at macports.org
Tue Sep 8 11:46:44 PDT 2009
Revision: 57290
http://trac.macports.org/changeset/57290
Author: toby at macports.org
Date: 2009-09-08 11:46:42 -0700 (Tue, 08 Sep 2009)
Log Message:
-----------
fix byte order detection (probably)
Modified Paths:
--------------
trunk/dports/net/hping3/Portfile
Added Paths:
-----------
trunk/dports/net/hping3/files/patch-bytesex.h.diff
Modified: trunk/dports/net/hping3/Portfile
===================================================================
--- trunk/dports/net/hping3/Portfile 2009-09-08 18:24:31 UTC (rev 57289)
+++ trunk/dports/net/hping3/Portfile 2009-09-08 18:46:42 UTC (rev 57290)
@@ -30,7 +30,8 @@
depends_lib port:tcl
patchfiles patch-Makefile.in.diff patch-libpcap_stuff.c.diff \
- patch-script.c.diff patch-sendip.c.diff patch-ars.c.diff
+ patch-script.c.diff patch-sendip.c.diff patch-ars.c.diff \
+ patch-bytesex.h.diff
post-configure {
reinplace "s#/usr/local#${prefix}#g" ${worksrcpath}/Makefile
Added: trunk/dports/net/hping3/files/patch-bytesex.h.diff
===================================================================
--- trunk/dports/net/hping3/files/patch-bytesex.h.diff (rev 0)
+++ trunk/dports/net/hping3/files/patch-bytesex.h.diff 2009-09-08 18:46:42 UTC (rev 57290)
@@ -0,0 +1,10 @@
+--- bytesex.h.orig 2009-09-08 11:44:23.000000000 -0700
++++ bytesex.h 2009-09-08 11:45:16.000000000 -0700
+@@ -8,6 +8,7 @@
+ #define ARS_BYTESEX_H
+
+ #if defined(__i386__) \
++ || defined(__LITTLE_ENDIAN__) \
+ || defined(__alpha__) \
+ || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
+ #define BYTE_ORDER_LITTLE_ENDIAN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090908/05df80a9/attachment.html>
More information about the macports-changes
mailing list