Accepting request 319270 from home:dimstar:Factory
- Add linux-glibc-devel-if_pppox-includes.patch: fix compilation of userspace programs including if_pppox.h (e.g. ebtables). OBS-URL: https://build.opensuse.org/request/show/319270 OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-glibc-devel?expand=0&rev=91
This commit is contained in:
parent
79b10ba647
commit
a7794c7828
21
linux-glibc-devel-if_pppox-includes.patch
Normal file
21
linux-glibc-devel-if_pppox-includes.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Fixes userspace compilation error:
|
||||||
|
|
||||||
|
error: "IFNAMSIZ" undeclared here (not in a function)
|
||||||
|
|
||||||
|
Signed-off-by: Mikko Rapeli <mikko.rapeli [at] iki>
|
||||||
|
---
|
||||||
|
include/uapi/linux/if_pppox.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
Index: linux-glibc-devel-4.1/usr/include/linux/if_pppox.h
|
||||||
|
===================================================================
|
||||||
|
--- linux-glibc-devel-4.1.orig/usr/include/linux/if_pppox.h
|
||||||
|
+++ linux-glibc-devel-4.1/usr/include/linux/if_pppox.h
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
#include <asm/byteorder.h>
|
||||||
|
|
||||||
|
#include <linux/socket.h>
|
||||||
|
+#include <linux/if.h>
|
||||||
|
#include <linux/if_ether.h>
|
||||||
|
#include <linux/if_pppol2tp.h>
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 29 10:44:36 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add linux-glibc-devel-if_pppox-includes.patch: fix compilation of
|
||||||
|
userspace programs including if_pppox.h (e.g. ebtables).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 3 18:19:17 UTC 2015 - crrodriguez@opensuse.org
|
Fri Jul 3 18:19:17 UTC 2015 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@ Obsoletes: linux-kernel-headers < %{version}
|
|||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
Source: %{name}-%{upstream_version}.tar.xz
|
Source: %{name}-%{upstream_version}.tar.xz
|
||||||
Source1: install_all.sh
|
Source1: install_all.sh
|
||||||
|
# PATCH-FIX-UPSTREAM linux-glibc-devel-if_pppox-includes.patch dimstar@opensuse.org -- Fixes userspace compilation error
|
||||||
|
Patch0: linux-glibc-devel-if_pppox-includes.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides Linux kernel headers, the kernel API description
|
This package provides Linux kernel headers, the kernel API description
|
||||||
@ -49,6 +51,7 @@ packages, instead.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n linux-glibc-devel-%{upstream_version}
|
%setup -q -n linux-glibc-devel-%{upstream_version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cat > version.h <<-BOGUS
|
cat > version.h <<-BOGUS
|
||||||
|
Loading…
Reference in New Issue
Block a user