summaryrefslogtreecommitdiff
path: root/patches/uClibc-ng/1.0.12/100-provide-_obstack_free.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/uClibc-ng/1.0.12/100-provide-_obstack_free.patch')
-rw-r--r--patches/uClibc-ng/1.0.12/100-provide-_obstack_free.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/uClibc-ng/1.0.12/100-provide-_obstack_free.patch b/patches/uClibc-ng/1.0.12/100-provide-_obstack_free.patch
new file mode 100644
index 0000000..9fd4bc3
--- /dev/null
+++ b/patches/uClibc-ng/1.0.12/100-provide-_obstack_free.patch
@@ -0,0 +1,12 @@
+diff -ur uClibc-ng-1.0.12.orig/libc/misc/gnu/obstack.c uClibc-ng-1.0.12/libc/misc/gnu/obstack.c
+--- uClibc-ng-1.0.12.orig/libc/misc/gnu/obstack.c 2016-03-13 15:08:44.408962824 -0700
++++ uClibc-ng-1.0.12/libc/misc/gnu/obstack.c 2016-03-13 15:13:30.129322998 -0700
+@@ -385,7 +385,7 @@
+ abort ();
+ }
+
+-# if 0
++# if 1
+ /* Older versions of libc used a function _obstack_free intended to be
+ called by non-GCC compilers. */
+ strong_alias (obstack_free, _obstack_free)