From: Saleem Abdulrasool Date: Sat, 3 Feb 2007 08:34:21 +0000 (+0000) Subject: patch for as-needed X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f6ef098e8d211f8777cfe8ced201df6bb36a113;p=gentoo.git patch for as-needed Package-Manager: portage-2.1.2-r6 --- diff --git a/dev-libs/glib/ChangeLog b/dev-libs/glib/ChangeLog index ab97ae7a9a62..45d8695dd628 100644 --- a/dev-libs/glib/ChangeLog +++ b/dev-libs/glib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/glib # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.238 2007/02/02 16:15:28 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.239 2007/02/03 08:34:21 compnerd Exp $ + + 03 Feb 2007; Saleem Abdulrasool + glib-1.2.10-r5.ebuild: + Add patch for as-needed (bug #133818) 02 Feb 2007; Gustavo Zacarias glib-2.12.7.ebuild: Stable on sparc wrt #164978 diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest index 56c8b2841f07..6781970f96c8 100644 --- a/dev-libs/glib/Manifest +++ b/dev-libs/glib/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX glib-1.2.10-configure-LANG.patch 1464 RMD160 91481ba6b3f7a1d6e22a4ab7003fcee17450f3c1 SHA1 d98cc2f4ac6cc4aae55270ad0e5705af4de9b3ad SHA256 32377819896297caf9628f382c7bba09ee0a049bd977e9ea927314c0c2e669b4 MD5 a84a252e7f8698c36076ab4b586dce21 files/glib-1.2.10-configure-LANG.patch 1464 RMD160 91481ba6b3f7a1d6e22a4ab7003fcee17450f3c1 files/glib-1.2.10-configure-LANG.patch 1464 @@ -37,6 +34,7 @@ AUX glib-2.8.3-macos.patch 307 RMD160 f9212f17245cec6767cc1f0447e461c6e4917a6c S MD5 02673367ae3d806f2df4dd6fbfff54f4 files/glib-2.8.3-macos.patch 307 RMD160 f9212f17245cec6767cc1f0447e461c6e4917a6c files/glib-2.8.3-macos.patch 307 SHA256 2c98a14c2df57484e73525c4cc249a7e1a73da3ae97193b34dbc83981d5df9d6 files/glib-2.8.3-macos.patch 307 +DIST glib-1.2.10-as-needed.patch.bz2 9154 RMD160 b2b27f306b2ae2391acfaf1a4fe3dc29cb11c84e SHA1 eed5f3d5653a201cdc5d3ed6eca3cea55382e478 SHA256 1b936f7bfad4320e0af0b6b8bebfe7aac81e2be816300262d396bffa094b871f DIST glib-1.2.10.tar.gz 421480 RMD160 f19efe8c87ebeea979a4d36902d8a8209640cd95 SHA1 e5a9361c594608d152d5d9650154c2e3260b87fa SHA256 6e1ce7eedae713b11db82f11434d455d8a1379f783a79812cd2e05fc024a8d9f DIST glib-2.10.3.tar.bz2 2774011 RMD160 da56e238f4f6e9c6e7c08d4e53f75128b5178047 SHA1 bba1dea73c4426f6a130c82e0b7a07b78dfc73ce SHA256 1d3700e35ca7240a9ce28cf222429648ea50271d62524e008191ccd04a3f8f6f DIST glib-2.12.4.tar.bz2 2868828 RMD160 3aac5f23cedcef25f7fd7acb6d4ebfa744e38edc SHA1 35be8f8a7ce47bb0f53ffcd50605a6f9596ebd04 SHA256 1b1a0dc746a07c67aad15e22e3d751c3e7068c889d171efb1ab45efbab87c75d @@ -44,10 +42,10 @@ DIST glib-2.12.6.tar.bz2 2902553 RMD160 a7bf002c5baf6fedce54eaf47109b5a193578d89 DIST glib-2.12.7.tar.bz2 2900849 RMD160 0c95bd3a5970263b72be9cacfc64c0e7f4bbe254 SHA1 42024d775f5b1550c0f86091609cd1c7d1440413 SHA256 e25321ab635eb6e4ec42135600a5ac9a1327e910d3aed0edf97fff30500747b2 DIST glib-2.12.9.tar.bz2 2902738 RMD160 f762b65131f5c1f30ee2e25cb771c296715e6bd6 SHA1 387da30929047ef88a6f369831a34f41a3d027f7 SHA256 10113e7b91f858557c7edb4b611cc009855c5ff8663af54977a65acb69445058 DIST glib-2.8.6.tar.bz2 2691171 RMD160 54b3b5c96f5050793fbadbd523bc33b6bd36b257 SHA1 28731dc4799efc1824610971c88a571f18bd8471 SHA256 e2da2eec8c87dccdbce16dcd77489d225b613074764f2f39f2815db15b5deeea -EBUILD glib-1.2.10-r5.ebuild 1593 RMD160 d7cf1e11dd79c3f235f431cdbd6ccb2a7fc11e16 SHA1 e1add46b51f1714d41f92537af1c0cc6d91464eb SHA256 35dcf2f215bef0874dce8d238054f1061b31ffa9ba3f4c448a76817bae6d2fdb -MD5 600d0784cbd687a993c61e3b4c4acf19 glib-1.2.10-r5.ebuild 1593 -RMD160 d7cf1e11dd79c3f235f431cdbd6ccb2a7fc11e16 glib-1.2.10-r5.ebuild 1593 -SHA256 35dcf2f215bef0874dce8d238054f1061b31ffa9ba3f4c448a76817bae6d2fdb glib-1.2.10-r5.ebuild 1593 +EBUILD glib-1.2.10-r5.ebuild 1784 RMD160 5bc54e66d407b27e8d40d8c602a484a3a00b266c SHA1 aeeaf29fdb2a75757a4b353c648cf67597297397 SHA256 7beb1847e0418012be6fb9c14af1cfd21d09c660d0b17c32970489d1c01b7b4d +MD5 6d1825c9f89a38bd0563e0656d5d0d34 glib-1.2.10-r5.ebuild 1784 +RMD160 5bc54e66d407b27e8d40d8c602a484a3a00b266c glib-1.2.10-r5.ebuild 1784 +SHA256 7beb1847e0418012be6fb9c14af1cfd21d09c660d0b17c32970489d1c01b7b4d glib-1.2.10-r5.ebuild 1784 EBUILD glib-2.10.3-r1.ebuild 2142 RMD160 d280350f65d4ea8f27c1425be56eb088ff0d559e SHA1 07267bfcfbb7b000739077adcc75b7ea7424ecb6 SHA256 5e5a25238241e89f52171b7e704744b87c2c0ac34e822df618aee2091c184983 MD5 c56c7b2e3c836e8da7639a7e396cedad glib-2.10.3-r1.ebuild 2142 RMD160 d280350f65d4ea8f27c1425be56eb088ff0d559e glib-2.10.3-r1.ebuild 2142 @@ -76,17 +74,17 @@ EBUILD glib-2.8.6.ebuild 1586 RMD160 5f33daf4eb864f33d091baa7e9eb038a4ced9705 SH MD5 86a8a7a320663e2e62d3e5d655caa664 glib-2.8.6.ebuild 1586 RMD160 5f33daf4eb864f33d091baa7e9eb038a4ced9705 glib-2.8.6.ebuild 1586 SHA256 0e8d42185e9bbee3008004bd262ca31e98b69a150a455a3a1c52ad227d95d584 glib-2.8.6.ebuild 1586 -MISC ChangeLog 28443 RMD160 007f52e8459e78c8cdceeea907842b7ac5086add SHA1 5583de518a725fc87e1946f0dd8bd2849ab9a372 SHA256 29f80fa962014e08b66de5de9bd3086ce9e246aa662f48dac78fe0722a840cd0 -MD5 b25b4c265126196ac78b295edeec0516 ChangeLog 28443 -RMD160 007f52e8459e78c8cdceeea907842b7ac5086add ChangeLog 28443 -SHA256 29f80fa962014e08b66de5de9bd3086ce9e246aa662f48dac78fe0722a840cd0 ChangeLog 28443 +MISC ChangeLog 28565 RMD160 0166ffeca2e1e52194331ddd4bdd65c785abf27d SHA1 9bf1d7b7200cfefb765b8f2af7a72699124b6ccd SHA256 12a1f46fa480b86281fe0b9c26446f786c1cbe80be14fddb935b52532e376cba +MD5 f3931ba35bd273a0165573c4aaea5a23 ChangeLog 28565 +RMD160 0166ffeca2e1e52194331ddd4bdd65c785abf27d ChangeLog 28565 +SHA256 12a1f46fa480b86281fe0b9c26446f786c1cbe80be14fddb935b52532e376cba ChangeLog 28565 MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 metadata.xml 158 -MD5 876d16a229a984a1e2baf33f478f86c8 files/digest-glib-1.2.10-r5 235 -RMD160 738c8b7b0bab0cef6faecf7859684e7af24209c1 files/digest-glib-1.2.10-r5 235 -SHA256 230915c508b16b95f5b3635e9d1db749edc7ef3f55b9436b66ddf8a3b689851c files/digest-glib-1.2.10-r5 235 +MD5 4f4fce98a00fc5d449f2002fa736cadb files/digest-glib-1.2.10-r5 503 +RMD160 d4cae8d9da2f5567dcb4de47ab5ac6b062557d85 files/digest-glib-1.2.10-r5 503 +SHA256 08375bd7cdab2e84d1bab06468359d6492a66cfff5926e8879e4f718147c94a8 files/digest-glib-1.2.10-r5 503 MD5 0df06eb2ed92ba9f4d2c76d5848b9d31 files/digest-glib-2.10.3 241 RMD160 315111941f64e8af6d32867de75539300af2fd64 files/digest-glib-2.10.3 241 SHA256 d26cfbb6a042eef4f64ad487901b9f1ac518d1b68ae6d9210dc4c360d296b122 files/digest-glib-2.10.3 241 @@ -108,10 +106,3 @@ SHA256 1148de471d6405c9732db5dcfa51d665374d3d29ace118b50ced97b0d372a49b files/di MD5 411587311906220fe4765e5ccb81bbe1 files/digest-glib-2.8.6 238 RMD160 5da8cbdd26807e9d44a548d9064a1405176e2630 files/digest-glib-2.8.6 238 SHA256 30e7d4f7ac387cfa98e6c775cf1888a204523c609bc32d90ff24b7ff0900efc3 files/digest-glib-2.8.6 238 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) - -iD8DBQFFw2OyKRy60XGEcJIRAnwmAJ9KDLWBvaxFOAQx0aga6OMS2ne4oQCgsuo0 -mxGAVcTw4LVEOFkObJJExRw= -=BAl6 ------END PGP SIGNATURE----- diff --git a/dev-libs/glib/files/digest-glib-1.2.10-r5 b/dev-libs/glib/files/digest-glib-1.2.10-r5 index 96a13f45e8f6..1d9a8d751047 100644 --- a/dev-libs/glib/files/digest-glib-1.2.10-r5 +++ b/dev-libs/glib/files/digest-glib-1.2.10-r5 @@ -1,3 +1,6 @@ +MD5 76ddfaee351b80646a866cbc6870e709 glib-1.2.10-as-needed.patch.bz2 9154 +RMD160 b2b27f306b2ae2391acfaf1a4fe3dc29cb11c84e glib-1.2.10-as-needed.patch.bz2 9154 +SHA256 1b936f7bfad4320e0af0b6b8bebfe7aac81e2be816300262d396bffa094b871f glib-1.2.10-as-needed.patch.bz2 9154 MD5 6fe30dad87c77b91b632def29dd69ef9 glib-1.2.10.tar.gz 421480 RMD160 f19efe8c87ebeea979a4d36902d8a8209640cd95 glib-1.2.10.tar.gz 421480 SHA256 6e1ce7eedae713b11db82f11434d455d8a1379f783a79812cd2e05fc024a8d9f glib-1.2.10.tar.gz 421480 diff --git a/dev-libs/glib/glib-1.2.10-r5.ebuild b/dev-libs/glib/glib-1.2.10-r5.ebuild index f21b597fcd51..b6f1df15aff5 100644 --- a/dev-libs/glib/glib-1.2.10-r5.ebuild +++ b/dev-libs/glib/glib-1.2.10-r5.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.48 2006/11/03 15:04:21 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.49 2007/02/03 08:34:21 compnerd Exp $ -inherit libtool flag-o-matic eutils portability +WANT_AUTOMAKE="1.4" + +inherit autotools libtool flag-o-matic eutils portability DESCRIPTION="The GLib library of C routines" HOMEPAGE="http://www.gtk.org/" SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz - ftp://ftp.gnome.org/pub/GNOME/stable/sources/glib/${P}.tar.gz" + ftp://ftp.gnome.org/pub/GNOME/stable/sources/glib/${P}.tar.gz + mirror://gentoo/glib-1.2.10-as-needed.patch.bz2" LICENSE="LGPL-2.1" SLOT="1" @@ -26,9 +29,14 @@ src_unpack() { # Allow glib to build with gcc-3.4.x #47047 epatch "${FILESDIR}"/${P}-gcc34-fix.patch - elibtoolize + # Fix for -Wl,--as-needed (bug #133818) + epatch "${DISTDIR}"/glib-1.2.10-as-needed.patch.bz2 + use ppc64 && use hardened && replace-flags -O[2-3] -O1 append-ldflags $(dlopen_lib) + + eautoreconf + elibtoolize } src_compile() {