diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-03-19 14:53:07 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-03-19 14:53:07 +0000 |
commit | 2f8c9360f0eb60fd6650d72aeb374829bc2ab4d0 (patch) | |
tree | 900f311a47ce52d4c3bc80b65b3fa43afcf24a50 /sys-libs | |
parent | fixing HOMEPAGE (diff) | |
download | gentoo-2-2f8c9360f0eb60fd6650d72aeb374829bc2ab4d0.tar.gz gentoo-2-2f8c9360f0eb60fd6650d72aeb374829bc2ab4d0.tar.bz2 gentoo-2-2f8c9360f0eb60fd6650d72aeb374829bc2ab4d0.zip |
Fix a regression from slang-1.4.9-r2, building on uclibc wrt bug 213925 thanks to Natanael Copa.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/slang/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/slang/files/slang-2.1.3-uclibc.patch | 12 | ||||
-rw-r--r-- | sys-libs/slang/slang-2.1.3-r1.ebuild | 3 |
3 files changed, 20 insertions, 2 deletions
diff --git a/sys-libs/slang/ChangeLog b/sys-libs/slang/ChangeLog index ff12f40e6830..45c2784f9634 100644 --- a/sys-libs/slang/ChangeLog +++ b/sys-libs/slang/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/slang # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.88 2008/03/13 16:00:06 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.89 2008/03/19 14:53:06 drac Exp $ + + 19 Mar 2008; Samuli Suominen <drac@gentoo.org> + +files/slang-2.1.3-uclibc.patch, slang-2.1.3-r1.ebuild: + Fix a regression from slang-1.4.9-r2, building on uclibc wrt bug 213925 + thanks to Natanael Copa. 13 Mar 2008; Jeroen Roovers <jer@gentoo.org> slang-2.1.3-r1.ebuild: Stable for HPPA (bug #211986). 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 diff --git a/sys-libs/slang/slang-2.1.3-r1.ebuild b/sys-libs/slang/slang-2.1.3-r1.ebuild index 4bd5d577d3ae..a0784202e257 100644 --- a/sys-libs/slang/slang-2.1.3-r1.ebuild +++ b/sys-libs/slang/slang-2.1.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-2.1.3-r1.ebuild,v 1.15 2008/03/13 16:00:06 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-2.1.3-r1.ebuild,v 1.16 2008/03/19 14:53:06 drac Exp $ inherit eutils @@ -33,6 +33,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PN}-2.1.2-slsh-libs.patch + epatch "${FILESDIR}"/${P}-uclibc.patch } src_compile() { |