diff --git a/getsetattr.patch b/getsetattr.patch new file mode 100644 index 0000000..fd35bf2 --- /dev/null +++ b/getsetattr.patch @@ -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 diff --git a/linux-glibc-devel.changes b/linux-glibc-devel.changes index 17e5a05..6f08a55 100644 --- a/linux-glibc-devel.changes +++ b/linux-glibc-devel.changes @@ -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 diff --git a/linux-glibc-devel.spec b/linux-glibc-devel.spec index 32a1592..9082184 100644 --- a/linux-glibc-devel.spec +++ b/linux-glibc-devel.spec @@ -38,6 +38,7 @@ PreReq: coreutils Source: %{name}-%{upstream_version}.tar.bz2 Source1: install_all.sh Patch1: linux-glibc-devel.SuSE.SO_BSDCOMPAT.patch +Patch2: getsetattr.patch %description This package provides Linux kernel headers, the kernel API description @@ -51,6 +52,7 @@ packages, instead. %prep %setup -q -n linux-glibc-devel-%{upstream_version} %patch1 +%patch2 -p1 %build cat > version.h <<-BOGUS