summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-12-12 13:57:12 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-12-12 13:57:12 +0000
commit2bd882ba94e121a5b8595d79c07ad5882d467d0f (patch)
treea26a5c1dbb607a67ddad94a5486d2859623290e0 /dev-libs/nspr/files
parentSparc stable --- part of Bug #201984. (diff)
downloadgentoo-2-2bd882ba94e121a5b8595d79c07ad5882d467d0f.tar.gz
gentoo-2-2bd882ba94e121a5b8595d79c07ad5882d467d0f.tar.bz2
gentoo-2-2bd882ba94e121a5b8595d79c07ad5882d467d0f.zip
Version bump, remove old
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-libs/nspr/files')
-rw-r--r--dev-libs/nspr/files/digest-nspr-4.6.63
-rw-r--r--dev-libs/nspr/files/digest-nspr-4.7.0_pre200710163
-rw-r--r--dev-libs/nspr/files/nspr-4.7.0-prtime.patch26
3 files changed, 29 insertions, 3 deletions
diff --git a/dev-libs/nspr/files/digest-nspr-4.6.6 b/dev-libs/nspr/files/digest-nspr-4.6.6
deleted file mode 100644
index 5de600aa3ef0..000000000000
--- a/dev-libs/nspr/files/digest-nspr-4.6.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 ba49bc35e2068f54893d3ea7031ad59c nspr-4.6.6.tar.gz 1302662
-RMD160 d296242b55ce88f665c91ab0f13e03e1a54c1552 nspr-4.6.6.tar.gz 1302662
-SHA256 710125fce83bd6eb85bb48b432d8a62f7a666014ff8e0ff9f3cc93fdfd3d161d nspr-4.6.6.tar.gz 1302662
diff --git a/dev-libs/nspr/files/digest-nspr-4.7.0_pre20071016 b/dev-libs/nspr/files/digest-nspr-4.7.0_pre20071016
new file mode 100644
index 000000000000..dbeb1bb0d888
--- /dev/null
+++ b/dev-libs/nspr/files/digest-nspr-4.7.0_pre20071016
@@ -0,0 +1,3 @@
+MD5 6866cd2662310df7a53edf70d2ab91af nspr-4.7.0_pre20071016.tar.bz2 977877
+RMD160 d0aee49a5a90094b11013e16bfc5afb03d07ca0d nspr-4.7.0_pre20071016.tar.bz2 977877
+SHA256 27722468f440e89e32b6be553d28e5217a3f613216231067819df419ffbced7d nspr-4.7.0_pre20071016.tar.bz2 977877
diff --git a/dev-libs/nspr/files/nspr-4.7.0-prtime.patch b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch
new file mode 100644
index 000000000000..ac509ef23d5c
--- /dev/null
+++ b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch
@@ -0,0 +1,26 @@
+--- mozilla/nsprpub/pr/src/misc/prtime.c.orig 2007-09-14 19:41:08.000000000 +0200
++++ mozilla/nsprpub/pr/src/misc/prtime.c 2007-09-14 19:42:17.000000000 +0200
+@@ -1536,7 +1536,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;
+ }
+ }
+@@ -1578,11 +1578,12 @@
+ struct tm localTime;
+ time_t secs;
+
+- PR_ASSERT(result->tm_month > -1 &&
++ if (!(result->tm_month > -1 &&
+ result->tm_mday > 0 &&
+ result->tm_hour > -1 &&
+ result->tm_min > -1 &&
+- result->tm_sec > -1);
++ result->tm_sec > -1))
++ return PR_FAILURE;
+
+ /*
+ * To obtain time_t from a tm structure representing the local