summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2013-12-26 21:52:46 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2013-12-26 21:52:46 +0000
commit3ee323492f7a218db87c8001843e6d1ad7068e2c (patch)
tree002ce570b57b55a72d688aa4526d5e0b27999e1d /dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch
parentsci-libs/hypre: Respect CXX, #493224 (diff)
downloadhistorical-3ee323492f7a218db87c8001843e6d1ad7068e2c.tar.gz
historical-3ee323492f7a218db87c8001843e6d1ad7068e2c.tar.bz2
historical-3ee323492f7a218db87c8001843e6d1ad7068e2c.zip
Version bump; also improve the nostdlib fix originally introduced in bug #103437, to hopefully fix splashutils stack-protect/pie problems in bugs #473512, #491512.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch')
-rw-r--r--dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch b/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch
new file mode 100644
index 000000000000..cfbc5f63655f
--- /dev/null
+++ b/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch
@@ -0,0 +1,15 @@
+diff -Nuar --exclude '*.g' --exclude '*.cmd' klibc-2.0.2-r1/work/klibc-2.0.2/usr/utils/mkfifo.c klibc-2.0.2.orig/work/klibc-2.0.2/usr/utils/mkfifo.c
+--- klibc-2.0.2-r1/work/klibc-2.0.2/usr/utils/mkfifo.c 2012-10-03 09:41:43.000000000 -0700
++++ klibc-2.0.2.orig/work/klibc-2.0.2/usr/utils/mkfifo.c 2013-12-26 13:19:34.270949780 -0800
+@@ -13,6 +13,11 @@
+
+ char *progname;
+
++int mkfifo (const char *__p, mode_t __m)
++{
++ return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t) 0);
++}
++
+ static int make_fifo(char *dir)
+ {
+ if (mkfifo(dir, leaf_mode)) {