Compiling newt with slang-1.4.9-r1 with an uclibc profile brings this error : ----------------------------------- gcc -g -o test test.o libnewt.a -lslang -lm -static /usr/lib/gcc/i386-pc-linux-uclibc/3.4.2/../../../libslang.a(slmisc.o)(.text+0xb37): In function `_SLsecure_issetugid': : undefined reference to `__libc_enable_secure' collect2: ld returned 1 exit status make: *** [test] Error 1 ----------------------------------- This is apparently due to slang-1.4.9 making use of a glibc-specific __libc_enable_secure call. This would be due to the inclusion from 1.4.7 on of a patch from Openwall in the main distribution. Solar Designer warned about incompatibility with other libc, but the patch went in anyway : http://archives.neohapsis.com/archives/linux/lsap/2002-q4/0000.html ftp://space.mit.edu/pub/davis/slang/v1.4/changes.txt
Created attachment 42262 [details, diff] disables the use of __libc_enable_secure on uclibc
Package: sys-libs/slang Herd: cjk Maintainer: liquidx@gentoo.org, yakina@gentoo.org slang-1.4.5-r1.ebuild slang-1.4.5-r2.ebuild slang-1.4.9-r1.ebuild slang-1.4.9.ebuild temp work around USE="-cjk" but it would be nice to fix this. Patch looks good to me.
Thanks for the patch. Applied to slang-1.4.9-r1.