diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-02 17:28:57 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-02 17:28:57 +0000 |
commit | c28e31e187768126eafc1adba000b63464ee10df (patch) | |
tree | 013ae53021c00038a092868fedf12bfdb3d85e9c /app-admin/eselect-python | |
parent | Maintainer inactive, hasn't touched the package since early 2008. Herd takes ... (diff) | |
download | historical-c28e31e187768126eafc1adba000b63464ee10df.tar.gz historical-c28e31e187768126eafc1adba000b63464ee10df.tar.bz2 historical-c28e31e187768126eafc1adba000b63464ee10df.zip |
Fix building with old versions of sys-libs/glibc.
Package-Manager: portage-14176-svn/cvs/Linux x86_64
Diffstat (limited to 'app-admin/eselect-python')
-rw-r--r-- | app-admin/eselect-python/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/eselect-python/Manifest | 5 | ||||
-rw-r--r-- | app-admin/eselect-python/eselect-python-20090824.ebuild | 5 | ||||
-rw-r--r-- | app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch | 30 |
4 files changed, 42 insertions, 5 deletions
diff --git a/app-admin/eselect-python/ChangeLog b/app-admin/eselect-python/ChangeLog index 7a0c82fc6f41..58ca94765e08 100644 --- a/app-admin/eselect-python/ChangeLog +++ b/app-admin/eselect-python/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/eselect-python # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.40 2009/08/24 21:09:16 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.41 2009/09/02 17:28:57 arfrever Exp $ + + 02 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-20090824.ebuild, + +files/eselect-python-20090824-old-glibc.patch: + Fix building with old versions of sys-libs/glibc. *eselect-python-20090824 (24 Aug 2009) diff --git a/app-admin/eselect-python/Manifest b/app-admin/eselect-python/Manifest index 3be496232272..8e3326708efa 100644 --- a/app-admin/eselect-python/Manifest +++ b/app-admin/eselect-python/Manifest @@ -1,9 +1,10 @@ +AUX eselect-python-20090824-old-glibc.patch 694 RMD160 917df537aa4592ae97e856094fa0ff997431d0a9 SHA1 648bd905578cce31bc83a7836f0785beb84be592 SHA256 7139150321863e3b9528abbb109c04b4b690fa5c7cac8ca825b0e4afdb0d7e98 DIST eselect-python-20090814.tar.bz2 3873 RMD160 31122a938a242097e7bf7a0d9e013815fed0c02f SHA1 77fd7d7ae7a5d32d1a53167b440079f95d44b96e SHA256 5f12e61860d11430e4f951c89c6c04e1cfdfd2427483e20beab5014dd6a29a60 DIST eselect-python-20090824.tar.bz2 4689 RMD160 f43242903caac005c9ca784f62e2b9c2f8e53fcb SHA1 1197fc3200e4b70788fac9956f52ba91320a02f2 SHA256 819760f1e5404869d9f0f2f6b7171630f423a507db21f59f4cf585f3fc661d3f DIST python.eselect-20090606.bz2 2095 RMD160 b238a75afeb8581c37ca611448e8d5b83c1b3b8a SHA1 d2588360b7c90058d9fc71d5774648f444a601e8 SHA256 5012dc850c59195b9d81d72f416b6efb810e79fa54d622c20acb45775d90f0e7 EBUILD eselect-python-20090606.ebuild 836 RMD160 669bb1c3a351a9f416cb9d50da29d6bb649ee2c9 SHA1 adaf27c2c5d02da977ee011e6f9281e175110812 SHA256 b839ec46c65b0a169a72b7687a7d896ef1e1740c9984d084635e3241e08a8011 EBUILD eselect-python-20090814.ebuild 1431 RMD160 a387f3c51cb2afc1c68b545fee6ea8457655ba38 SHA1 7f524a26f5a90a918bf8f1ef314d54c84cde82d8 SHA256 a724be852cefe9b5cfcf5f44d4e4aac0c235d9746e639944774c8bdc525faf6c -EBUILD eselect-python-20090824.ebuild 1185 RMD160 14f81c01f32b5113cf9b062978bf7412287472f2 SHA1 ff2125484db8ce5d8527c1a0b27a636c6dcf4b00 SHA256 4bda0b53c2a816571d355ab975e42243b383556a825d09dceaff728e92e76fb1 +EBUILD eselect-python-20090824.ebuild 1235 RMD160 21f7f48ca0e717ae66777c64071cc1bd28d1baab SHA1 fac03d098cbee9787b4c4ad632db24f7912d49a7 SHA256 bdb0aaa2eb5174e93e51af7046165218e44ff6fa2def2beafc050633d04a7945 EBUILD eselect-python-99999999.ebuild 1191 RMD160 e3e953d2b1e5f760a97737b9cd726777833cfef8 SHA1 c4d7a19789412ce4cbcaa9949d17fc83c63ce4e5 SHA256 1efcc42296cd46d21615ea776bdcb242c8091b282c5b0f453810a47ff358ca95 -MISC ChangeLog 6051 RMD160 c1a6dc3f62b2633f47f64e5bf067c95e9e019ae8 SHA1 5b015c98399a3fbb189ac3ddd10c5a576f5d1bc0 SHA256 42eaf17ed35f6ce36220b2be54571931d6f2c50a7677bee76728c43e3c55c6cb +MISC ChangeLog 6261 RMD160 af724dc9c778799b16fed58b940e27f09f847a3e SHA1 e44824c5940801ae79ef35a49d113363d6fa913a SHA256 466446a7811e7f5234c10aa04ae0426a6687f4247e5d71511e7a7f4b14c9b3a3 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/app-admin/eselect-python/eselect-python-20090824.ebuild b/app-admin/eselect-python/eselect-python-20090824.ebuild index 89136058121c..de54d2669ee0 100644 --- a/app-admin/eselect-python/eselect-python-20090824.ebuild +++ b/app-admin/eselect-python/eselect-python-20090824.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090824.ebuild,v 1.1 2009/08/24 21:09:16 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090824.ebuild,v 1.2 2009/09/02 17:28:57 arfrever Exp $ EAPI="2" -inherit flag-o-matic +inherit eutils flag-o-matic DESCRIPTION="Eselect module for management of multiple Python versions" HOMEPAGE="http://www.gentoo.org" @@ -23,6 +23,7 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}/${P}-old-glibc.patch" ./autogen.sh || die "autogen.sh failed" } diff --git a/app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch b/app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch new file mode 100644 index 000000000000..522a75841dd1 --- /dev/null +++ b/app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch @@ -0,0 +1,30 @@ +--- configure.ac ++++ configure.ac +@@ -7,8 +7,26 @@ + AC_PATH_PROG(INSTALL, install) + MKDIR="${MKDIR:-${INSTALL} -d}" + ++AC_USE_SYSTEM_EXTENSIONS ++ + # strndup() was introduced in POSIX.1-2008. +-AC_CHECK_FUNCS([strndup]) ++AC_MSG_CHECKING([for strndup]) ++old_CFLAGS="${CFLAGS}" ++CFLAGS="${CFLAGS} -Wall -Werror -Wextra" ++AC_LINK_IFELSE( ++[#include <string.h> ++int main() ++{ ++ strndup("", 0); ++ return 0; ++}], [have_strndup="1"], [have_strndup="0"]) ++if test "${have_strndup}" = "1"; then ++ AC_MSG_RESULT([yes]) ++ AC_DEFINE([HAVE_STRNDUP], [1], [Define to 1 if you have the 'strndup' function.]) ++else ++ AC_MSG_RESULT([no]) ++fi ++CFLAGS="${old_CFLAGS}" + + AC_SUBST([ASFLAGS]) + AC_SUBST([MKDIR]) |