Skip to content

Instantly share code, notes, and snippets.

@nijikon
Created October 3, 2014 09:50
Show Gist options
  • Save nijikon/0de4a3aad05acac051f6 to your computer and use it in GitHub Desktop.
Save nijikon/0de4a3aad05acac051f6 to your computer and use it in GitHub Desktop.
homebrew-mongodb-yosemite-patch
--- a/src/third_party/s2/util/endian/endian.h.orig 2014-09-28 01:08:51.000000000 +0200
+++ a/src/third_party/s2/util/endian/endian.h 2014-09-28 01:09:06.000000000 +0200
@@ -177,15 +177,4 @@
}
};
-
-// This one is safe to take as it's an extension
-#define htonll(x) ghtonll(x)
-
-// ntoh* and hton* are the same thing for any size and bytesex,
-// since the function is an involution, i.e., its own inverse.
-#define gntohl(x) ghtonl(x)
-#define gntohs(x) ghtons(x)
-#define gntohll(x) ghtonll(x)
-#define ntohll(x) htonll(x)
-
#endif // UTIL_ENDIAN_ENDIAN_H_
--- a/SConstruct.orig 2014-09-23 15:09:49.000000000 +0200
+++ a/SConstruct 2014-09-23 15:10:13.000000000 +0200
@@ -307,7 +307,7 @@
0, False)
if darwin:
- osx_version_choices = ['10.6', '10.7', '10.8', '10.9']
+ osx_version_choices = ['10.6', '10.7', '10.8', '10.9', '10.10']
add_option("osx-version-min", "minimum OS X version to support", 1, True,
type = 'choice', default = osx_version_choices[0], choices = osx_version_choices)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment