From 1d3b23e6bdbf53eb74161c37d8c355c2ec858a19 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:58:36 +0200 Subject: Adding debian version 14-20240201-3. Signed-off-by: Daniel Baumann --- debian/patches/cross-no-locale-include.diff | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/patches/cross-no-locale-include.diff (limited to 'debian/patches/cross-no-locale-include.diff') diff --git a/debian/patches/cross-no-locale-include.diff b/debian/patches/cross-no-locale-include.diff new file mode 100644 index 0000000..c728316 --- /dev/null +++ b/debian/patches/cross-no-locale-include.diff @@ -0,0 +1,17 @@ +# DP: Don't add /usr/local/include for cross compilers. Assume that +# DP: /usr/include is ready for multiarch, but not /usr/local/include. + +--- a/src/gcc/cppdefault.cc ++++ b/src/gcc/cppdefault.cc +@@ -66,8 +66,11 @@ + #ifdef LOCAL_INCLUDE_DIR + /* /usr/local/include comes before the fixincluded header files. */ + { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, ++#if 0 ++ /* Unsafe to assume that /usr/local/include is ready for multiarch. */ + { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 0 }, + #endif ++#endif + #ifdef PREFIX_INCLUDE_DIR + { PREFIX_INCLUDE_DIR, 0, 0, 1, 0, 0 }, + #endif -- cgit v1.2.3