forked from pool/iproute2
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
This commit is contained in:
parent
868978ab5b
commit
5ede99ed9b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
12
tc-headers.patch
Normal file
12
tc-headers.patch
Normal file
@ -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 <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <string.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#include "tc_core.h"
|
||||
#include <linux/atm.h>
|
Loading…
Reference in New Issue
Block a user