{"action":"created","issue":{"url":"https://api.github.com/repos/byzhang/leveldb/issues/2","labels_url":"https://api.github.com/repos/byzhang/leveldb/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/byzhang/leveldb/issues/2/comments","events_url":"https://api.github.com/repos/byzhang/leveldb/issues/2/events","html_url":"https://github.com/byzhang/leveldb/issues/2","id":59729959,"number":2,"title":"Fix build for OS X.","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/byzhang/leveldb/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/leveldb/labels/OpSys-OSX","name":"OpSys-OSX","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/leveldb/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/leveldb/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-04T00:15:24Z","updated_at":"2015-03-04T00:15:26Z","closed_at":"2015-03-04T00:15:24Z","body":"```\nLevelDB fails to build on OS X with standard GCC from XCode and so on and such \nforth.\n\nThis patch mixes up the Posix and Chromium port implementations as well as \npulls in a couple Chromium headers so that building on OS X is possible without \nrequiring that users build GCC 4.5.\n\nPatch commit is at [1] and attached as a diff.\n\n[1] \nhttps://github.com/davisp/leveldb/commit/50e280c9b1cfde0e255d124f38e1aa436d36ba5\n2\n\n```\n\nOriginal issue reported on code.google.com by `paul.jos...@gmail.com` on 8 May 2011 at 10:17\n\nAttachments:\n* [leveldb_osx.patch](https://storage.googleapis.com/google-code-attachments/leveldb/issue-2/comment-0/leveldb_osx.patch)\n"},"comment":{"url":"https://api.github.com/repos/byzhang/leveldb/issues/comments/77070118","html_url":"https://github.com/byzhang/leveldb/issues/2#issuecomment-77070118","issue_url":"https://api.github.com/repos/byzhang/leveldb/issues/2","id":77070118,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T00:15:26Z","updated_at":"2015-03-04T00:15:26Z","body":"```\nThere are a couple lines in the Makefile that you need to change for OS X. The \nCFLAGS variable needs to change as well as a change to the list of sources. \nThere's comments in the Makefile that are specific to what needs to happen.\n```\n\nOriginal comment by `paul.jos...@gmail.com` on 25 May 2011 at 8:25"}}