{"action":"created","comment":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/66015994","id":66015994,"diff_hunk":"@@ -0,0 +1,172 @@\n+# Copyright 1999-2016 Gentoo Foundation\n+# Distributed under the terms of the GNU General Public License v2\n+# $Id$\n+\n+EAPI=6\n+\n+inherit fcaps multilib toolchain-funcs flag-o-matic gnuconfig\n+\n+MY_P=\"${P/_alpha/a}\"\n+\n+DESCRIPTION=\"A set of tools for CD/DVD reading and recording, including cdrecord\"\n+HOMEPAGE=\"http://sourceforge.net/projects/cdrtools/\"\n+SRC_URI=\"mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/${MY_P}.tar.bz2\"\n+\n+LICENSE=\"GPL-2 LGPL-2.1 CDDL-Schily\"\n+SLOT=\"0\"\n+KEYWORDS=\"alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris\"\n+IUSE=\"acl caps nls unicode\"\n+\n+RDEPEND=\"acl? ( virtual/acl )\n+\tcaps? ( sys-libs/libcap )\n+\tnls? ( virtual/libintl )\n+\t!app-cdr/cdrkit\"\n+DEPEND=\"${RDEPEND}\n+\tx11-misc/makedepend\n+\tnls? ( >=sys-devel/gettext-0.18.1.1 )\"\n+\n+S=${WORKDIR}/${P/_alpha[0-9][0-9]}\n+\n+PATCHES=(\n+\t\"${FILESDIR}/cdrtools-clang-include-schily-sha2.patch\"\n+)\n+\n+FILECAPS=(\n+\tcap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --\n+\tcap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --\n+\tcap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd\n+)\n+\n+src_prepare() {\n+\tdefault\n+\n+\tgnuconfig_update\n+\n+\t# Remove profiled make files.\n+\tfind -name '*_p.mk' -delete\n+\n+\t# Adjusting hardcoded paths.\n+\tsed -i -e 's:opt/schily:usr:' \\\n+\t\t$(find ./ -type f -name \\*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \\\n+\t\t|| die \"sed opt/schily\"\n+\n+\tsed -i -e \"s:\\(^INSDIR=\\t\\tshare/doc/\\):\\1${PF}/:\" \\\n+\t\t$(find ./ -type f -exec grep -l 'INSDIR.\\+doc' '{}' '+') \\\n+\t\t|| die \"sed doc\"\n+\n+\t# Respect libdir.\n+\tsed -i -e \"s:\\(^INSDIR=\\t\\t\\)lib:\\1$(get_libdir):\" \\\n+\t\t$(find ./ -type f -exec grep -l '^INSDIR.\\+lib\\(/siconv\\)\\?$' '{}' '+') \\\n+\t\t|| die \"sed multilib\"\n+\n+\t# Do not install static libraries.\n+\tsed -i -e 's:include\\t\\t.*rules.lib::' \\\n+\t\t$(find ./ -type f -exec grep -l '^include.\\+rules\\.lib' '{}' '+') \\\n+\t\t|| die \"sed rules\"\n+\n+\t# Respect CC/CXX variables.\n+\tcd \"${S}\"/RULES","path":"app-cdr/cdrtools/cdrtools-3.01_alpha17-r1.ebuild","position":68,"original_position":68,"commit_id":"91f19a76d9b8308a3dec4d2534d1c326b2d44d89","original_commit_id":"91f19a76d9b8308a3dec4d2534d1c326b2d44d89","user":{"login":"SoapGentoo","id":16636962,"avatar_url":"https://avatars.githubusercontent.com/u/16636962?v=3","gravatar_id":"","url":"https://api.github.com/users/SoapGentoo","html_url":"https://github.com/SoapGentoo","followers_url":"https://api.github.com/users/SoapGentoo/followers","following_url":"https://api.github.com/users/SoapGentoo/following{/other_user}","gists_url":"https://api.github.com/users/SoapGentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/SoapGentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoapGentoo/subscriptions","organizations_url":"https://api.github.com/users/SoapGentoo/orgs","repos_url":"https://api.github.com/users/SoapGentoo/repos","events_url":"https://api.github.com/users/SoapGentoo/events{/privacy}","received_events_url":"https://api.github.com/users/SoapGentoo/received_events","type":"User","site_admin":false},"body":"missing `|| die`, alternatively, consider `pushd`","created_at":"2016-06-07T06:25:30Z","updated_at":"2016-06-07T06:25:30Z","html_url":"https://github.com/gentoo/gentoo/pull/1613#discussion_r66015994","pull_request_url":"https://api.github.com/repos/gentoo/gentoo/pulls/1613","_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/66015994"},"html":{"href":"https://github.com/gentoo/gentoo/pull/1613#discussion_r66015994"},"pull_request":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/1613"}}},"pull_request":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/1613","id":72621608,"html_url":"https://github.com/gentoo/gentoo/pull/1613","diff_url":"https://github.com/gentoo/gentoo/pull/1613.diff","patch_url":"https://github.com/gentoo/gentoo/pull/1613.patch","issue_url":"https://api.github.com/repos/gentoo/gentoo/issues/1613","number":1613,"state":"open","locked":false,"title":"app-cdr/cdrtools: Fix building with clang","user":{"login":"austin987","id":464648,"avatar_url":"https://avatars.githubusercontent.com/u/464648?v=3","gravatar_id":"","url":"https://api.github.com/users/austin987","html_url":"https://github.com/austin987","followers_url":"https://api.github.com/users/austin987/followers","following_url":"https://api.github.com/users/austin987/following{/other_user}","gists_url":"https://api.github.com/users/austin987/gists{/gist_id}","starred_url":"https://api.github.com/users/austin987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austin987/subscriptions","organizations_url":"https://api.github.com/users/austin987/orgs","repos_url":"https://api.github.com/users/austin987/repos","events_url":"https://api.github.com/users/austin987/events{/privacy}","received_events_url":"https://api.github.com/users/austin987/received_events","type":"User","site_admin":false},"body":"Gentoo-Bug: https://bugs.gentoo.org/458254\r\n\r\nPackage-Manager: portage-2.2.26","created_at":"2016-06-05T06:05:46Z","updated_at":"2016-06-07T06:25:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08800df7b1381c27c9fe2f797fb65cf72a5e0509","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gentoo/gentoo/pulls/1613/commits","review_comments_url":"https://api.github.com/repos/gentoo/gentoo/pulls/1613/comments","review_comment_url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gentoo/gentoo/issues/1613/comments","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/91f19a76d9b8308a3dec4d2534d1c326b2d44d89","head":{"label":"austin987:clang-cdrtools","ref":"clang-cdrtools","sha":"91f19a76d9b8308a3dec4d2534d1c326b2d44d89","user":{"login":"austin987","id":464648,"avatar_url":"https://avatars.githubusercontent.com/u/464648?v=3","gravatar_id":"","url":"https://api.github.com/users/austin987","html_url":"https://github.com/austin987","followers_url":"https://api.github.com/users/austin987/followers","following_url":"https://api.github.com/users/austin987/following{/other_user}","gists_url":"https://api.github.com/users/austin987/gists{/gist_id}","starred_url":"https://api.github.com/users/austin987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austin987/subscriptions","organizations_url":"https://api.github.com/users/austin987/orgs","repos_url":"https://api.github.com/users/austin987/repos","events_url":"https://api.github.com/users/austin987/events{/privacy}","received_events_url":"https://api.github.com/users/austin987/received_events","type":"User","site_admin":false},"repo":{"id":60233691,"name":"gentoo","full_name":"austin987/gentoo","owner":{"login":"austin987","id":464648,"avatar_url":"https://avatars.githubusercontent.com/u/464648?v=3","gravatar_id":"","url":"https://api.github.com/users/austin987","html_url":"https://github.com/austin987","followers_url":"https://api.github.com/users/austin987/followers","following_url":"https://api.github.com/users/austin987/following{/other_user}","gists_url":"https://api.github.com/users/austin987/gists{/gist_id}","starred_url":"https://api.github.com/users/austin987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austin987/subscriptions","organizations_url":"https://api.github.com/users/austin987/orgs","repos_url":"https://api.github.com/users/austin987/repos","events_url":"https://api.github.com/users/austin987/events{/privacy}","received_events_url":"https://api.github.com/users/austin987/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/austin987/gentoo","description":"The official mirror the Gentoo ebuild repository","fork":true,"url":"https://api.github.com/repos/austin987/gentoo","forks_url":"https://api.github.com/repos/austin987/gentoo/forks","keys_url":"https://api.github.com/repos/austin987/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/austin987/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/austin987/gentoo/teams","hooks_url":"https://api.github.com/repos/austin987/gentoo/hooks","issue_events_url":"https://api.github.com/repos/austin987/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/austin987/gentoo/events","assignees_url":"https://api.github.com/repos/austin987/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/austin987/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/austin987/gentoo/tags","blobs_url":"https://api.github.com/repos/austin987/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/austin987/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/austin987/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/austin987/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/austin987/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/austin987/gentoo/languages","stargazers_url":"https://api.github.com/repos/austin987/gentoo/stargazers","contributors_url":"https://api.github.com/repos/austin987/gentoo/contributors","subscribers_url":"https://api.github.com/repos/austin987/gentoo/subscribers","subscription_url":"https://api.github.com/repos/austin987/gentoo/subscription","commits_url":"https://api.github.com/repos/austin987/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/austin987/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/austin987/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/austin987/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/austin987/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/austin987/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/austin987/gentoo/merges","archive_url":"https://api.github.com/repos/austin987/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/austin987/gentoo/downloads","issues_url":"https://api.github.com/repos/austin987/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/austin987/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/austin987/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/austin987/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/austin987/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/austin987/gentoo/releases{/id}","deployments_url":"https://api.github.com/repos/austin987/gentoo/deployments","created_at":"2016-06-02T04:55:26Z","updated_at":"2016-06-02T04:45:12Z","pushed_at":"2016-06-06T01:53:11Z","git_url":"git://github.com/austin987/gentoo.git","ssh_url":"git@github.com:austin987/gentoo.git","clone_url":"https://github.com/austin987/gentoo.git","svn_url":"https://github.com/austin987/gentoo","homepage":"https://wiki.gentoo.org/wiki/Gentoo_Github","size":176565,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gentoo:master","ref":"master","sha":"2b4465f801feb19a1a46ee7616c066ff1cbce76b","user":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"repo":{"id":40499714,"name":"gentoo","full_name":"gentoo/gentoo","owner":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gentoo/gentoo","description":"The official mirror the Gentoo ebuild repository","fork":false,"url":"https://api.github.com/repos/gentoo/gentoo","forks_url":"https://api.github.com/repos/gentoo/gentoo/forks","keys_url":"https://api.github.com/repos/gentoo/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gentoo/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gentoo/gentoo/teams","hooks_url":"https://api.github.com/repos/gentoo/gentoo/hooks","issue_events_url":"https://api.github.com/repos/gentoo/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/gentoo/gentoo/events","assignees_url":"https://api.github.com/repos/gentoo/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/gentoo/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/gentoo/gentoo/tags","blobs_url":"https://api.github.com/repos/gentoo/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gentoo/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gentoo/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gentoo/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/gentoo/gentoo/languages","stargazers_url":"https://api.github.com/repos/gentoo/gentoo/stargazers","contributors_url":"https://api.github.com/repos/gentoo/gentoo/contributors","subscribers_url":"https://api.github.com/repos/gentoo/gentoo/subscribers","subscription_url":"https://api.github.com/repos/gentoo/gentoo/subscription","commits_url":"https://api.github.com/repos/gentoo/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gentoo/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gentoo/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gentoo/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gentoo/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/gentoo/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gentoo/gentoo/merges","archive_url":"https://api.github.com/repos/gentoo/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gentoo/gentoo/downloads","issues_url":"https://api.github.com/repos/gentoo/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/gentoo/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/gentoo/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/gentoo/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gentoo/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/gentoo/gentoo/releases{/id}","deployments_url":"https://api.github.com/repos/gentoo/gentoo/deployments","created_at":"2015-08-10T18:47:32Z","updated_at":"2016-06-06T17:41:00Z","pushed_at":"2016-06-07T06:23:16Z","git_url":"git://github.com/gentoo/gentoo.git","ssh_url":"git@github.com:gentoo/gentoo.git","clone_url":"https://github.com/gentoo/gentoo.git","svn_url":"https://github.com/gentoo/gentoo","homepage":"https://wiki.gentoo.org/wiki/Gentoo_Github","size":202669,"stargazers_count":297,"watchers_count":297,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":251,"mirror_url":null,"open_issues_count":41,"forks":251,"open_issues":41,"watchers":297,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/1613"},"html":{"href":"https://github.com/gentoo/gentoo/pull/1613"},"issue":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/1613"},"comments":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/1613/comments"},"review_comments":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/1613/comments"},"review_comment":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/1613/commits"},"statuses":{"href":"https://api.github.com/repos/gentoo/gentoo/statuses/91f19a76d9b8308a3dec4d2534d1c326b2d44d89"}}}}
{"actor":{"display_login":"SoapGentoo"}}