summaryrefslogtreecommitdiff
path: root/user/libexecinfo/20-define-gnu-source.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 17:39:57 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 17:39:57 -0500
commit00add29283170ea81e0e6631a33a38975fd898ea (patch)
tree3255bc2b2fee95f10169a9e9d64e9fbeed9fb2a0 /user/libexecinfo/20-define-gnu-source.patch
parent3d43cb0886138d8d9f88aa226ad4c12eb8f78804 (diff)
downloadpackages-00add29283170ea81e0e6631a33a38975fd898ea.tar.gz
packages-00add29283170ea81e0e6631a33a38975fd898ea.tar.bz2
packages-00add29283170ea81e0e6631a33a38975fd898ea.tar.xz
packages-00add29283170ea81e0e6631a33a38975fd898ea.zip
user/libexecinfo: pull in, overhaul entirely, add check
Diffstat (limited to 'user/libexecinfo/20-define-gnu-source.patch')
-rw-r--r--user/libexecinfo/20-define-gnu-source.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/libexecinfo/20-define-gnu-source.patch b/user/libexecinfo/20-define-gnu-source.patch
new file mode 100644
index 000000000..ac18f6eeb
--- /dev/null
+++ b/user/libexecinfo/20-define-gnu-source.patch
@@ -0,0 +1,24 @@
+--- a/execinfo.c
++++ b/execinfo.c
+@@ -26,6 +26,7 @@
+ * $Id: execinfo.c,v 1.3 2004/07/19 05:21:09 sobomax Exp $
+ */
+
++#define _GNU_SOURCE
+ #include <sys/types.h>
+ #include <sys/uio.h>
+ #include <dlfcn.h>
+--- a/stacktraverse.c
++++ b/stacktraverse.c
+@@ -1,3 +1,4 @@
++#define _GNU_SOURCE
+ #include <stddef.h>
+
+ #include "stacktraverse.h"
+--- a/test.c
++++ b/test.c
+@@ -1,3 +1,4 @@
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
+