r4677 - in glibc-package/trunk/debian: . patches/kfreebsd
Author: aurel32
Date: 2011-05-24 07:33:39 +0000 (Tue, 24 May 2011)
New Revision: 4677
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
* kfreebsd/local-sysdeps.diff, update to revision 3302 (from glibc-bsd),
to fix semctl() breakage.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2011-05-24 05:07:02 UTC (rev 4676)
+++ glibc-package/trunk/debian/changelog 2011-05-24 07:33:39 UTC (rev 4677)
@@ -22,8 +22,8 @@
* patches/any/local-ld-multiarch.diff: add the multiarch compat dir
instead of the multiarch dir.
* Use the multiarch path for the native version and optimized flavors.
- * kfreebsd/local-sysdeps.diff, update to revision 3301 (from glibc-bsd),
- fix brk() breakage.
+ * kfreebsd/local-sysdeps.diff, update to revision 3302 (from glibc-bsd),
+ fix brk() and semctl() breakage.
[ Steve Langasek ]
* Tighten the dependency on dpkg to a multiarch aware version.
Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff 2011-05-24 05:07:02 UTC (rev 4676)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff 2011-05-24 07:33:39 UTC (rev 4677)
@@ -21376,7 +21376,7 @@
+#include <sysdeps/unix/seekdir.c>
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/semctl.c
-@@ -0,0 +1,85 @@
+@@ -0,0 +1,89 @@
+/* Copyright (C) 2004, 2010 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Robert Millan
@@ -21440,6 +21440,10 @@
+ unsigned short *array; /* array for GETALL & SETALL */
+};
+
++extern int __syscall_semctl (int semid, int semnum,
++ int cmd, union semun *arg);
++libc_hidden_proto (__syscall_semctl)
++
+int
+semctl (int semid, int semnum, int cmd, ...)
+{
Reply to: