summaryrefslogtreecommitdiff
path: root/security/libprelude/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2009-09-11 16:54:47 +0000
committerjoerg <joerg>2009-09-11 16:54:47 +0000
commit484d5d3e6ce63b6cdde6688d2d56542594b51c26 (patch)
tree3d790e2d6d1977b9cad557378c9bd20457f66fd8 /security/libprelude/patches
parent6979a96558a0084dd106f1b0b6017100dcc40799 (diff)
downloadpkgsrc-484d5d3e6ce63b6cdde6688d2d56542594b51c26.tar.gz
Explicitly include ctime early in the C++ binding, the macro games from config.h break NetBSD system header.
Diffstat (limited to 'security/libprelude/patches')
-rw-r--r--security/libprelude/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/libprelude/patches/patch-aj b/security/libprelude/patches/patch-aj
new file mode 100644
index 00000000000..00bfa99fefc
--- /dev/null
+++ b/security/libprelude/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2009/09/11 16:54:47 joerg Exp $
+
+--- bindings/c++/prelude.cxx.orig 2009-09-11 18:50:18.000000000 +0200
++++ bindings/c++/prelude.cxx
+@@ -21,6 +21,8 @@
+ *
+ *****/
+
++#include <ctime>
++
+ #include <prelude.h>
+ #include "prelude.hxx"
+