mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 18:12:08 +02:00
sys-devel/make: Apply Flatcar modifications
This commit is contained in:
parent
7dbd5615d1
commit
c6683a158e
2
sdk_container/src/third_party/coreos-overlay/sys-devel/make/README.md
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/sys-devel/make/README.md
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
We forked this package to carry a patch that we will try to upstream
|
||||||
|
to both GNU Make and to Gentoo.
|
@ -0,0 +1,23 @@
|
|||||||
|
diff -u -r make-4.3/src/output.c make-4.3-fix/src/output.c
|
||||||
|
--- make-4.3/src/output.c 2020-01-03 07:11:27.000000000 -0000
|
||||||
|
+++ make-4.3-fix/src/output.c 2022-08-17 07:35:01.473471281 -0000
|
||||||
|
@@ -286,15 +286,16 @@
|
||||||
|
FILE *tfile = tmpfile ();
|
||||||
|
|
||||||
|
if (! tfile)
|
||||||
|
- pfatal_with_name ("tmpfile");
|
||||||
|
+ return -1;
|
||||||
|
|
||||||
|
/* Create a duplicate so we can close the stream. */
|
||||||
|
fd = dup (fileno (tfile));
|
||||||
|
- if (fd < 0)
|
||||||
|
- pfatal_with_name ("dup");
|
||||||
|
|
||||||
|
fclose (tfile);
|
||||||
|
|
||||||
|
+ if (fd < 0)
|
||||||
|
+ return -1;
|
||||||
|
+
|
||||||
|
set_append_mode (fd);
|
||||||
|
|
||||||
|
umask (mask);
|
@ -30,6 +30,7 @@ RDEPEND="${DEPEND}
|
|||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/${PN}-3.82-darwin-library_search-dylib.patch
|
"${FILESDIR}"/${PN}-3.82-darwin-library_search-dylib.patch
|
||||||
"${FILESDIR}"/${PN}-4.2-default-cxx.patch
|
"${FILESDIR}"/${PN}-4.2-default-cxx.patch
|
||||||
|
"${FILESDIR}"/${PN}-4.3-handle-tmpfile-fail.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user