pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(cross/retro68) +patch-gcc_newlib_libc_include_sys_features.h



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Wed Jan 31 00:53:56 2024 +0900
Changeset:	746de20fa40d0b9d64946c99d0823d2c6c7d935f

Modified Files:
	retro68/distinfo
Added Files:
	retro68/patches/patch-gcc_newlib_libc_include_sys_features.h

Log Message:
(cross/retro68) +patch-gcc_newlib_libc_include_sys_features.h

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=746de20fa40d0b9d64946c99d0823d2c6c7d935f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 retro68/distinfo                                   |  1 +
 .../patch-gcc_newlib_libc_include_sys_features.h   | 23 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diffs:
diff --git a/retro68/distinfo b/retro68/distinfo
index 7f24aa3a5d..d8f6aa2fab 100644
--- a/retro68/distinfo
+++ b/retro68/distinfo
@@ -8,4 +8,5 @@ SHA1 (patch-PEFTools_MakePEF.cc) = f3f4e71db8d73f98c5e32e6ed1abd09b9535b56f
 SHA1 (patch-ResourceFiles_ResourceFile.cc) = ea73eedfddb408169eb82beef7af132ee99096ef
 SHA1 (patch-gcc_newlib_libc_include___ansi.h) = 8943735eb0a8a9f5143c29b58b45d4bf4a523b21
 SHA1 (patch-gcc_newlib_libc_include_sys_config.h) = b3cee661db099935895c97768477d17d1ca4fdce
+SHA1 (patch-gcc_newlib_libc_include_sys_features.h) = f4784803a1acfcf7d0acf13ba41988a83a7fe7e1
 SHA1 (patch-libelf_src_config.h) = 1a5d86716b8aaf16daaa1e17612b691c0afa32cb
diff --git a/retro68/patches/patch-gcc_newlib_libc_include_sys_features.h b/retro68/patches/patch-gcc_newlib_libc_include_sys_features.h
new file mode 100644
index 0000000000..0ecde91c1c
--- /dev/null
+++ b/retro68/patches/patch-gcc_newlib_libc_include_sys_features.h
@@ -0,0 +1,23 @@
+$NetBSD$
+
+[ 87%] Building CXX object Elf2Mac/CMakeFiles/Elf2Mac.dir/Symbol.cc.o
+In file included from /tmp/wip/retro68/work/Retro68-2019.8.2/PEFTools/../gcc/newlib/libc/include/sys/config.h:5,
+                 from /tmp/wip/retro68/work/Retro68-2019.8.2/PEFTools/../gcc/newlib/libc/include/_ansi.h:11,
+                 from /tmp/wip/retro68/work/Retro68-2019.8.2/PEFTools/../gcc/newlib/libc/include/alloca.h:10,
+                 from /tmp/wip/retro68/work/Retro68-2019.8.2/PEFTools/MakePEF.cc:9:
+/tmp/wip/retro68/work/Retro68-2019.8.2/PEFTools/../gcc/newlib/libc/include/sys/features.h:28:10: fatal error: _newlib_version.h: No such file or directory
+   28 | #include "_newlib_version.h"
+      |          ^~~~~~~~~~~~~~~~~~~
+compilation terminated.
+
+--- PEFTools/../gcc/newlib/libc/include/sys/features.h.orig	2019-08-24 19:56:10.000000000 +0900
++++ PEFTools/../gcc/newlib/libc/include/sys/features.h	2024-01-31 00:27:35.504855452 +0900
+@@ -25,7 +25,7 @@
+ extern "C" {
+ #endif
+ 
+-#include <_newlib_version.h>
++#include "../_newlib_version.h"
+ 
+ /* Macro to test version of GCC.  Returns 0 for non-GCC or too old GCC. */
+ #ifndef __GNUC_PREREQ


Home | Main Index | Thread Index | Old Index