aboutsummaryrefslogtreecommitdiff
path: root/textproc/google-ctemplate/files/patch-src-template.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/google-ctemplate/files/patch-src-template.cc')
-rw-r--r--textproc/google-ctemplate/files/patch-src-template.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/google-ctemplate/files/patch-src-template.cc b/textproc/google-ctemplate/files/patch-src-template.cc
new file mode 100644
index 000000000000..d5651bc97159
--- /dev/null
+++ b/textproc/google-ctemplate/files/patch-src-template.cc
@@ -0,0 +1,11 @@
+--- src/template.cc.orig Mon Apr 24 22:43:36 2006
++++ src/template.cc Wed Apr 26 15:13:22 2006
+@@ -35,7 +35,7 @@
+
+ // Needed for pthread_rwlock_*. If it causes problems, you could take
+ // it out, but then you'd have to unset HAVE_RWLOCK (at least on linux).
+-#define _XOPEN_SOURCE 500 // needed to get the rwlock calls
++//#define _XOPEN_SOURCE 500 // needed to get the rwlock calls
+
+ #include <assert.h>
+ #include <stdlib.h>