diff options
Diffstat (limited to 'debian/patches/debian-flags.patch')
-rw-r--r-- | debian/patches/debian-flags.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/debian/patches/debian-flags.patch b/debian/patches/debian-flags.patch deleted file mode 100644 index b173f84..0000000 --- a/debian/patches/debian-flags.patch +++ /dev/null @@ -1,47 +0,0 @@ -Author: Ximin Luo <infinity0@debian.org> -Description: patch aligning expected definitions to Debian -peculiarities/toolchain versions. -Forwarded: not-needed - -Index: wasi-libc/expected/wasm32-wasi-threads/predefined-macros.txt -=================================================================== ---- wasi-libc.orig/expected/wasm32-wasi-threads/predefined-macros.txt -+++ wasi-libc/expected/wasm32-wasi-threads/predefined-macros.txt -@@ -1119,7 +1119,6 @@ - #define NAN (0.0f/0.0f) - #define NBBY 8 - #define NCARGS 131072 --#define NDEBUG 1 - #define ND_NA_FLAG_OVERRIDE 0x00000020 - #define ND_NA_FLAG_ROUTER 0x00000080 - #define ND_NA_FLAG_SOLICITED 0x00000040 -@@ -3112,7 +3111,7 @@ - #define and_eq &= - #define asin(x) __tg_real_complex(asin, (x)) - #define asinh(x) __tg_real_complex(asinh, (x)) --#define assert(x) (void)0 -+#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) - #define atan(x) __tg_real_complex(atan, (x)) - #define atan2(x,y) __tg_real_2(atan2, (x), (y)) - #define atanh(x) __tg_real_complex(atanh, (x)) -Index: wasi-libc/expected/wasm32-wasi/predefined-macros.txt -=================================================================== ---- wasi-libc.orig/expected/wasm32-wasi/predefined-macros.txt -+++ wasi-libc/expected/wasm32-wasi/predefined-macros.txt -@@ -1119,7 +1119,6 @@ - #define NAN (0.0f/0.0f) - #define NBBY 8 - #define NCARGS 131072 --#define NDEBUG 1 - #define ND_NA_FLAG_OVERRIDE 0x00000020 - #define ND_NA_FLAG_ROUTER 0x00000080 - #define ND_NA_FLAG_SOLICITED 0x00000040 -@@ -3073,7 +3072,7 @@ - #define and_eq &= - #define asin(x) __tg_real_complex(asin, (x)) - #define asinh(x) __tg_real_complex(asinh, (x)) --#define assert(x) (void)0 -+#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) - #define atan(x) __tg_real_complex(atan, (x)) - #define atan2(x,y) __tg_real_2(atan2, (x), (y)) - #define atanh(x) __tg_real_complex(atanh, (x)) |