aboutsummaryrefslogtreecommitdiffstats
path: root/main/make/fix-atexit-exit.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-18 13:12:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-18 13:12:32 +0000
commit4b09bbb9e2e79afdb8264c4d56361ca5b8756f30 (patch)
tree6d2191ae6dd7448c36c57403b2ac2dc83ce604f7 /main/make/fix-atexit-exit.patch
parentb6709fdde1a36e6d9c14f9af122179f123450ff2 (diff)
downloadaports-4b09bbb9e2e79afdb8264c4d56361ca5b8756f30.tar.gz
aports-4b09bbb9e2e79afdb8264c4d56361ca5b8756f30.tar.bz2
aports-4b09bbb9e2e79afdb8264c4d56361ca5b8756f30.tar.xz
main/make: upgrade to 4.0
Diffstat (limited to 'main/make/fix-atexit-exit.patch')
-rw-r--r--main/make/fix-atexit-exit.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/make/fix-atexit-exit.patch b/main/make/fix-atexit-exit.patch
index dd7cc25f79..1507a2a3b0 100644
--- a/main/make/fix-atexit-exit.patch
+++ b/main/make/fix-atexit-exit.patch
@@ -4,9 +4,9 @@ POSIX says the behaviour is undefined if atexit callback calls
exit(). On glibc it works, but on musl it does not. Call instead
_exit() which is guaranteed to work.
---- make-3.82.orig/misc.c
-+++ make-3.82/misc.c
-@@ -954,6 +954,6 @@
+--- make-4.0/output.c.orig 2013-10-06 02:12:24.000000000 +0300
++++ make-4.0/output.c 2013-10-18 15:43:23.502563018 +0300
+@@ -515,7 +515,7 @@
error (NILF, _("write error: %s"), strerror (errno));
else
error (NILF, _("write error"));
@@ -14,3 +14,5 @@ _exit() which is guaranteed to work.
+ _exit (EXIT_FAILURE);
}
}
+
+