diff options
author | 2020-03-31 19:50:25 +0200 | |
---|---|---|
committer | 2020-03-31 19:50:39 +0200 | |
commit | 6458568d4caf17cc987048da66c6d7d1bf61b305 (patch) | |
tree | 42431ca1aa89a36652f9a632f392540ef1a63e43 /dev-libs/nspr/files | |
parent | dev-libs/nss: security cleanup (#627534) (diff) | |
download | gentoo-6458568d4caf17cc987048da66c6d7d1bf61b305.tar.gz gentoo-6458568d4caf17cc987048da66c6d7d1bf61b305.tar.bz2 gentoo-6458568d4caf17cc987048da66c6d7d1bf61b305.zip |
dev-libs/nspr: drop old
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/nspr/files')
-rw-r--r-- | dev-libs/nspr/files/nspr-4.7.0-prtime.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-libs/nspr/files/nspr-4.7.0-prtime.patch b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch deleted file mode 100644 index 2de3ba344578..000000000000 --- a/dev-libs/nspr/files/nspr-4.7.0-prtime.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/pr/src/misc/prtime.c -+++ b/pr/src/misc/prtime.c -@@ -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 |