{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments/45747167","id":45747167,"diff_hunk":"@@ -34,7 +34,7 @@ def install\n         return 0;\n     }\n     EOF\n-    system ENV.cc, \"test.c\", \"-lglpk\", \"-o\", \"test\"\n+    system ENV.cc, \"test.c\", \"-L/usr/local/lib\", \"-I/usr/local/include\", \"-lglpk\", \"-o\", \"test\"","path":"glpk.rb","position":18,"original_position":17,"commit_id":"c293de667e8af861a64e238db68db48d65a235a4","original_commit_id":"07c0b41c11c0ccee9ffb2b000d3742f5f717a5fb","user":{"login":"dpo","id":38760,"avatar_url":"https://avatars.githubusercontent.com/u/38760?v=3","gravatar_id":"","url":"https://api.github.com/users/dpo","html_url":"https://github.com/dpo","followers_url":"https://api.github.com/users/dpo/followers","following_url":"https://api.github.com/users/dpo/following{/other_user}","gists_url":"https://api.github.com/users/dpo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpo/subscriptions","organizations_url":"https://api.github.com/users/dpo/orgs","repos_url":"https://api.github.com/users/dpo/repos","events_url":"https://api.github.com/users/dpo/events{/privacy}","received_events_url":"https://api.github.com/users/dpo/received_events","type":"User","site_admin":false},"body":"Sorry, that isn't entirely right. It would be safe to say\r\n```\r\n-L#{lib} -I#{include}\r\n```\r\nin the `test` method. But outside of the formula, users will have added `$HOMEBREW_PREFIX/bin` to `PATH`, etc.","created_at":"2015-11-24T15:12:57Z","updated_at":"2015-11-24T15:12:57Z","html_url":"https://github.com/Homebrew/homebrew-science/pull/3043#discussion_r45747167","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments/45747167"},"html":{"href":"https://github.com/Homebrew/homebrew-science/pull/3043#discussion_r45747167"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043","id":51450412,"html_url":"https://github.com/Homebrew/homebrew-science/pull/3043","diff_url":"https://github.com/Homebrew/homebrew-science/pull/3043.diff","patch_url":"https://github.com/Homebrew/homebrew-science/pull/3043.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3043","number":3043,"state":"open","locked":false,"title":"Update glpk 4.57, fix test","user":{"login":"ackinetics","id":11069496,"avatar_url":"https://avatars.githubusercontent.com/u/11069496?v=3","gravatar_id":"","url":"https://api.github.com/users/ackinetics","html_url":"https://github.com/ackinetics","followers_url":"https://api.github.com/users/ackinetics/followers","following_url":"https://api.github.com/users/ackinetics/following{/other_user}","gists_url":"https://api.github.com/users/ackinetics/gists{/gist_id}","starred_url":"https://api.github.com/users/ackinetics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ackinetics/subscriptions","organizations_url":"https://api.github.com/users/ackinetics/orgs","repos_url":"https://api.github.com/users/ackinetics/repos","events_url":"https://api.github.com/users/ackinetics/events{/privacy}","received_events_url":"https://api.github.com/users/ackinetics/received_events","type":"User","site_admin":false},"body":"Updated to the latest glpk 4.57.  Fixed the test so that it does not assume that /usr/local/lib and /usr/local/include are in the search path for the compiler","created_at":"2015-11-21T21:13:28Z","updated_at":"2015-11-24T15:12:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6eb74fcb6ff1584f216d0e2a67d32f6436a792f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3043/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-science/statuses/c293de667e8af861a64e238db68db48d65a235a4","head":{"label":"ackinetics:master","ref":"master","sha":"c293de667e8af861a64e238db68db48d65a235a4","user":{"login":"ackinetics","id":11069496,"avatar_url":"https://avatars.githubusercontent.com/u/11069496?v=3","gravatar_id":"","url":"https://api.github.com/users/ackinetics","html_url":"https://github.com/ackinetics","followers_url":"https://api.github.com/users/ackinetics/followers","following_url":"https://api.github.com/users/ackinetics/following{/other_user}","gists_url":"https://api.github.com/users/ackinetics/gists{/gist_id}","starred_url":"https://api.github.com/users/ackinetics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ackinetics/subscriptions","organizations_url":"https://api.github.com/users/ackinetics/orgs","repos_url":"https://api.github.com/users/ackinetics/repos","events_url":"https://api.github.com/users/ackinetics/events{/privacy}","received_events_url":"https://api.github.com/users/ackinetics/received_events","type":"User","site_admin":false},"repo":{"id":46633866,"name":"homebrew-science","full_name":"ackinetics/homebrew-science","owner":{"login":"ackinetics","id":11069496,"avatar_url":"https://avatars.githubusercontent.com/u/11069496?v=3","gravatar_id":"","url":"https://api.github.com/users/ackinetics","html_url":"https://github.com/ackinetics","followers_url":"https://api.github.com/users/ackinetics/followers","following_url":"https://api.github.com/users/ackinetics/following{/other_user}","gists_url":"https://api.github.com/users/ackinetics/gists{/gist_id}","starred_url":"https://api.github.com/users/ackinetics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ackinetics/subscriptions","organizations_url":"https://api.github.com/users/ackinetics/orgs","repos_url":"https://api.github.com/users/ackinetics/repos","events_url":"https://api.github.com/users/ackinetics/events{/privacy}","received_events_url":"https://api.github.com/users/ackinetics/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ackinetics/homebrew-science","description":":microscope: Scientific formulae for the Homebrew package manager","fork":true,"url":"https://api.github.com/repos/ackinetics/homebrew-science","forks_url":"https://api.github.com/repos/ackinetics/homebrew-science/forks","keys_url":"https://api.github.com/repos/ackinetics/homebrew-science/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ackinetics/homebrew-science/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ackinetics/homebrew-science/teams","hooks_url":"https://api.github.com/repos/ackinetics/homebrew-science/hooks","issue_events_url":"https://api.github.com/repos/ackinetics/homebrew-science/issues/events{/number}","events_url":"https://api.github.com/repos/ackinetics/homebrew-science/events","assignees_url":"https://api.github.com/repos/ackinetics/homebrew-science/assignees{/user}","branches_url":"https://api.github.com/repos/ackinetics/homebrew-science/branches{/branch}","tags_url":"https://api.github.com/repos/ackinetics/homebrew-science/tags","blobs_url":"https://api.github.com/repos/ackinetics/homebrew-science/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ackinetics/homebrew-science/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ackinetics/homebrew-science/git/refs{/sha}","trees_url":"https://api.github.com/repos/ackinetics/homebrew-science/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ackinetics/homebrew-science/statuses/{sha}","languages_url":"https://api.github.com/repos/ackinetics/homebrew-science/languages","stargazers_url":"https://api.github.com/repos/ackinetics/homebrew-science/stargazers","contributors_url":"https://api.github.com/repos/ackinetics/homebrew-science/contributors","subscribers_url":"https://api.github.com/repos/ackinetics/homebrew-science/subscribers","subscription_url":"https://api.github.com/repos/ackinetics/homebrew-science/subscription","commits_url":"https://api.github.com/repos/ackinetics/homebrew-science/commits{/sha}","git_commits_url":"https://api.github.com/repos/ackinetics/homebrew-science/git/commits{/sha}","comments_url":"https://api.github.com/repos/ackinetics/homebrew-science/comments{/number}","issue_comment_url":"https://api.github.com/repos/ackinetics/homebrew-science/issues/comments{/number}","contents_url":"https://api.github.com/repos/ackinetics/homebrew-science/contents/{+path}","compare_url":"https://api.github.com/repos/ackinetics/homebrew-science/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ackinetics/homebrew-science/merges","archive_url":"https://api.github.com/repos/ackinetics/homebrew-science/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ackinetics/homebrew-science/downloads","issues_url":"https://api.github.com/repos/ackinetics/homebrew-science/issues{/number}","pulls_url":"https://api.github.com/repos/ackinetics/homebrew-science/pulls{/number}","milestones_url":"https://api.github.com/repos/ackinetics/homebrew-science/milestones{/number}","notifications_url":"https://api.github.com/repos/ackinetics/homebrew-science/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ackinetics/homebrew-science/labels{/name}","releases_url":"https://api.github.com/repos/ackinetics/homebrew-science/releases{/id}","created_at":"2015-11-21T21:05:44Z","updated_at":"2015-11-21T21:05:48Z","pushed_at":"2015-11-24T01:03:41Z","git_url":"git://github.com/ackinetics/homebrew-science.git","ssh_url":"git@github.com:ackinetics/homebrew-science.git","clone_url":"https://github.com/ackinetics/homebrew-science.git","svn_url":"https://github.com/ackinetics/homebrew-science","homepage":"http://brew.sh/homebrew-science/","size":4068,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"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":"ea5d59d5c6d9331444f09306d11d0f877c00e649","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":4106792,"name":"homebrew-science","full_name":"Homebrew/homebrew-science","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/homebrew-science","description":":microscope: Scientific formulae for the Homebrew package manager","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-science","forks_url":"https://api.github.com/repos/Homebrew/homebrew-science/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-science/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-science/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-science/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-science/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-science/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-science/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-science/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-science/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-science/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-science/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-science/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-science/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-science/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-science/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-science/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-science/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-science/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-science/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-science/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-science/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-science/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-science/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-science/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-science/releases{/id}","created_at":"2012-04-22T20:16:34Z","updated_at":"2015-11-23T21:13:41Z","pushed_at":"2015-11-24T14:29:19Z","git_url":"git://github.com/Homebrew/homebrew-science.git","ssh_url":"git@github.com:Homebrew/homebrew-science.git","clone_url":"https://github.com/Homebrew/homebrew-science.git","svn_url":"https://github.com/Homebrew/homebrew-science","homepage":"http://brew.sh/homebrew-science/","size":10613,"stargazers_count":600,"watchers_count":600,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":642,"mirror_url":null,"open_issues_count":200,"forks":642,"open_issues":200,"watchers":600,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043"},"html":{"href":"https://github.com/Homebrew/homebrew-science/pull/3043"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3043"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3043/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/3043/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/statuses/c293de667e8af861a64e238db68db48d65a235a4"}}}}