From 5ede99ed9bfef4d7032eefff3b407c946f34b7f5e60cca5593379ef442593172 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 31 Jul 2017 12:56:38 +0000 Subject: [PATCH] Accepting request 513179 from home:Andreas_Schwab:glibc:rebuild - tc-headers.patch: add missing header OBS-URL: https://build.opensuse.org/request/show/513179 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=141 --- iproute2-doc.changes | 5 +++++ iproute2-doc.spec | 2 ++ iproute2.changes | 5 +++++ iproute2.spec | 2 ++ tc-headers.patch | 12 ++++++++++++ 5 files changed, 26 insertions(+) create mode 100644 tc-headers.patch diff --git a/iproute2-doc.changes b/iproute2-doc.changes index 73de2dc..36b26fc 100644 --- a/iproute2-doc.changes +++ b/iproute2-doc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 31 12:23:04 UTC 2017 - schwab@suse.de + +- tc-headers.patch: add missing header + ------------------------------------------------------------------- Tue Jul 11 12:26:19 UTC 2017 - mkubecek@suse.cz diff --git a/iproute2-doc.spec b/iproute2-doc.spec index f0c3b80..c916285 100644 --- a/iproute2-doc.spec +++ b/iproute2-doc.spec @@ -28,6 +28,7 @@ Url: http://www.linuxfoundation.org/collaborate/workgroups/networking Source: http://kernel.org/pub/linux/utils/net/iproute2/iproute2-%rversion.tar.xz Source2: http://kernel.org/pub/linux/utils/net/iproute2/iproute2-%rversion.tar.sign Patch1: iproute2-3.16.0-fix-bashisms.patch +Patch2: tc-headers.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison @@ -58,6 +59,7 @@ as well as examples and other outdated files. %prep %setup -qn iproute2-%rversion %patch1 -p1 +%patch2 -p1 %build # build with -fPIC. For details see diff --git a/iproute2.changes b/iproute2.changes index 73de2dc..36b26fc 100644 --- a/iproute2.changes +++ b/iproute2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 31 12:23:04 UTC 2017 - schwab@suse.de + +- tc-headers.patch: add missing header + ------------------------------------------------------------------- Tue Jul 11 12:26:19 UTC 2017 - mkubecek@suse.cz diff --git a/iproute2.spec b/iproute2.spec index af0d82e..5f45b8f 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -39,6 +39,7 @@ Patch4: revert-bison-fix.diff Patch5: kernel_xfrm6_raw.patch Patch6: man-fix-documentation-references-in-manual-pages.patch Patch7: iproute2-split-make.patch +Patch8: tc-headers.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison BuildRequires: db-devel @@ -91,6 +92,7 @@ bash command line completion support for iproute. %patch -P 4 -p1 %endif %patch -P 5 -P 6 -P 7 -p1 +%patch8 -p1 find . -name *.orig -delete %build diff --git a/tc-headers.patch b/tc-headers.patch new file mode 100644 index 0000000..8e2e0f8 --- /dev/null +++ b/tc-headers.patch @@ -0,0 +1,12 @@ +Index: iproute2-4.11.0/tc/tc_core.c +=================================================================== +--- iproute2-4.11.0.orig/tc/tc_core.c ++++ iproute2-4.11.0/tc/tc_core.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + #include "tc_core.h" + #include