devel/hping2 hping2-x86_64.patch,NONE,1.1 hping2.spec,1.3,1.4

Thorsten Leemhuis (thl) fedora-extras-commits at redhat.com
Sun Feb 13 11:49:17 UTC 2005


Author: thl

Update of /cvs/extras/devel/hping2
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6632

Modified Files:
	hping2.spec 
Added Files:
	hping2-x86_64.patch 
Log Message:
Add patch to fix build on x86_64

hping2-x86_64.patch:

--- NEW FILE hping2-x86_64.patch ---
--- bytesex.h.old	2005-02-13 12:40:54.080545112 +0100
+++ bytesex.h	2005-02-13 12:41:55.517205320 +0100
@@ -8,6 +8,7 @@
 #define ARS_BYTESEX_H
 
 #if 	defined(__i386__) \
+	|| defined(__x86_64__) \
 	|| defined(__alpha__) \
 	|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
 #define BYTE_ORDER_LITTLE_ENDIAN


Index: hping2.spec
===================================================================
RCS file: /cvs/extras/devel/hping2/hping2.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hping2.spec	12 Dec 2004 21:07:25 -0000	1.3
+++ hping2.spec	13 Feb 2005 11:49:15 -0000	1.4
@@ -1,6 +1,6 @@
 Name:    hping2
 Version: 2.0.0
-Release: 0.2.rc3
+Release: 0.3.rc3
 Epoch:   0 
 Summary: A software to do TCP/IP stack auditing and much more
 
@@ -9,6 +9,7 @@
 URL: http://www.hping.org/	
 Source0: http://www.hping.org/hping2.0.0-rc3.tar.gz
 Patch0: hping2-include.patch
+Patch1: hping2-x86_64.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libpcap
 
@@ -21,6 +22,7 @@
 %prep
 %setup -q -n hping2-rc3
 %patch0 -p0
+%patch1 -p0
 
 %build
 %configure --force-libpcap
@@ -48,6 +50,9 @@
 %doc docs/HPING2-IS-OPEN docs/MORE-FUN-WITH-IPID docs/SPOOFED_SCAN.txt
 
 %changelog
+* Sun Feb 13 2005 Thorsten Leemhuis <fedora at leemhuis dot info> - 2.0.0-0.3.rc3
+- Add patch to fix build on x86_64
+
 * Wed Dec 08 2004 Adrian Reber <adrian at lisas.de> - 0:2.0.0-0.2.rc3
 - fixed compile bug (fedora.us bug #1700)
 - updated to 2.0.0-rc3




More information about the fedora-extras-commits mailing list