ports/textproc/google-ctemplate/files/patch-src-template.cc
Ying-Chieh Liao 220e8ece45 add google-ctemplate 0.1
A simple but powerful template language for C++

pass maintainership to clsung
2006-04-27 01:52:15 +00:00

11 lines
433 B
C++

--- 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>