From 97733bb439f16dd833bf80f159018d81f8d286e0 Mon Sep 17 00:00:00 2001 From: "Sascha Kuehndel (InuSasha)" Date: Thu, 26 Apr 2018 15:00:26 +0200 Subject: [PATCH] make: fix build against actual host glibc --- .../devel/make/patches/make-glibc_alloc_fix.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/devel/make/patches/make-glibc_alloc_fix.patch diff --git a/packages/devel/make/patches/make-glibc_alloc_fix.patch b/packages/devel/make/patches/make-glibc_alloc_fix.patch new file mode 100644 index 0000000000..a0cc0ed973 --- /dev/null +++ b/packages/devel/make/patches/make-glibc_alloc_fix.patch @@ -0,0 +1,13 @@ +diff --git a/glob/glob.c b/glob/glob.c +index f3911bc..8adbde3 100644 +--- a/glob/glob.c ++++ b/glob/glob.c +@@ -208,7 +208,7 @@ my_realloc (p, n) + #endif /* __GNU_LIBRARY__ || __DJGPP__ */ + + +-#if !defined __alloca && !defined __GNU_LIBRARY__ ++#if !defined __alloca && defined __GNU_LIBRARY__ + + # ifdef __GNUC__ + # undef alloca