head 1.2; access; symbols pkgsrc-2018Q1:1.1.0.12 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.10 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.8 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.4 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.2; locks; strict; comment @// @; 1.2 date 2018.04.29.05.55.14; author wiz; state dead; branches; next 1.1; commitid ql1hyrcvjqj8DiAA; 1.1 date 2017.05.24.13.22.36; author jperkin; state Exp; branches 1.1.2.1; next ; commitid ta5nuzBtwz1d2ESz; 1.1.2.1 date 2017.05.24.13.22.36; author bsiegert; state dead; branches; next 1.1.2.2; commitid rFZzXg64QmF0rXTz; 1.1.2.2 date 2017.06.03.18.33.37; author bsiegert; state Exp; branches; next ; commitid rFZzXg64QmF0rXTz; desc @@ 1.2 log @spidermonkey17: remove obsolete and unused package @ text @$NetBSD: patch-js_src_shell_jsoptparse.cpp,v 1.1 2017/05/24 13:22:36 jperkin Exp $ Pointer fix. --- js/src/shell/jsoptparse.cpp.orig 2013-02-11 22:33:23.000000000 +0000 +++ js/src/shell/jsoptparse.cpp @@@@ -243,7 +243,7 @@@@ OptionParser::extractValue(size_t argc, char *eq = strchr(argv[*i], '='); if (eq) { *value = eq + 1; - if (value[0] == '\0') + if (*value[0] == '\0') return error("A value is required for option %.*s", eq - argv[*i], argv[*i]); return Okay; } @ 1.1 log @Pointer fix, found by GCC 7.1. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-js_src_shell_jsoptparse.cpp was added on branch pkgsrc-2017Q1 on 2017-06-03 18:33:37 +0000 @ text @d1 15 @ 1.1.2.2 log @Pullup ticket #5465 - requested by sevan lang/spidermonkey17: bugfix Revisions pulled up: - lang/spidermonkey17/distinfo 1.8 - lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp 1.1 --- Module Name: pkgsrc Committed By: jperkin Date: Wed May 24 13:22:36 UTC 2017 Modified Files: pkgsrc/lang/spidermonkey17: distinfo Added Files: pkgsrc/lang/spidermonkey17/patches: patch-js_src_shell_jsoptparse.cpp Log Message: Pointer fix, found by GCC 7.1. @ text @a0 15 $NetBSD: patch-js_src_shell_jsoptparse.cpp,v 1.1 2017/05/24 13:22:36 jperkin Exp $ Pointer fix. --- js/src/shell/jsoptparse.cpp.orig 2013-02-11 22:33:23.000000000 +0000 +++ js/src/shell/jsoptparse.cpp @@@@ -243,7 +243,7 @@@@ OptionParser::extractValue(size_t argc, char *eq = strchr(argv[*i], '='); if (eq) { *value = eq + 1; - if (value[0] == '\0') + if (*value[0] == '\0') return error("A value is required for option %.*s", eq - argv[*i], argv[*i]); return Okay; } @