aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libexecinfo/20-define-gnu-source.patch
diff options
context:
space:
mode:
authorPhilipp Andronov <filipp.andronov@gmail.com>2015-05-16 09:31:06 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-06-19 12:06:57 +0200
commitcfd1b987c1a3fb7bba7da7a59cb2ba016ac25df7 (patch)
treea3881b0d719a9b48b657ded1bfeb45b7c666326a /testing/libexecinfo/20-define-gnu-source.patch
parent3df0fba36503542dd49e7dada7ed2399e5150684 (diff)
downloadaports-cfd1b987c1a3fb7bba7da7a59cb2ba016ac25df7.tar.bz2
aports-cfd1b987c1a3fb7bba7da7a59cb2ba016ac25df7.tar.xz
testing/libexecinfo: new aport
http://www.freshports.org/devel/libexecinfo A quick-n-dirty BSD licensed clone of the GNU libc backtrace facility. This package is a dependency of incoming MongoDB package.
Diffstat (limited to 'testing/libexecinfo/20-define-gnu-source.patch')
-rw-r--r--testing/libexecinfo/20-define-gnu-source.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/libexecinfo/20-define-gnu-source.patch b/testing/libexecinfo/20-define-gnu-source.patch
new file mode 100644
index 0000000000..0ba1fc1f7e
--- /dev/null
+++ b/testing/libexecinfo/20-define-gnu-source.patch
@@ -0,0 +1,24 @@
+--- execinfo.c.orig
++++ 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>
+--- stacktraverse.c.orig
++++ stacktraverse.c
+@@ -1,3 +1,4 @@
++#define _GNU_SOURCE
+ #include <stddef.h>
+
+ #include "stacktraverse.h"
+--- test.c.orig
++++ test.c
+@@ -1,3 +1,4 @@
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
+