diff --git a/libnetfilter_queue-linuxtypes.patch b/libnetfilter_queue-linuxtypes.patch new file mode 100644 index 0000000..372b600 --- /dev/null +++ b/libnetfilter_queue-linuxtypes.patch @@ -0,0 +1,12 @@ +diff --git a/utils/nfqnl_test.c b/utils/nfqnl_test.c +index af224de..be72974 100644 +--- a/utils/nfqnl_test.c ++++ b/utils/nfqnl_test.c +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + #include /* for NF_ACCEPT */ + + #include diff --git a/libnetfilter_queue.spec b/libnetfilter_queue.spec index 57c6336..0146cfb 100644 --- a/libnetfilter_queue.spec +++ b/libnetfilter_queue.spec @@ -1,11 +1,12 @@ Name: libnetfilter_queue Version: 0.0.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Netfilter queue userspace library Group: System Environment/Libraries License: GPL URL: http://netfilter.org Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2 +Patch0: libnetfilter_queue-linuxtypes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libnfnetlink-devel, pkgconfig @@ -31,6 +32,7 @@ libnetfilter_queue has been previously known as libnfnetlink_queue. %prep %setup -q +%patch -p1 %build %configure --disable-static --disable-rpath @@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri Feb 22 2008 Paul P Komkoff Jr - 0.0.15-3 +- fix compilation with newer glibc/headers/whatever + * Tue Feb 19 2008 Fedora Release Engineering - 0.0.15-2 - Autorebuild for GCC 4.3