aboutsummaryrefslogtreecommitdiff
path: root/devel/libexecinfo
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-08-10 16:03:12 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-08-10 16:03:12 +0000
commitcdbad592a5a538577b3179039424f15b953757c6 (patch)
tree46e0fc68b28921f197df9e45af2fb4c351d0959a /devel/libexecinfo
parentfe4b8757a08d1df05deb5d69087bd48de6f255ab (diff)
downloadports-cdbad592a5a538577b3179039424f15b953757c6.tar.gz
ports-cdbad592a5a538577b3179039424f15b953757c6.zip
Notes
Diffstat (limited to 'devel/libexecinfo')
-rw-r--r--devel/libexecinfo/Makefile1
-rw-r--r--devel/libexecinfo/files/patch-execinfo.h22
2 files changed, 23 insertions, 0 deletions
diff --git a/devel/libexecinfo/Makefile b/devel/libexecinfo/Makefile
index 6b2b2df0b281..92496dace646 100644
--- a/devel/libexecinfo/Makefile
+++ b/devel/libexecinfo/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libexecinfo
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://demo.portaone.com/~sobomax/freestuff/
diff --git a/devel/libexecinfo/files/patch-execinfo.h b/devel/libexecinfo/files/patch-execinfo.h
new file mode 100644
index 000000000000..8ac54b9c108d
--- /dev/null
+++ b/devel/libexecinfo/files/patch-execinfo.h
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- execinfo.h 2003/08/10 05:43:54 1.1
++++ execinfo.h 2003/08/10 05:44:11
+@@ -29,8 +29,16 @@
+ #ifndef _EXECINFO_H_
+ #define _EXECINFO_H_
+
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ int backtrace(void **, int);
+ char ** backtrace_symbols(void *const *, int);
+ void backtrace_symbols_fd(void *const *, int, int);
++
++#ifdef __cplusplus
++}
++#endif
+
+ #endif /* _EXECINFO_H_ */