1
0

Accepting request 115667 from home:a_jaeger:my-factory-packages

Fix typo: it's __NR_mq_getsetattr

OBS-URL: https://build.opensuse.org/request/show/115667
OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-glibc-devel?expand=0&rev=50
This commit is contained in:
Andreas Jaeger 2012-04-26 09:47:58 +00:00 committed by Git OBS Bridge
parent fcb3a3029c
commit 26dd9604c9
3 changed files with 20 additions and 0 deletions

13
getsetattr.patch Normal file
View File

@ -0,0 +1,13 @@
Index: linux-glibc-devel-3.3/usr/include/asm-x86/unistd_32.h
===================================================================
--- linux-glibc-devel-3.3.orig/usr/include/asm-x86/unistd_32.h
+++ linux-glibc-devel-3.3/usr/include/asm-x86/unistd_32.h
@@ -280,7 +280,7 @@
#define __NR_mq_timedsend 279
#define __NR_mq_timedreceive 280
#define __NR_mq_notify 281
-#define __NR_mq_getsetaddr 282
+#define __NR_mq_getsetattr 282
#define __NR_kexec_load 283
#define __NR_waitid 284
#define __NR_add_key 286

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 25 18:35:49 UTC 2012 - aj@suse.de
- Fix typo: it's __NR_mq_getsetattr
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 19 12:24:26 UTC 2012 - aj@suse.de Mon Mar 19 12:24:26 UTC 2012 - aj@suse.de

View File

@ -38,6 +38,7 @@ PreReq: coreutils
Source: %{name}-%{upstream_version}.tar.bz2 Source: %{name}-%{upstream_version}.tar.bz2
Source1: install_all.sh Source1: install_all.sh
Patch1: linux-glibc-devel.SuSE.SO_BSDCOMPAT.patch Patch1: linux-glibc-devel.SuSE.SO_BSDCOMPAT.patch
Patch2: getsetattr.patch
%description %description
This package provides Linux kernel headers, the kernel API description This package provides Linux kernel headers, the kernel API description
@ -51,6 +52,7 @@ packages, instead.
%prep %prep
%setup -q -n linux-glibc-devel-%{upstream_version} %setup -q -n linux-glibc-devel-%{upstream_version}
%patch1 %patch1
%patch2 -p1
%build %build
cat > version.h <<-BOGUS cat > version.h <<-BOGUS