summaryrefslogtreecommitdiffstats
path: root/main/libc0.9.32/no-posix-spawn.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-30 13:53:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-30 14:00:05 +0000
commitfbea6d88c1a709482a4f7af6de187c7a7d9ae840 (patch)
tree0c7f8fb9444d95f6820bcd3a4c0fede773e628d0 /main/libc0.9.32/no-posix-spawn.patch
parent51f837bc40e2e7ce3ed4664e35794a3536f6d927 (diff)
downloadaports-fbea6d88c1a709482a4f7af6de187c7a7d9ae840.tar.bz2
aports-fbea6d88c1a709482a4f7af6de187c7a7d9ae840.tar.xz
main/libc0.9.32: don't define _POSIX_SPAWN
Diffstat (limited to 'main/libc0.9.32/no-posix-spawn.patch')
-rw-r--r--main/libc0.9.32/no-posix-spawn.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/libc0.9.32/no-posix-spawn.patch b/main/libc0.9.32/no-posix-spawn.patch
new file mode 100644
index 000000000..c87e56491
--- /dev/null
+++ b/main/libc0.9.32/no-posix-spawn.patch
@@ -0,0 +1,24 @@
+commit 177538eb191c297ac146c843ff68d80ecfe9a87b
+Author: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri Jul 30 07:51:45 2010 +0000
+
+ nptl: do not define _POSIX_SPAWN since its not implemented
+
+ Building things like vlc checks if _POSIX_SPAWN is defined. Since
+ posix_spawn is not implemented we dont define it.
+
+diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+index 2550355..6fbdbb7 100644
+--- a/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
++++ b/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+@@ -143,8 +143,10 @@
+ /* We support spinlocks. */
+ #define _POSIX_SPIN_LOCKS 200809L
+
++#if 0
+ /* The `spawn' function family is supported. */
+ #define _POSIX_SPAWN 200809L
++#endif
+
+ /* We have POSIX timers. */
+ #define _POSIX_TIMERS 200809L