aboutsummaryrefslogtreecommitdiffstats
path: root/main/nspr/nspr-4.7.0-prtime.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-08 09:11:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-08 09:11:19 +0000
commit5c1dc7adfc56440f38fe2ed931ffa9d9ad9f3b45 (patch)
treee4b499ecb5b4cc91d01ec9d8005fa445bf636b66 /main/nspr/nspr-4.7.0-prtime.patch
parentbd22b5bbedc544034ab5264e5bcfd64c5b8bcb96 (diff)
downloadaports-5c1dc7adfc56440f38fe2ed931ffa9d9ad9f3b45.tar.bz2
aports-5c1dc7adfc56440f38fe2ed931ffa9d9ad9f3b45.tar.xz
main/nspr: upgrade to 4.10
Diffstat (limited to 'main/nspr/nspr-4.7.0-prtime.patch')
-rw-r--r--main/nspr/nspr-4.7.0-prtime.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/main/nspr/nspr-4.7.0-prtime.patch b/main/nspr/nspr-4.7.0-prtime.patch
deleted file mode 100644
index 74d5534d5a..0000000000
--- a/main/nspr/nspr-4.7.0-prtime.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/mozilla/nsprpub/pr/src/misc/prtime.c.orig 2007-09-14 19:41:08.000000000 +0200
-+++ b/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