From 0b6356d17b03c514023b69ed58c8761386b2968e Mon Sep 17 00:00:00 2001 From: Paul P Komkoff Jr Date: Thu, 13 Jul 2006 20:55:23 +0000 Subject: [PATCH] Include linux/types.h to make this crap compile --- 0001-linux-types.patch | 11 +++++++++++ libnfnetlink.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 0001-linux-types.patch diff --git a/0001-linux-types.patch b/0001-linux-types.patch new file mode 100644 index 0000000..74cc76e --- /dev/null +++ b/0001-linux-types.patch @@ -0,0 +1,11 @@ +diff -urN libnfnetlink-0.0.16.orig/src/libnfnetlink.c libnfnetlink-0.0.16/src/libnfnetlink.c +--- libnfnetlink-0.0.16.orig/src/libnfnetlink.c 2006-05-17 18:20:31.000000000 +0400 ++++ libnfnetlink-0.0.16/src/libnfnetlink.c 2006-07-14 00:49:07.000000000 +0400 +@@ -37,6 +37,7 @@ + #include + #include + ++#include + #include + + #include diff --git a/libnfnetlink.spec b/libnfnetlink.spec index f82f27e..a27940b 100644 --- a/libnfnetlink.spec +++ b/libnfnetlink.spec @@ -7,6 +7,7 @@ License: GPL URL: http://netfilter.org Source0: http://netfilter.org/projects/libnfnetlink/files/%{name}-%{version}.tar.bz2 Source1: http://www.gnu.org/licenses/gpl.txt +Patch0: 0001-linux-types.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: @@ -31,6 +32,7 @@ and libnfnetlink_queue. %prep %setup -q +%patch -p1 cp %{SOURCE1} LICENSE