{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/mariadb/pulls/comments/53880741","id":53880741,"diff_hunk":"@@ -1,21 +1,15 @@\n-diff --git patches/asm-compat.patch patches/asm-compat.patch\n-new file mode 100644\n-index 0000000..2370776\n---- /dev/null\n-+++ patches/asm-compat.patch\n-@@ -0,0 +1,15 @@\n-+diff -ru mariadb-10.1.9.orig/include/my_context.h mariadb-10.1.9/include/my_context.h\n-+--- mariadb-10.1.9.orig/include/my_context.h   2015-11-20 17:08:02.000000000 -0800\n-++++ mariadb-10.1.9/include/my_context.h        2016-01-27 00:26:50.000000000 -0800\n-+@@ -27,8 +27,10 @@\n-+ \n-+ #ifdef __WIN__\n-+ #define MY_CONTEXT_USE_WIN32_FIBERS 1\n-+-#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)\n-++#elif defined(__clang__)\n-+ #define MY_CONTEXT_USE_X86_64_GCC_ASM\n-++#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)\n-++#define MY_CONTEXT_USE_UCONTEXT\n-+ #elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)\n-+ #define MY_CONTEXT_USE_I386_GCC_ASM\n-+ #elif defined(HAVE_UCONTEXT)\n+diff -ru mariadb-10.1.9.orig/include/my_context.h mariadb-10.1.9/include/my_context.h\n+--- mariadb-10.1.9.orig/include/my_context.h   2015-11-20 17:08:02.000000000 -0800\n++++ mariadb-10.1.9/include/my_context.h        2016-01-27 00:26:50.000000000 -0800\n+@@ -27,8 +27,10 @@\n+ \n+ #ifdef __WIN__\n+ #define MY_CONTEXT_USE_WIN32_FIBERS 1\n+-#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)\n++#elif defined(__clang__)","path":"patches/el5-asm-compat.patch","position":30,"original_position":30,"commit_id":"bdd69136229c8eac51b5e0bb45aea93d2c56a47f","original_commit_id":"bdd69136229c8eac51b5e0bb45aea93d2c56a47f","user":{"login":"timj","id":60622,"avatar_url":"https://avatars.githubusercontent.com/u/60622?v=3","gravatar_id":"","url":"https://api.github.com/users/timj","html_url":"https://github.com/timj","followers_url":"https://api.github.com/users/timj/followers","following_url":"https://api.github.com/users/timj/following{/other_user}","gists_url":"https://api.github.com/users/timj/gists{/gist_id}","starred_url":"https://api.github.com/users/timj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timj/subscriptions","organizations_url":"https://api.github.com/users/timj/orgs","repos_url":"https://api.github.com/users/timj/repos","events_url":"https://api.github.com/users/timj/events{/privacy}","received_events_url":"https://api.github.com/users/timj/received_events","type":"User","site_admin":false},"body":"If this is an EL5 patch how come there is a clang line here?","created_at":"2016-02-24T01:19:21Z","updated_at":"2016-02-24T01:19:21Z","html_url":"https://github.com/lsst/mariadb/pull/5#discussion_r53880741","pull_request_url":"https://api.github.com/repos/lsst/mariadb/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/lsst/mariadb/pulls/comments/53880741"},"html":{"href":"https://github.com/lsst/mariadb/pull/5#discussion_r53880741"},"pull_request":{"href":"https://api.github.com/repos/lsst/mariadb/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/lsst/mariadb/pulls/5","id":60413623,"html_url":"https://github.com/lsst/mariadb/pull/5","diff_url":"https://github.com/lsst/mariadb/pull/5.diff","patch_url":"https://github.com/lsst/mariadb/pull/5.patch","issue_url":"https://api.github.com/repos/lsst/mariadb/issues/5","number":5,"state":"closed","locked":false,"title":"fix el5-asm-compat.patch","user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"body":"Bad migration from conda-lsst.  Format was a patch-in-patch... creating\r\nthe patch is not as useful as applying it.","created_at":"2016-02-23T21:33:59Z","updated_at":"2016-02-24T01:19:21Z","closed_at":"2016-02-23T23:17:07Z","merged_at":"2016-02-23T23:17:07Z","merge_commit_sha":"8f1285c0a1fed28e2a53c110e3fbb385d24f5248","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lsst/mariadb/pulls/5/commits","review_comments_url":"https://api.github.com/repos/lsst/mariadb/pulls/5/comments","review_comment_url":"https://api.github.com/repos/lsst/mariadb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst/mariadb/issues/5/comments","statuses_url":"https://api.github.com/repos/lsst/mariadb/statuses/bdd69136229c8eac51b5e0bb45aea93d2c56a47f","head":{"label":"lsst:tickets/DM-4983-el5-compat-fixed","ref":"tickets/DM-4983-el5-compat-fixed","sha":"bdd69136229c8eac51b5e0bb45aea93d2c56a47f","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":47137404,"name":"mariadb","full_name":"lsst/mariadb","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/mariadb","description":"","fork":false,"url":"https://api.github.com/repos/lsst/mariadb","forks_url":"https://api.github.com/repos/lsst/mariadb/forks","keys_url":"https://api.github.com/repos/lsst/mariadb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/mariadb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/mariadb/teams","hooks_url":"https://api.github.com/repos/lsst/mariadb/hooks","issue_events_url":"https://api.github.com/repos/lsst/mariadb/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/mariadb/events","assignees_url":"https://api.github.com/repos/lsst/mariadb/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/mariadb/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/mariadb/tags","blobs_url":"https://api.github.com/repos/lsst/mariadb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/mariadb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/mariadb/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/mariadb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/mariadb/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/mariadb/languages","stargazers_url":"https://api.github.com/repos/lsst/mariadb/stargazers","contributors_url":"https://api.github.com/repos/lsst/mariadb/contributors","subscribers_url":"https://api.github.com/repos/lsst/mariadb/subscribers","subscription_url":"https://api.github.com/repos/lsst/mariadb/subscription","commits_url":"https://api.github.com/repos/lsst/mariadb/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/mariadb/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/mariadb/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/mariadb/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/mariadb/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/mariadb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/mariadb/merges","archive_url":"https://api.github.com/repos/lsst/mariadb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/mariadb/downloads","issues_url":"https://api.github.com/repos/lsst/mariadb/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/mariadb/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/mariadb/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/mariadb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/mariadb/labels{/name}","releases_url":"https://api.github.com/repos/lsst/mariadb/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/mariadb/deployments","created_at":"2015-11-30T18:22:13Z","updated_at":"2016-02-01T16:32:18Z","pushed_at":"2016-02-23T23:17:07Z","git_url":"git://github.com/lsst/mariadb.git","ssh_url":"git@github.com:lsst/mariadb.git","clone_url":"https://github.com/lsst/mariadb.git","svn_url":"https://github.com/lsst/mariadb","homepage":null,"size":144328,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"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":"lsst:master","ref":"master","sha":"178d32ff70c784445264828b75bc4be425f421b6","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":47137404,"name":"mariadb","full_name":"lsst/mariadb","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/mariadb","description":"","fork":false,"url":"https://api.github.com/repos/lsst/mariadb","forks_url":"https://api.github.com/repos/lsst/mariadb/forks","keys_url":"https://api.github.com/repos/lsst/mariadb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/mariadb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/mariadb/teams","hooks_url":"https://api.github.com/repos/lsst/mariadb/hooks","issue_events_url":"https://api.github.com/repos/lsst/mariadb/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/mariadb/events","assignees_url":"https://api.github.com/repos/lsst/mariadb/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/mariadb/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/mariadb/tags","blobs_url":"https://api.github.com/repos/lsst/mariadb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/mariadb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/mariadb/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/mariadb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/mariadb/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/mariadb/languages","stargazers_url":"https://api.github.com/repos/lsst/mariadb/stargazers","contributors_url":"https://api.github.com/repos/lsst/mariadb/contributors","subscribers_url":"https://api.github.com/repos/lsst/mariadb/subscribers","subscription_url":"https://api.github.com/repos/lsst/mariadb/subscription","commits_url":"https://api.github.com/repos/lsst/mariadb/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/mariadb/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/mariadb/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/mariadb/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/mariadb/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/mariadb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/mariadb/merges","archive_url":"https://api.github.com/repos/lsst/mariadb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/mariadb/downloads","issues_url":"https://api.github.com/repos/lsst/mariadb/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/mariadb/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/mariadb/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/mariadb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/mariadb/labels{/name}","releases_url":"https://api.github.com/repos/lsst/mariadb/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/mariadb/deployments","created_at":"2015-11-30T18:22:13Z","updated_at":"2016-02-01T16:32:18Z","pushed_at":"2016-02-23T23:17:07Z","git_url":"git://github.com/lsst/mariadb.git","ssh_url":"git@github.com:lsst/mariadb.git","clone_url":"https://github.com/lsst/mariadb.git","svn_url":"https://github.com/lsst/mariadb","homepage":null,"size":144328,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/mariadb/pulls/5"},"html":{"href":"https://github.com/lsst/mariadb/pull/5"},"issue":{"href":"https://api.github.com/repos/lsst/mariadb/issues/5"},"comments":{"href":"https://api.github.com/repos/lsst/mariadb/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/mariadb/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/mariadb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst/mariadb/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/mariadb/statuses/bdd69136229c8eac51b5e0bb45aea93d2c56a47f"}}}}