summaryrefslogtreecommitdiff
path: root/private/gcc-latest/patches/gcc-no_fixincludes.diff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2023-02-20 08:57:04 +0100
committerEugen Wissner <belka@caraus.de>2023-02-20 08:57:04 +0100
commitbd84f6bbf0e05454762531c439628931c1cb4221 (patch)
tree74f385e081d80b3a2b210636975f2e9d65e4d0c4 /private/gcc-latest/patches/gcc-no_fixincludes.diff
parentad02a3fa388930240905d23554969bd46eb3c5f1 (diff)
downloadslackbuilder-bd84f6bbf0e05454762531c439628931c1cb4221.tar.gz
Revert "gcc-latest: Removed"
This reverts commit 729946afaf3d265a0abb541dc553d76b2e422665.
Diffstat (limited to 'private/gcc-latest/patches/gcc-no_fixincludes.diff')
-rw-r--r--private/gcc-latest/patches/gcc-no_fixincludes.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/private/gcc-latest/patches/gcc-no_fixincludes.diff b/private/gcc-latest/patches/gcc-no_fixincludes.diff
new file mode 100644
index 0000000..e152e08
--- /dev/null
+++ b/private/gcc-latest/patches/gcc-no_fixincludes.diff
@@ -0,0 +1,27 @@
+--- ./gcc/Makefile.in.orig 2018-03-09 09:24:44.000000000 -0600
++++ ./gcc/Makefile.in 2018-05-02 12:25:43.958002771 -0500
+@@ -3004,9 +3004,9 @@
+ chmod a+r $${fix_dir}/limits.h; \
+ done
+ # Install the README
+- rm -f include-fixed/README
+- cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
+- chmod a+r include-fixed/README
++# rm -f include-fixed/README
++# cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
++# chmod a+r include-fixed/README
+ $(STAMP) $@
+
+ .PHONY: install-gcc-tooldir
+@@ -3087,10 +3087,7 @@
+ (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
+ SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
+ gcc_dir=`${PWD_COMMAND}` ; \
+- export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
+- cd $(build_objdir)/fixincludes && \
+- $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
+- $(BUILD_SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
++ export TARGET_MACHINE srcdir SHELL MACRO_LIST ); \
+ rm -f $${fix_dir}/syslimits.h; \
+ if [ -f $${fix_dir}/limits.h ]; then \
+ mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \