{"action":"created","comment":{"url":"https://api.github.com/repos/LogRhythm/netmap/pulls/comments/52080102","id":52080102,"diff_hunk":"@@ -23,6 +23,14 @@ rpmdev-setuptree\n KERNEL=`uname -r`\n sed -e 's/@KERNEL_VERSION@/'${KERNEL%.x86_64}'/g'  packaging/netmap.spec > ~/rpmbuild/SPECS/netmap.spec\n \n+# Necessary step to allow gcc5 to build netmap\n+# ref: http://stackoverflow.com/questions/29925513/compile-a-linux-2-6-kernel-module-with-newer-compiler\n+\n+GCC5_KERNEL_FILE=\"/usr/src/kernels/${KERNEL}/include/linux/compiler-gcc5.h\"\n+echo \"kernel file: $GCC5_KERNEL_FILE\"\n+sudo touch $GCC5_KERNEL_FILE\n+echo \"#include <linux/compiler-gcc4.h>\" | sudo tee --append \"$GCC5_KERNEL_FILE\"","path":"LINUX/scripts/buildRpm.sh","position":10,"original_position":10,"commit_id":"1f3ba38f1a7ff8cf241cecab856ba66cb7a36c18","original_commit_id":"1f3ba38f1a7ff8cf241cecab856ba66cb7a36c18","user":{"login":"john-gress","id":4615494,"avatar_url":"https://avatars.githubusercontent.com/u/4615494?v=3","gravatar_id":"","url":"https://api.github.com/users/john-gress","html_url":"https://github.com/john-gress","followers_url":"https://api.github.com/users/john-gress/followers","following_url":"https://api.github.com/users/john-gress/following{/other_user}","gists_url":"https://api.github.com/users/john-gress/gists{/gist_id}","starred_url":"https://api.github.com/users/john-gress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-gress/subscriptions","organizations_url":"https://api.github.com/users/john-gress/orgs","repos_url":"https://api.github.com/users/john-gress/repos","events_url":"https://api.github.com/users/john-gress/events{/privacy}","received_events_url":"https://api.github.com/users/john-gress/received_events","type":"User","site_admin":false},"body":"You need to check if the file exist. If it does don't add to it.","created_at":"2016-02-05T22:14:57Z","updated_at":"2016-02-05T22:14:57Z","html_url":"https://github.com/LogRhythm/netmap/pull/8#discussion_r52080102","pull_request_url":"https://api.github.com/repos/LogRhythm/netmap/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/LogRhythm/netmap/pulls/comments/52080102"},"html":{"href":"https://github.com/LogRhythm/netmap/pull/8#discussion_r52080102"},"pull_request":{"href":"https://api.github.com/repos/LogRhythm/netmap/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/LogRhythm/netmap/pulls/8","id":58464706,"html_url":"https://github.com/LogRhythm/netmap/pull/8","diff_url":"https://github.com/LogRhythm/netmap/pull/8.diff","patch_url":"https://github.com/LogRhythm/netmap/pull/8.patch","issue_url":"https://api.github.com/repos/LogRhythm/netmap/issues/8","number":8,"state":"open","locked":false,"title":"to compile with gcc5x","user":{"login":"KjellKod","id":331742,"avatar_url":"https://avatars.githubusercontent.com/u/331742?v=3","gravatar_id":"","url":"https://api.github.com/users/KjellKod","html_url":"https://github.com/KjellKod","followers_url":"https://api.github.com/users/KjellKod/followers","following_url":"https://api.github.com/users/KjellKod/following{/other_user}","gists_url":"https://api.github.com/users/KjellKod/gists{/gist_id}","starred_url":"https://api.github.com/users/KjellKod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KjellKod/subscriptions","organizations_url":"https://api.github.com/users/KjellKod/orgs","repos_url":"https://api.github.com/users/KjellKod/repos","events_url":"https://api.github.com/users/KjellKod/events{/privacy}","received_events_url":"https://api.github.com/users/KjellKod/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-05T18:17:26Z","updated_at":"2016-02-05T22:14:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fd2b7a83ddb648ceee0aab919df4cf7eefacf0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LogRhythm/netmap/pulls/8/commits","review_comments_url":"https://api.github.com/repos/LogRhythm/netmap/pulls/8/comments","review_comment_url":"https://api.github.com/repos/LogRhythm/netmap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LogRhythm/netmap/issues/8/comments","statuses_url":"https://api.github.com/repos/LogRhythm/netmap/statuses/1f3ba38f1a7ff8cf241cecab856ba66cb7a36c18","head":{"label":"KjellKod:gcc_5x","ref":"gcc_5x","sha":"1f3ba38f1a7ff8cf241cecab856ba66cb7a36c18","user":{"login":"KjellKod","id":331742,"avatar_url":"https://avatars.githubusercontent.com/u/331742?v=3","gravatar_id":"","url":"https://api.github.com/users/KjellKod","html_url":"https://github.com/KjellKod","followers_url":"https://api.github.com/users/KjellKod/followers","following_url":"https://api.github.com/users/KjellKod/following{/other_user}","gists_url":"https://api.github.com/users/KjellKod/gists{/gist_id}","starred_url":"https://api.github.com/users/KjellKod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KjellKod/subscriptions","organizations_url":"https://api.github.com/users/KjellKod/orgs","repos_url":"https://api.github.com/users/KjellKod/repos","events_url":"https://api.github.com/users/KjellKod/events{/privacy}","received_events_url":"https://api.github.com/users/KjellKod/received_events","type":"User","site_admin":false},"repo":{"id":51165156,"name":"netmap","full_name":"KjellKod/netmap","owner":{"login":"KjellKod","id":331742,"avatar_url":"https://avatars.githubusercontent.com/u/331742?v=3","gravatar_id":"","url":"https://api.github.com/users/KjellKod","html_url":"https://github.com/KjellKod","followers_url":"https://api.github.com/users/KjellKod/followers","following_url":"https://api.github.com/users/KjellKod/following{/other_user}","gists_url":"https://api.github.com/users/KjellKod/gists{/gist_id}","starred_url":"https://api.github.com/users/KjellKod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KjellKod/subscriptions","organizations_url":"https://api.github.com/users/KjellKod/orgs","repos_url":"https://api.github.com/users/KjellKod/repos","events_url":"https://api.github.com/users/KjellKod/events{/privacy}","received_events_url":"https://api.github.com/users/KjellKod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KjellKod/netmap","description":"Automatically exported from code.google.com/p/netmap","fork":true,"url":"https://api.github.com/repos/KjellKod/netmap","forks_url":"https://api.github.com/repos/KjellKod/netmap/forks","keys_url":"https://api.github.com/repos/KjellKod/netmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KjellKod/netmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KjellKod/netmap/teams","hooks_url":"https://api.github.com/repos/KjellKod/netmap/hooks","issue_events_url":"https://api.github.com/repos/KjellKod/netmap/issues/events{/number}","events_url":"https://api.github.com/repos/KjellKod/netmap/events","assignees_url":"https://api.github.com/repos/KjellKod/netmap/assignees{/user}","branches_url":"https://api.github.com/repos/KjellKod/netmap/branches{/branch}","tags_url":"https://api.github.com/repos/KjellKod/netmap/tags","blobs_url":"https://api.github.com/repos/KjellKod/netmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KjellKod/netmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KjellKod/netmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/KjellKod/netmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KjellKod/netmap/statuses/{sha}","languages_url":"https://api.github.com/repos/KjellKod/netmap/languages","stargazers_url":"https://api.github.com/repos/KjellKod/netmap/stargazers","contributors_url":"https://api.github.com/repos/KjellKod/netmap/contributors","subscribers_url":"https://api.github.com/repos/KjellKod/netmap/subscribers","subscription_url":"https://api.github.com/repos/KjellKod/netmap/subscription","commits_url":"https://api.github.com/repos/KjellKod/netmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/KjellKod/netmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/KjellKod/netmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/KjellKod/netmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/KjellKod/netmap/contents/{+path}","compare_url":"https://api.github.com/repos/KjellKod/netmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KjellKod/netmap/merges","archive_url":"https://api.github.com/repos/KjellKod/netmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KjellKod/netmap/downloads","issues_url":"https://api.github.com/repos/KjellKod/netmap/issues{/number}","pulls_url":"https://api.github.com/repos/KjellKod/netmap/pulls{/number}","milestones_url":"https://api.github.com/repos/KjellKod/netmap/milestones{/number}","notifications_url":"https://api.github.com/repos/KjellKod/netmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KjellKod/netmap/labels{/name}","releases_url":"https://api.github.com/repos/KjellKod/netmap/releases{/id}","deployments_url":"https://api.github.com/repos/KjellKod/netmap/deployments","created_at":"2016-02-05T18:17:04Z","updated_at":"2016-02-05T18:17:05Z","pushed_at":"2016-02-05T18:17:15Z","git_url":"git://github.com/KjellKod/netmap.git","ssh_url":"git@github.com:KjellKod/netmap.git","clone_url":"https://github.com/KjellKod/netmap.git","svn_url":"https://github.com/KjellKod/netmap","homepage":null,"size":5817,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":false,"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":"LogRhythm:master","ref":"master","sha":"dd8758eea8bc6548d156bb15c2e2751e932f951b","user":{"login":"LogRhythm","id":4572303,"avatar_url":"https://avatars.githubusercontent.com/u/4572303?v=3","gravatar_id":"","url":"https://api.github.com/users/LogRhythm","html_url":"https://github.com/LogRhythm","followers_url":"https://api.github.com/users/LogRhythm/followers","following_url":"https://api.github.com/users/LogRhythm/following{/other_user}","gists_url":"https://api.github.com/users/LogRhythm/gists{/gist_id}","starred_url":"https://api.github.com/users/LogRhythm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LogRhythm/subscriptions","organizations_url":"https://api.github.com/users/LogRhythm/orgs","repos_url":"https://api.github.com/users/LogRhythm/repos","events_url":"https://api.github.com/users/LogRhythm/events{/privacy}","received_events_url":"https://api.github.com/users/LogRhythm/received_events","type":"Organization","site_admin":false},"repo":{"id":45276141,"name":"netmap","full_name":"LogRhythm/netmap","owner":{"login":"LogRhythm","id":4572303,"avatar_url":"https://avatars.githubusercontent.com/u/4572303?v=3","gravatar_id":"","url":"https://api.github.com/users/LogRhythm","html_url":"https://github.com/LogRhythm","followers_url":"https://api.github.com/users/LogRhythm/followers","following_url":"https://api.github.com/users/LogRhythm/following{/other_user}","gists_url":"https://api.github.com/users/LogRhythm/gists{/gist_id}","starred_url":"https://api.github.com/users/LogRhythm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LogRhythm/subscriptions","organizations_url":"https://api.github.com/users/LogRhythm/orgs","repos_url":"https://api.github.com/users/LogRhythm/repos","events_url":"https://api.github.com/users/LogRhythm/events{/privacy}","received_events_url":"https://api.github.com/users/LogRhythm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LogRhythm/netmap","description":"Automatically exported from code.google.com/p/netmap","fork":true,"url":"https://api.github.com/repos/LogRhythm/netmap","forks_url":"https://api.github.com/repos/LogRhythm/netmap/forks","keys_url":"https://api.github.com/repos/LogRhythm/netmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LogRhythm/netmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LogRhythm/netmap/teams","hooks_url":"https://api.github.com/repos/LogRhythm/netmap/hooks","issue_events_url":"https://api.github.com/repos/LogRhythm/netmap/issues/events{/number}","events_url":"https://api.github.com/repos/LogRhythm/netmap/events","assignees_url":"https://api.github.com/repos/LogRhythm/netmap/assignees{/user}","branches_url":"https://api.github.com/repos/LogRhythm/netmap/branches{/branch}","tags_url":"https://api.github.com/repos/LogRhythm/netmap/tags","blobs_url":"https://api.github.com/repos/LogRhythm/netmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LogRhythm/netmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LogRhythm/netmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/LogRhythm/netmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LogRhythm/netmap/statuses/{sha}","languages_url":"https://api.github.com/repos/LogRhythm/netmap/languages","stargazers_url":"https://api.github.com/repos/LogRhythm/netmap/stargazers","contributors_url":"https://api.github.com/repos/LogRhythm/netmap/contributors","subscribers_url":"https://api.github.com/repos/LogRhythm/netmap/subscribers","subscription_url":"https://api.github.com/repos/LogRhythm/netmap/subscription","commits_url":"https://api.github.com/repos/LogRhythm/netmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/LogRhythm/netmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/LogRhythm/netmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/LogRhythm/netmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/LogRhythm/netmap/contents/{+path}","compare_url":"https://api.github.com/repos/LogRhythm/netmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LogRhythm/netmap/merges","archive_url":"https://api.github.com/repos/LogRhythm/netmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LogRhythm/netmap/downloads","issues_url":"https://api.github.com/repos/LogRhythm/netmap/issues{/number}","pulls_url":"https://api.github.com/repos/LogRhythm/netmap/pulls{/number}","milestones_url":"https://api.github.com/repos/LogRhythm/netmap/milestones{/number}","notifications_url":"https://api.github.com/repos/LogRhythm/netmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LogRhythm/netmap/labels{/name}","releases_url":"https://api.github.com/repos/LogRhythm/netmap/releases{/id}","deployments_url":"https://api.github.com/repos/LogRhythm/netmap/deployments","created_at":"2015-10-30T20:57:02Z","updated_at":"2015-12-07T13:02:15Z","pushed_at":"2016-02-05T18:17:26Z","git_url":"git://github.com/LogRhythm/netmap.git","ssh_url":"git@github.com:LogRhythm/netmap.git","clone_url":"https://github.com/LogRhythm/netmap.git","svn_url":"https://github.com/LogRhythm/netmap","homepage":null,"size":5809,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LogRhythm/netmap/pulls/8"},"html":{"href":"https://github.com/LogRhythm/netmap/pull/8"},"issue":{"href":"https://api.github.com/repos/LogRhythm/netmap/issues/8"},"comments":{"href":"https://api.github.com/repos/LogRhythm/netmap/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/LogRhythm/netmap/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/LogRhythm/netmap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LogRhythm/netmap/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/LogRhythm/netmap/statuses/1f3ba38f1a7ff8cf241cecab856ba66cb7a36c18"}}}}