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 #include EOF