diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/kyototycoon/patches.sh | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/kyototycoon/patches.sh')
-rwxr-xr-x | homebrew/kyototycoon/patches.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/homebrew/kyototycoon/patches.sh b/homebrew/kyototycoon/patches.sh new file mode 100755 index 000000000..034ac494f --- /dev/null +++ b/homebrew/kyototycoon/patches.sh @@ -0,0 +1,14 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +--- a/ktdbext.h 2013-11-08 09:34:53.000000000 -0500 ++++ b/ktdbext.h 2013-11-08 09:35:00.000000000 -0500 +@@ -271,7 +271,7 @@ + if (!logf("prepare", "started to open temporary databases under %s", tmppath.c_str())) + err = true; + stime = kc::time(); +- uint32_t pid = getpid() & kc::UINT16MAX; ++ uint32_t pid = kc::getpid() & kc::UINT16MAX; + uint32_t tid = kc::Thread::hash() & kc::UINT16MAX; + uint32_t ts = kc::time() * 1000; + for (size_t i = 0; i < dbnum_; i++) { +EOF |