diff options
author | Jory Pratt <anarchy@gentoo.org> | 2006-02-23 18:23:13 +0000 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2006-02-23 18:23:13 +0000 |
commit | b07529a7a51873cf0777580caadf88e430711a14 (patch) | |
tree | 5cea9813fccdda74b4b81b96d3d9a426607febd9 /dev-libs | |
parent | Stable on sparc wrt #123829 (diff) | |
download | gentoo-2-b07529a7a51873cf0777580caadf88e430711a14.tar.gz gentoo-2-b07529a7a51873cf0777580caadf88e430711a14.tar.bz2 gentoo-2-b07529a7a51873cf0777580caadf88e430711a14.zip |
patch prtime for sparc and possible other archs
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/nspr/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/nspr/Manifest | 9 | ||||
-rw-r--r-- | dev-libs/nspr/files/digest-nspr-4.6.1-r3 (renamed from dev-libs/nspr/files/digest-nspr-4.6.1-r1) | 0 | ||||
-rw-r--r-- | dev-libs/nspr/files/nspr-4.6.1-prtime.patch | 26 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.6.1-r3.ebuild (renamed from dev-libs/nspr/nspr-4.6.1-r1.ebuild) | 15 |
5 files changed, 54 insertions, 4 deletions
diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog index 4285c088c6da..098c779bed25 100644 --- a/dev-libs/nspr/ChangeLog +++ b/dev-libs/nspr/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/nspr # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.43 2006/02/09 19:10:46 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.44 2006/02/23 18:23:13 anarchy Exp $ + +*nspr-4.6.1-r3 (23 Feb 2006) + + 23 Feb 2006; <anarchy@gentoo.org> +files/nspr-4.6.1-prtime.patch, + -nspr-4.6.1-r1.ebuild, +nspr-4.6.1-r3.ebuild: + fix to prtime for sparc and other archs *nspr-4.6.1-r2 (09 Feb 2006) diff --git a/dev-libs/nspr/Manifest b/dev-libs/nspr/Manifest index 2ec44970e072..154ef2b3a809 100644 --- a/dev-libs/nspr/Manifest +++ b/dev-libs/nspr/Manifest @@ -19,6 +19,9 @@ SHA256 b805dd573493dd35dd96a8a19953a5e24ce9ef084e0b852ec971b660a7d26879 files/di MD5 fb58705dbbaf7c7f4b07bffeebd05eca files/digest-nspr-4.6.1-r2 521 RMD160 af32f7cce9bc9f9f01298df4e58704cf199eb693 files/digest-nspr-4.6.1-r2 521 SHA256 b805dd573493dd35dd96a8a19953a5e24ce9ef084e0b852ec971b660a7d26879 files/digest-nspr-4.6.1-r2 521 +MD5 fb58705dbbaf7c7f4b07bffeebd05eca files/digest-nspr-4.6.1-r3 521 +RMD160 af32f7cce9bc9f9f01298df4e58704cf199eb693 files/digest-nspr-4.6.1-r3 521 +SHA256 b805dd573493dd35dd96a8a19953a5e24ce9ef084e0b852ec971b660a7d26879 files/digest-nspr-4.6.1-r3 521 MD5 b12990968c289b9e7f8fbb2174ec827c files/nspr-4.3-amd64.patch 7713 RMD160 33bc221a8f59c5b7175784b777693aa19e027e4a files/nspr-4.3-amd64.patch 7713 SHA256 da682b4d50a6093750f621afecf91f04380e0379207b82dfd6f283f714db8fde files/nspr-4.3-amd64.patch 7713 @@ -40,6 +43,9 @@ SHA256 1a8f18ecff6d28b0ce92a3d59e4eb844d79e9d25eed401e6dc66c33b03f59613 files/ns MD5 e8905b71dabc2551ce9744076eb7cdb7 files/nspr-4.6.1-lang.patch 1718 RMD160 6c3fb440f4b4004289de3f65b996936bcfcbaa45 files/nspr-4.6.1-lang.patch 1718 SHA256 326f5f9d020e73a6ed8e949124eb075f21d856d0b099b8d04035ecc937cd35fb files/nspr-4.6.1-lang.patch 1718 +MD5 427516bd171200f54d93738aa4c1ab28 files/nspr-4.6.1-prtime.patch 1003 +RMD160 20a8efaffdaf51d55566c14ebac1f40d3f22303b files/nspr-4.6.1-prtime.patch 1003 +SHA256 54ed12024f4fd65bb911279faab18665b00429c7d0811c7485d4ff5c2c436237 files/nspr-4.6.1-prtime.patch 1003 MD5 215e4174aea8d00c45ee29f021a68a4e files/nspr.pc.in 250 RMD160 4b09e190d343398d26568ed0dce821f951128782 files/nspr.pc.in 250 SHA256 af16b4d93fe4615572ea1af025ff7b56763c734a4d946bb20abd62b032e08639 files/nspr.pc.in 250 @@ -64,3 +70,6 @@ SHA256 58d44cedd011ab8ad8b8ae358d3b06e28e2d4ce01bbdc232778b297587b94cb8 nspr-4.6 MD5 0bc517db79b53b131a1a1fb0fb6387cc nspr-4.6.1-r2.ebuild 2786 RMD160 de4db9490a66c3b6156adcd37bf24bab8b3baadc nspr-4.6.1-r2.ebuild 2786 SHA256 616324649ea818ba6cf6e6c10b356489fd1675fda9e9eb4648af239e55dac60a nspr-4.6.1-r2.ebuild 2786 +MD5 ce00505b5695bba62e12cd7500a0d6ae nspr-4.6.1-r3.ebuild 2836 +RMD160 374426c0ee5186910e8fd250fb6c72c52057c6e3 nspr-4.6.1-r3.ebuild 2836 +SHA256 8fb79051f3ab9612e891d3422513a5523b7e6596f4a5eeb0bd68fe425aaf592c nspr-4.6.1-r3.ebuild 2836 diff --git a/dev-libs/nspr/files/digest-nspr-4.6.1-r1 b/dev-libs/nspr/files/digest-nspr-4.6.1-r3 index 4cf781ba3664..4cf781ba3664 100644 --- a/dev-libs/nspr/files/digest-nspr-4.6.1-r1 +++ b/dev-libs/nspr/files/digest-nspr-4.6.1-r3 diff --git a/dev-libs/nspr/files/nspr-4.6.1-prtime.patch b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch new file mode 100644 index 000000000000..4839838f2b06 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch @@ -0,0 +1,26 @@ +--- mozilla/nsprpub/pr/src/misc/prtime.c-orig 2004-04-25 10:01:01.000000000 -0500 ++++ mozilla/nsprpub/pr/src/misc/prtime.c 2006-02-23 12:07:35.098166000 -0600 +@@ -1509,7 +1509,7 @@ + case TT_EET: zone_offset = 2 * 60; break; + case TT_JST: zone_offset = 9 * 60; break; + default: +- PR_ASSERT (0); ++ return PR_FAILURE; + break; + } + } +@@ -1551,11 +1551,12 @@ + struct tm localTime; + time_t secs; + +- PR_ASSERT(tm.tm_month > -1 ++ if (!(tm.tm_month > -1 + && tm.tm_mday > 0 + && tm.tm_hour > -1 + && tm.tm_min > -1 +- && tm.tm_sec > -1); ++ && tm.tm_sec > -1)) ++ return PR_FAILURE; + + /* + * To obtain time_t from a tm structure representing the local diff --git a/dev-libs/nspr/nspr-4.6.1-r1.ebuild b/dev-libs/nspr/nspr-4.6.1-r3.ebuild index 551a61ed00e2..b9cc98d7eb89 100644 --- a/dev-libs/nspr/nspr-4.6.1-r1.ebuild +++ b/dev-libs/nspr/nspr-4.6.1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.6.1-r1.ebuild,v 1.3 2006/02/08 13:42:12 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.6.1-r3.ebuild,v 1.1 2006/02/23 18:23:13 anarchy Exp $ inherit eutils gnuconfig @@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar LICENSE="MPL-1.1" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ipv6" DEPEND="" @@ -24,7 +24,9 @@ src_unpack() { epatch "${FILESDIR}"/${P}-gcc-visibility.patch epatch "${DISTDIR}"/${P}-disable-gcc-ansi.patch.bz2 epatch "${FILESDIR}"/${P}-config.patch + epatch "${FILESDIR}"/${P}-config-1.patch epatch "${FILESDIR}"/${P}-lang.patch + epatch "${FILESDIR}"/${P}-prtime.patch gnuconfig_update } @@ -54,6 +56,7 @@ src_compile() { src_install () { # Their build system is royally fucked, as usual + MINOR_VERSION=6 cd ${S}/build make install insinto /usr @@ -76,7 +79,13 @@ src_install () { if [ "lib" != "$(get_libdir)" ] ; then mv ${D}/usr/lib ${D}/usr/$(get_libdir) fi - + #and while at it move them to files with versions-ending + #and link them back :) + cd ${D}/usr/$(get_libdir)/nspr + for file in *.so; do + mv ${file} ${file}.${MINOR_VERSION} + ln -s ${file}.${MINOR_VERSION} ${file} + done # cope with libraries being in /usr/lib/nspr dodir /etc/env.d echo "LDPATH=/usr/$(get_libdir)/nspr" > ${D}/etc/env.d/08nspr |