summaryrefslogtreecommitdiff
path: root/devel/gmake/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-05-23 16:50:58 +0000
committerwiz <wiz@pkgsrc.org>2016-05-23 16:50:58 +0000
commit7f92719ef55133aa7c592049c9d9df8db0e139f4 (patch)
tree7f2bc8106843b2bddd7ee57b3fc753f01eeebb11 /devel/gmake/patches
parent09d82b6a9544a2944013e6e4bfbab86bf7b07594 (diff)
downloadpkgsrc-7f92719ef55133aa7c592049c9d9df8db0e139f4.tar.gz
Update gmake to 4.2:
Version 4.2 (22 May 2016) A complete list of bugs fixed in this version is available here: http://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=106&set=custom * New variable: $(.SHELLSTATUS) is set to the exit status of the last != or $(shell ...) function invoked in this instance of make. This will be "0" if successful or not "0" if not successful. The variable value is unset if no != or $(shell ...) function has been invoked. * The $(file ...) function can now read from a file with $(file <FILE). The function is expanded to the contents of the file. The contents are expanded verbatim except that the final newline, if any, is stripped. * The makefile line numbers shown by GNU make now point directly to the specific line in the recipe where the failure or warning occurred. Sample changes suggested by Brian Vandenberg <phantall@gmail.com> * The interface to GNU make's "jobserver" is stable as documented in the manual, for tools which may want to access it. WARNING: Backward-incompatibility! The internal-only command line option --jobserver-fds has been renamed for publishing, to --jobserver-auth. * The amount of parallelism can be determined by querying MAKEFLAGS, even when the job server is enabled (previously MAKEFLAGS would always contain only "-j", with no number, when job server was enabled). * VMS-specific changes: * Perl test harness now works. * Full support for converting Unix exit status codes to VMS exit status codes. BACKWARD INCOMPATIBILITY Notice: On a child failure the VMS exit code is now the encoded Unix exit status that Make usually generates, not the VMS exit status of the child.
Diffstat (limited to 'devel/gmake/patches')
-rw-r--r--devel/gmake/patches/patch-main.c30
-rw-r--r--devel/gmake/patches/patch-makeint.h19
2 files changed, 0 insertions, 49 deletions
diff --git a/devel/gmake/patches/patch-main.c b/devel/gmake/patches/patch-main.c
deleted file mode 100644
index d2ea26c342a..00000000000
--- a/devel/gmake/patches/patch-main.c
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-main.c,v 1.1 2014/11/09 03:22:57 obache Exp $
-
-* [SV 43434] Handle NULL returns from ttyname().
-
---- main.c.orig 2014-10-05 16:24:51.000000000 +0000
-+++ main.c
-@@ -1401,13 +1401,18 @@ main (int argc, char **argv, char **envp
- #ifdef HAVE_ISATTY
- if (isatty (fileno (stdout)))
- if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMOUT")))
-- define_variable_cname ("MAKE_TERMOUT", TTYNAME (fileno (stdout)),
-- o_default, 0)->export = v_export;
--
-+ {
-+ const char *tty = TTYNAME (fileno (stdout));
-+ define_variable_cname ("MAKE_TERMOUT", tty ? tty : DEFAULT_TTYNAME,
-+ o_default, 0)->export = v_export;
-+ }
- if (isatty (fileno (stderr)))
- if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMERR")))
-- define_variable_cname ("MAKE_TERMERR", TTYNAME (fileno (stderr)),
-- o_default, 0)->export = v_export;
-+ {
-+ const char *tty = TTYNAME (fileno (stderr));
-+ define_variable_cname ("MAKE_TERMERR", tty ? tty : DEFAULT_TTYNAME,
-+ o_default, 0)->export = v_export;
-+ }
- #endif
-
- /* Reset in case the switches changed our minds. */
diff --git a/devel/gmake/patches/patch-makeint.h b/devel/gmake/patches/patch-makeint.h
deleted file mode 100644
index 0fab5e6ad37..00000000000
--- a/devel/gmake/patches/patch-makeint.h
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-makeint.h,v 1.1 2014/11/09 03:22:57 obache Exp $
-
-* [SV 43434] Handle NULL returns from ttyname().
-
---- makeint.h.orig 2014-10-05 16:24:51.000000000 +0000
-+++ makeint.h
-@@ -424,10 +424,11 @@ extern struct rlimit stack_limit;
- /* The number of bytes needed to represent the largest integer as a string. */
- #define INTSTR_LENGTH CSTRLEN ("18446744073709551616")
-
-+#define DEFAULT_TTYNAME "true"
- #ifdef HAVE_TTYNAME
- # define TTYNAME(_f) ttyname (_f)
- #else
--# define TTYNAME(_f) "true"
-+# define TTYNAME(_f) DEFAULT_TTYNAME
- #endif
-
-