{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/23136126","id":23136126,"diff_hunk":"@@ -136,6 +136,9 @@ def install\n \n     ENV[\"GIT_DIR\"] = cached_download/\".git\" if build.head?\n \n+    if MacOS.version < :mountain_lion\n+      system \"perl\", *[\"-pi\", \"-e\", \"s/-framework CoreGraphics/-framework ApplicationServices/\", \"configure\"]\n+     ","path":"Library/Formula/ffmpeg.rb","position":6,"original_position":6,"commit_id":"116e7ddb96c4e0012acbe65a8d86dbf71d7cae32","original_commit_id":"116e7ddb96c4e0012acbe65a8d86dbf71d7cae32","user":{"login":"sorin-ionescu","id":93816,"avatar_url":"https://avatars.githubusercontent.com/u/93816?v=3","gravatar_id":"","url":"https://api.github.com/users/sorin-ionescu","html_url":"https://github.com/sorin-ionescu","followers_url":"https://api.github.com/users/sorin-ionescu/followers","following_url":"https://api.github.com/users/sorin-ionescu/following{/other_user}","gists_url":"https://api.github.com/users/sorin-ionescu/gists{/gist_id}","starred_url":"https://api.github.com/users/sorin-ionescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorin-ionescu/subscriptions","organizations_url":"https://api.github.com/users/sorin-ionescu/orgs","repos_url":"https://api.github.com/users/sorin-ionescu/repos","events_url":"https://api.github.com/users/sorin-ionescu/events{/privacy}","received_events_url":"https://api.github.com/users/sorin-ionescu/received_events","type":"User","site_admin":false},"body":"You don't need to call Perl. Use the code bellow.\r\n\r\n```ruby\r\nif MacOS.version < :mountain_lion\r\n  inreplace \"configure\", \"-framework CoreGraphics\", \"-framework ApplicationServices\"\r\nend\r\n```","created_at":"2015-01-18T19:28:38Z","updated_at":"2015-01-18T19:28:38Z","html_url":"https://github.com/Homebrew/homebrew/pull/35229#discussion_r23136126","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/23136126"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/35229#discussion_r23136126"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229","id":26547724,"html_url":"https://github.com/Homebrew/homebrew/pull/35229","diff_url":"https://github.com/Homebrew/homebrew/pull/35229.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/35229.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35229","number":35229,"state":"closed","locked":false,"title":"Fix linking ffmpeg frameworks on 10.7. Fixes #34963","user":{"login":"pjrobertson","id":150431,"avatar_url":"https://avatars.githubusercontent.com/u/150431?v=3","gravatar_id":"","url":"https://api.github.com/users/pjrobertson","html_url":"https://github.com/pjrobertson","followers_url":"https://api.github.com/users/pjrobertson/followers","following_url":"https://api.github.com/users/pjrobertson/following{/other_user}","gists_url":"https://api.github.com/users/pjrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/pjrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjrobertson/subscriptions","organizations_url":"https://api.github.com/users/pjrobertson/orgs","repos_url":"https://api.github.com/users/pjrobertson/repos","events_url":"https://api.github.com/users/pjrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/pjrobertson/received_events","type":"User","site_admin":false},"body":"FFmpeg changed the link frameworks in http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=a6555f88aaf0730e64240136fb19d8effb3a0738\r\n(ApplicationServices -> CoreGraphics)\r\nThis reverts that change for Lion and below\r\n\r\n--------\r\n\r\nApologies - I'm not sure on the convention of making patches to existing code. Is an inline edit using Perl acceptable?!\r\n\r\nFixes #34963","created_at":"2014-12-24T07:12:47Z","updated_at":"2015-01-18T19:28:38Z","closed_at":"2015-01-13T01:54:23Z","merged_at":null,"merge_commit_sha":"27276f53097f6772eacc5176a1eaba0b7c751b05","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35229/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/116e7ddb96c4e0012acbe65a8d86dbf71d7cae32","head":{"label":"pjrobertson:master","ref":"master","sha":"116e7ddb96c4e0012acbe65a8d86dbf71d7cae32","user":{"login":"pjrobertson","id":150431,"avatar_url":"https://avatars.githubusercontent.com/u/150431?v=3","gravatar_id":"","url":"https://api.github.com/users/pjrobertson","html_url":"https://github.com/pjrobertson","followers_url":"https://api.github.com/users/pjrobertson/followers","following_url":"https://api.github.com/users/pjrobertson/following{/other_user}","gists_url":"https://api.github.com/users/pjrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/pjrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjrobertson/subscriptions","organizations_url":"https://api.github.com/users/pjrobertson/orgs","repos_url":"https://api.github.com/users/pjrobertson/repos","events_url":"https://api.github.com/users/pjrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/pjrobertson/received_events","type":"User","site_admin":false},"repo":{"id":28439698,"name":"homebrew","full_name":"pjrobertson/homebrew","owner":{"login":"pjrobertson","id":150431,"avatar_url":"https://avatars.githubusercontent.com/u/150431?v=3","gravatar_id":"","url":"https://api.github.com/users/pjrobertson","html_url":"https://github.com/pjrobertson","followers_url":"https://api.github.com/users/pjrobertson/followers","following_url":"https://api.github.com/users/pjrobertson/following{/other_user}","gists_url":"https://api.github.com/users/pjrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/pjrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjrobertson/subscriptions","organizations_url":"https://api.github.com/users/pjrobertson/orgs","repos_url":"https://api.github.com/users/pjrobertson/repos","events_url":"https://api.github.com/users/pjrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/pjrobertson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pjrobertson/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/pjrobertson/homebrew","forks_url":"https://api.github.com/repos/pjrobertson/homebrew/forks","keys_url":"https://api.github.com/repos/pjrobertson/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pjrobertson/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pjrobertson/homebrew/teams","hooks_url":"https://api.github.com/repos/pjrobertson/homebrew/hooks","issue_events_url":"https://api.github.com/repos/pjrobertson/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/pjrobertson/homebrew/events","assignees_url":"https://api.github.com/repos/pjrobertson/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/pjrobertson/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/pjrobertson/homebrew/tags","blobs_url":"https://api.github.com/repos/pjrobertson/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pjrobertson/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pjrobertson/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/pjrobertson/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pjrobertson/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/pjrobertson/homebrew/languages","stargazers_url":"https://api.github.com/repos/pjrobertson/homebrew/stargazers","contributors_url":"https://api.github.com/repos/pjrobertson/homebrew/contributors","subscribers_url":"https://api.github.com/repos/pjrobertson/homebrew/subscribers","subscription_url":"https://api.github.com/repos/pjrobertson/homebrew/subscription","commits_url":"https://api.github.com/repos/pjrobertson/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/pjrobertson/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/pjrobertson/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/pjrobertson/homebrew/issues/comments/{number}","contents_url":"https://api.github.com/repos/pjrobertson/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/pjrobertson/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pjrobertson/homebrew/merges","archive_url":"https://api.github.com/repos/pjrobertson/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pjrobertson/homebrew/downloads","issues_url":"https://api.github.com/repos/pjrobertson/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/pjrobertson/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/pjrobertson/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/pjrobertson/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pjrobertson/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/pjrobertson/homebrew/releases{/id}","created_at":"2014-12-24T07:08:02Z","updated_at":"2014-12-24T07:11:44Z","pushed_at":"2014-12-24T07:11:42Z","git_url":"git://github.com/pjrobertson/homebrew.git","ssh_url":"git@github.com:pjrobertson/homebrew.git","clone_url":"https://github.com/pjrobertson/homebrew.git","svn_url":"https://github.com/pjrobertson/homebrew","homepage":"http://brew.sh","size":51380,"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":"bfa2d67ff7b80dee6a7b2fa5d75f8d3428a30611","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":206084,"name":"homebrew","full_name":"Homebrew/homebrew","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","description":"The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/{number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-01-18T19:26:08Z","pushed_at":"2015-01-18T18:31:41Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1159737,"stargazers_count":21061,"watchers_count":21061,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":10514,"mirror_url":null,"open_issues_count":274,"forks":10514,"open_issues":274,"watchers":21061,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/35229"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/35229"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/35229/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/35229/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/116e7ddb96c4e0012acbe65a8d86dbf71d7cae32"}}}}