summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-10-21 16:18:11 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-10-21 16:18:11 +0300
commitaeffcdeac9af6eaccb8c58af4e99414cf5ae51fd (patch)
tree77844c61fa614c2eb1ed178db5265fbc0b18029f
parent387737bec5cffe479f15458fac2aad9648a2979e (diff)
downloadillumos-packaging-aeffcdeac9af6eaccb8c58af4e99414cf5ae51fd.tar.gz
Added debian/patches/localeimpl-getenv.patch
-rw-r--r--libc/debian/patches/localeimpl-getenv.patch12
-rw-r--r--libc/debian/patches/series1
2 files changed, 13 insertions, 0 deletions
diff --git a/libc/debian/patches/localeimpl-getenv.patch b/libc/debian/patches/localeimpl-getenv.patch
new file mode 100644
index 0000000..3ec18d9
--- /dev/null
+++ b/libc/debian/patches/localeimpl-getenv.patch
@@ -0,0 +1,12 @@
+Index: libc/usr/src/lib/libc/port/locale/localeimpl.c
+===================================================================
+--- libc.orig/usr/src/lib/libc/port/locale/localeimpl.c
++++ libc/usr/src/lib/libc/port/locale/localeimpl.c
+@@ -22,6 +22,7 @@
+ #endif
+
+ #include "lint.h"
++#include <stdlib.h>
+ #include <atomic.h>
+ #include <locale.h>
+ #include <sys/types.h>
diff --git a/libc/debian/patches/series b/libc/debian/patches/series
index 1a68de2..63168f2 100644
--- a/libc/debian/patches/series
+++ b/libc/debian/patches/series
@@ -127,3 +127,4 @@ struct-tm.patch
libc-no-gets.patch
libc-fp_data-__huge_val.patch
libnsl-netname.patch
+localeimpl-getenv.patch