diff --git a/dev-libs/nspr/files/nspr-4.6.1-prtime.patch b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch deleted file mode 100644 --- a/dev-libs/nspr/files/nspr-4.6.1-prtime.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- 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