summaryrefslogtreecommitdiff
path: root/homebrew/kyotocabinet/patches.sh
blob: a66a2699809c7ff4e17460457bcc93b3b477e472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
echo 'Creating brew-patch.diff'
cat << EOF >> brew-patch.diff
--- a/kccommon.h  2013-11-08 09:27:37.000000000 -0500
+++ b/kccommon.h  2013-11-08 09:27:47.000000000 -0500
@@ -82,7 +82,7 @@
 using ::snprintf;
 }

-#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER)
+#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) || defined(_LIBCPP_VERSION)

 #include <unordered_map>
 #include <unordered_set>
EOF