[isic] Add isic-0.07-netinet.patch (Fix FTBS BZ#716180).
corsepiu
corsepiu at fedoraproject.org
Mon Jun 27 11:25:51 UTC 2011
commit 23b2af767b510e3073ce73bce5acf2e67ad73356
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Mon Jun 27 13:25:40 2011 +0200
Add isic-0.07-netinet.patch (Fix FTBS BZ#716180).
isic-0.07-netinet.patch | 55 +++++++++++++++++++++++++++++++++++++++++++++++
isic.spec | 11 ++++++--
2 files changed, 63 insertions(+), 3 deletions(-)
---
diff --git a/isic-0.07-netinet.patch b/isic-0.07-netinet.patch
new file mode 100644
index 0000000..230ad31
--- /dev/null
+++ b/isic-0.07-netinet.patch
@@ -0,0 +1,55 @@
+diff -Naur isic-0.07.orig/multisic.c isic-0.07/multisic.c
+--- isic-0.07.orig/multisic.c 2006-12-23 00:09:24.000000000 +0100
++++ isic-0.07/multisic.c 2011-06-27 12:51:28.632628497 +0200
+@@ -1,5 +1,7 @@
+ #include "isic.h"
+
++#include <netinet/udp.h>
++
+ /* This is tuned for ethernet sized frames (1500 bytes)
+ * For user over a modem or frame (or other) you will have to change the
+ * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
+diff -Naur isic-0.07.orig/tcpsic6.c isic-0.07/tcpsic6.c
+--- isic-0.07.orig/tcpsic6.c 2006-12-16 01:07:23.000000000 +0100
++++ isic-0.07/tcpsic6.c 2011-06-27 12:54:28.059168228 +0200
+@@ -1,5 +1,7 @@
+ #include "isic.h"
+
++#include <netinet/tcp.h>
++
+ /* This is tuned for ethernet sized frames (1500 bytes)
+ * For user over a modem or frame (or other) you will have to change the
+ * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
+diff -Naur isic-0.07.orig/tcpsic.c isic-0.07/tcpsic.c
+--- isic-0.07.orig/tcpsic.c 2006-12-16 01:04:50.000000000 +0100
++++ isic-0.07/tcpsic.c 2011-06-27 12:47:40.541418667 +0200
+@@ -1,5 +1,7 @@
+ #include "isic.h"
+
++#include <netinet/tcp.h>
++
+ /* This is tuned for ethernet sized frames (1500 bytes)
+ * For user over a modem or frame (or other) you will have to change the
+ * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
+diff -Naur isic-0.07.orig/udpsic6.c isic-0.07/udpsic6.c
+--- isic-0.07.orig/udpsic6.c 2006-12-16 01:07:39.000000000 +0100
++++ isic-0.07/udpsic6.c 2011-06-27 13:18:30.648602713 +0200
+@@ -1,5 +1,7 @@
+ #include "isic.h"
+
++#include <netinet/udp.h>
++
+ /* This is tuned for ethernet sized frames (1500 bytes)
+ * For user over a modem or frame (or other) you will have to change the
+ * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
+diff -Naur isic-0.07.orig/udpsic.c isic-0.07/udpsic.c
+--- isic-0.07.orig/udpsic.c 2006-12-16 01:47:41.000000000 +0100
++++ isic-0.07/udpsic.c 2011-06-27 12:47:01.004865001 +0200
+@@ -1,5 +1,7 @@
+ #include "isic.h"
+
++#include <netinet/udp.h>
++
+ /* This is tuned for ethernet sized frames (1500 bytes)
+ * For user over a modem or frame (or other) you will have to change the
+ * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
diff --git a/isic.spec b/isic.spec
index 8cce993..eb6ac20 100644
--- a/isic.spec
+++ b/isic.spec
@@ -1,13 +1,14 @@
Name: isic
Version: 0.07
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: IP Stack Integrity Checker
Group: Applications/Internet
License: BSD
Url: http://isic.sourceforge.net
Source0: http://dl.sourceforge.net/sourceforge/isic/%{name}-%{version}.tgz
-Patch: isic-0.07-make.patch
+Patch0: isic-0.07-make.patch
+Patch1: isic-0.07-netinet.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libnet-devel >= 1.1.0
@@ -33,7 +34,8 @@ examine hardware implementations.
%prep
%setup -q
-%patch -p1 -b .make
+%patch0 -p1 -b .make
+%patch1 -p1
chmod 644 wrapper.sh
%build
@@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
%doc README ChangeLog INSTALL wrapper.sh
%changelog
+* Mon Jun 27 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.07-6
+- Add isic-0.07-netinet.patch (Fix FTBS BZ#716180).
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.07-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list