diff options
author | Matt Smith <mcs@darkregion.net> | 2011-01-07 12:05:52 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-09 11:50:05 +0000 |
commit | 2b3d0c1781a7f013366eb9e35bb0b9334cba8569 (patch) | |
tree | 5d456c378e1cd49f63b7b6771c87af1f5143a171 /testing/libexecinfo/20-define-gnu-source.patch | |
parent | 5b653e04193961148e414018dfafd46f08c141fe (diff) | |
download | aports-2b3d0c1781a7f013366eb9e35bb0b9334cba8569.tar.bz2 aports-2b3d0c1781a7f013366eb9e35bb0b9334cba8569.tar.xz |
new aport: testing/libexecinfo
A quick-n-dirty BSD licensed clone of the GNU libc backtrace facility.
http://www.freshports.org/devel/libexecinfo
Diffstat (limited to 'testing/libexecinfo/20-define-gnu-source.patch')
-rw-r--r-- | testing/libexecinfo/20-define-gnu-source.patch | 24 |
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> + |