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:
Andreas Schwab 2015-07-29 11:12:13 +00:00 committed by Git OBS Bridge
parent 79b10ba647
commit a7794c7828
3 changed files with 30 additions and 0 deletions

View 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>

View File

@ -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

View File

@ -37,6 +37,8 @@ Obsoletes: linux-kernel-headers < %{version}
PreReq: coreutils
Source: %{name}-%{upstream_version}.tar.xz
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
This package provides Linux kernel headers, the kernel API description
@ -49,6 +51,7 @@ packages, instead.
%prep
%setup -q -n linux-glibc-devel-%{upstream_version}
%patch0 -p1
%build
cat > version.h <<-BOGUS