{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/comments/41090274","id":41090274,"diff_hunk":"@@ -16,8 +16,10 @@ class GooglePerftools < Formula\n     cause \"Segfault during linking\"\n   end\n \n+  depends_on \"libunwind\" if OS.linux?\n+\n   def install\n-    ENV.append_to_cflags \"-D_XOPEN_SOURCE\"\n+    ENV.append_to_cflags \"-D_XOPEN_SOURCE\" if OS.mac?","path":"Library/Formula/google-perftools.rb","position":8,"original_position":8,"commit_id":"405ac4cb7239437c0be18389709bcaa93b9995e3","original_commit_id":"405ac4cb7239437c0be18389709bcaa93b9995e3","user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"body":"What error message do you see without this patch chunk?","created_at":"2015-10-03T18:41:24Z","updated_at":"2015-10-03T18:41:24Z","html_url":"https://github.com/Homebrew/linuxbrew/pull/515#discussion_r41090274","pull_request_url":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/comments/41090274"},"html":{"href":"https://github.com/Homebrew/linuxbrew/pull/515#discussion_r41090274"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515","id":43018450,"html_url":"https://github.com/Homebrew/linuxbrew/pull/515","diff_url":"https://github.com/Homebrew/linuxbrew/pull/515.diff","patch_url":"https://github.com/Homebrew/linuxbrew/pull/515.patch","issue_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/515","number":515,"state":"open","locked":false,"title":"google-perftools: Fix build on Linux","user":{"login":"dholm","id":88668,"avatar_url":"https://avatars.githubusercontent.com/u/88668?v=3","gravatar_id":"","url":"https://api.github.com/users/dholm","html_url":"https://github.com/dholm","followers_url":"https://api.github.com/users/dholm/followers","following_url":"https://api.github.com/users/dholm/following{/other_user}","gists_url":"https://api.github.com/users/dholm/gists{/gist_id}","starred_url":"https://api.github.com/users/dholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dholm/subscriptions","organizations_url":"https://api.github.com/users/dholm/orgs","repos_url":"https://api.github.com/users/dholm/repos","events_url":"https://api.github.com/users/dholm/events{/privacy}","received_events_url":"https://api.github.com/users/dholm/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-21T09:17:59Z","updated_at":"2015-10-03T18:41:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e736a286b91e1e114e887ae470aafa80939ad7fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515/commits","review_comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515/comments","review_comment_url":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/515/comments","statuses_url":"https://api.github.com/repos/Homebrew/linuxbrew/statuses/405ac4cb7239437c0be18389709bcaa93b9995e3","head":{"label":"dholm:formula/google-perftools","ref":"formula/google-perftools","sha":"405ac4cb7239437c0be18389709bcaa93b9995e3","user":{"login":"dholm","id":88668,"avatar_url":"https://avatars.githubusercontent.com/u/88668?v=3","gravatar_id":"","url":"https://api.github.com/users/dholm","html_url":"https://github.com/dholm","followers_url":"https://api.github.com/users/dholm/followers","following_url":"https://api.github.com/users/dholm/following{/other_user}","gists_url":"https://api.github.com/users/dholm/gists{/gist_id}","starred_url":"https://api.github.com/users/dholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dholm/subscriptions","organizations_url":"https://api.github.com/users/dholm/orgs","repos_url":"https://api.github.com/users/dholm/repos","events_url":"https://api.github.com/users/dholm/events{/privacy}","received_events_url":"https://api.github.com/users/dholm/received_events","type":"User","site_admin":false},"repo":{"id":41030042,"name":"linuxbrew","full_name":"dholm/linuxbrew","owner":{"login":"dholm","id":88668,"avatar_url":"https://avatars.githubusercontent.com/u/88668?v=3","gravatar_id":"","url":"https://api.github.com/users/dholm","html_url":"https://github.com/dholm","followers_url":"https://api.github.com/users/dholm/followers","following_url":"https://api.github.com/users/dholm/following{/other_user}","gists_url":"https://api.github.com/users/dholm/gists{/gist_id}","starred_url":"https://api.github.com/users/dholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dholm/subscriptions","organizations_url":"https://api.github.com/users/dholm/orgs","repos_url":"https://api.github.com/users/dholm/repos","events_url":"https://api.github.com/users/dholm/events{/privacy}","received_events_url":"https://api.github.com/users/dholm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dholm/linuxbrew","description":":penguin: A fork of Homebrew for Linux","fork":true,"url":"https://api.github.com/repos/dholm/linuxbrew","forks_url":"https://api.github.com/repos/dholm/linuxbrew/forks","keys_url":"https://api.github.com/repos/dholm/linuxbrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dholm/linuxbrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dholm/linuxbrew/teams","hooks_url":"https://api.github.com/repos/dholm/linuxbrew/hooks","issue_events_url":"https://api.github.com/repos/dholm/linuxbrew/issues/events{/number}","events_url":"https://api.github.com/repos/dholm/linuxbrew/events","assignees_url":"https://api.github.com/repos/dholm/linuxbrew/assignees{/user}","branches_url":"https://api.github.com/repos/dholm/linuxbrew/branches{/branch}","tags_url":"https://api.github.com/repos/dholm/linuxbrew/tags","blobs_url":"https://api.github.com/repos/dholm/linuxbrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dholm/linuxbrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dholm/linuxbrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/dholm/linuxbrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dholm/linuxbrew/statuses/{sha}","languages_url":"https://api.github.com/repos/dholm/linuxbrew/languages","stargazers_url":"https://api.github.com/repos/dholm/linuxbrew/stargazers","contributors_url":"https://api.github.com/repos/dholm/linuxbrew/contributors","subscribers_url":"https://api.github.com/repos/dholm/linuxbrew/subscribers","subscription_url":"https://api.github.com/repos/dholm/linuxbrew/subscription","commits_url":"https://api.github.com/repos/dholm/linuxbrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/dholm/linuxbrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/dholm/linuxbrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/dholm/linuxbrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/dholm/linuxbrew/contents/{+path}","compare_url":"https://api.github.com/repos/dholm/linuxbrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dholm/linuxbrew/merges","archive_url":"https://api.github.com/repos/dholm/linuxbrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dholm/linuxbrew/downloads","issues_url":"https://api.github.com/repos/dholm/linuxbrew/issues{/number}","pulls_url":"https://api.github.com/repos/dholm/linuxbrew/pulls{/number}","milestones_url":"https://api.github.com/repos/dholm/linuxbrew/milestones{/number}","notifications_url":"https://api.github.com/repos/dholm/linuxbrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dholm/linuxbrew/labels{/name}","releases_url":"https://api.github.com/repos/dholm/linuxbrew/releases{/id}","created_at":"2015-08-19T11:27:41Z","updated_at":"2015-08-19T11:27:54Z","pushed_at":"2015-09-03T13:46:21Z","git_url":"git://github.com/dholm/linuxbrew.git","ssh_url":"git@github.com:dholm/linuxbrew.git","clone_url":"https://github.com/dholm/linuxbrew.git","svn_url":"https://github.com/dholm/linuxbrew","homepage":"http://brew.sh/linuxbrew/","size":55579,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"80e1af310d9d10a8f4b5d6727e9f3e51bc8a27e7","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":9214768,"name":"linuxbrew","full_name":"Homebrew/linuxbrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/linuxbrew","description":":penguin: A fork of Homebrew for Linux","fork":false,"url":"https://api.github.com/repos/Homebrew/linuxbrew","forks_url":"https://api.github.com/repos/Homebrew/linuxbrew/forks","keys_url":"https://api.github.com/repos/Homebrew/linuxbrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/linuxbrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/linuxbrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/linuxbrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/linuxbrew/events","assignees_url":"https://api.github.com/repos/Homebrew/linuxbrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/linuxbrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/linuxbrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/linuxbrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/linuxbrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/linuxbrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/linuxbrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/linuxbrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/linuxbrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/linuxbrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/linuxbrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/linuxbrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/linuxbrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/linuxbrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/linuxbrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/linuxbrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/linuxbrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/linuxbrew/merges","archive_url":"https://api.github.com/repos/Homebrew/linuxbrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/linuxbrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/linuxbrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/linuxbrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/linuxbrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/linuxbrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/linuxbrew/releases{/id}","created_at":"2013-04-04T09:18:42Z","updated_at":"2015-10-02T14:40:28Z","pushed_at":"2015-10-03T04:07:20Z","git_url":"git://github.com/Homebrew/linuxbrew.git","ssh_url":"git@github.com:Homebrew/linuxbrew.git","clone_url":"https://github.com/Homebrew/linuxbrew.git","svn_url":"https://github.com/Homebrew/linuxbrew","homepage":"http://brew.sh/linuxbrew/","size":68460,"stargazers_count":1704,"watchers_count":1704,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":233,"mirror_url":null,"open_issues_count":104,"forks":233,"open_issues":104,"watchers":1704,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515"},"html":{"href":"https://github.com/Homebrew/linuxbrew/pull/515"},"issue":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/issues/515"},"comments":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/issues/515/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/pulls/515/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/linuxbrew/statuses/405ac4cb7239437c0be18389709bcaa93b9995e3"}}}}