summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-03-19 14:53:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-03-19 14:53:07 +0000
commit497bf880816f578f930ced9b54cd8a44ac7e0fcc (patch)
treedc4ac6427c6ac5c1e69affe2bdbfd60724c9933e /sys-libs/slang/files
parentfixing HOMEPAGE (diff)
downloadhistorical-497bf880816f578f930ced9b54cd8a44ac7e0fcc.tar.gz
historical-497bf880816f578f930ced9b54cd8a44ac7e0fcc.tar.bz2
historical-497bf880816f578f930ced9b54cd8a44ac7e0fcc.zip
Fix a regression from slang-1.4.9-r2, building on uclibc wrt bug 213925 thanks to Natanael Copa.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-libs/slang/files')
-rw-r--r--sys-libs/slang/files/slang-2.1.3-uclibc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-libs/slang/files/slang-2.1.3-uclibc.patch b/sys-libs/slang/files/slang-2.1.3-uclibc.patch
new file mode 100644
index 000000000000..d7ed5a8d650f
--- /dev/null
+++ b/sys-libs/slang/files/slang-2.1.3-uclibc.patch
@@ -0,0 +1,12 @@
+diff -ur slang-2.1.3.orig/src/slcommon.c slang-2.1.3/src/slcommon.c
+--- slang-2.1.3.orig/src/slcommon.c 2007-01-10 18:09:07.000000000 +0200
++++ slang-2.1.3/src/slcommon.c 2008-03-19 16:09:09.000000000 +0200
+@@ -191,7 +191,7 @@
+ return p;
+ }
+
+-#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2)
++#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__)
+ extern int __libc_enable_secure;
+ # define HAVE___LIBC_ENABLE_SECURE 1
+ #endif