{"action":"created","comment":{"url":"https://api.github.com/repos/mxe/mxe/pulls/comments/70055227","id":70055227,"diff_hunk":"@@ -17,16 +17,19 @@ define $(PKG)_UPDATE\n endef\n \n define $(PKG)_BUILD\n-    cd '$(1)' && ./autogen.sh\n-    cd '$(1)' && ./configure \\\n-        $(MXE_CONFIGURE_OPTS) \\\n-        --enable-replace-glut \\\n-        --disable-debug \\\n-        --without-x\n-    $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(if $(BUILD_STATIC),EXPORT_FLAGS='-DFREEGLUT_STATIC')\n+    mkdir '$(1).build'\n+    cd    '$(1).build' && $(TARGET)-cmake '$(1)' \\\n+        -DFREEGLUT_GLES=OFF \\\n+        -DFREEGLUT_BUILD_DEMOS=OFF \\\n+        -DFREEGLUT_REPLACE_GLUT=ON \\\n+        -DFREEGLUT_BUILD_STATIC_LIBS=$(if $(BUILD_STATIC),true,false) \\\n+        -DFREEGLUT_BUILD_SHARED_LIBS=$(if $(BUILD_STATIC),false,true)\n+    $(MAKE) -C '$(1).build' -j '$(JOBS)'\n+    $(MAKE) -C '$(1).build' -j 1 install\n \n     '$(TARGET)-gcc' \\\n         -W -Wall -Werror -ansi -pedantic \\\n         '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-freeglut.exe' \\\n-        `'$(TARGET)-pkg-config' glut --cflags --libs`\n+        $(if $(BUILD_STATIC),-DFREEGLUT_STATIC) \\\n+        -L'$(PREFIX)/$(TARGET)/lib' -lglut -lglu32 -lopengl32 -lgdi32 -lwinmm","path":"src/freeglut.mk","position":39,"original_position":39,"commit_id":"8acc43c958b0e8ba8e94611e74aecc5690543365","original_commit_id":"8acc43c958b0e8ba8e94611e74aecc5690543365","user":{"login":"tehnick","id":441190,"avatar_url":"https://avatars.githubusercontent.com/u/441190?v=3","gravatar_id":"","url":"https://api.github.com/users/tehnick","html_url":"https://github.com/tehnick","followers_url":"https://api.github.com/users/tehnick/followers","following_url":"https://api.github.com/users/tehnick/following{/other_user}","gists_url":"https://api.github.com/users/tehnick/gists{/gist_id}","starred_url":"https://api.github.com/users/tehnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehnick/subscriptions","organizations_url":"https://api.github.com/users/tehnick/orgs","repos_url":"https://api.github.com/users/tehnick/repos","events_url":"https://api.github.com/users/tehnick/events{/privacy}","received_events_url":"https://api.github.com/users/tehnick/received_events","type":"User","site_admin":false},"body":"@tonytheodore \r\n#1429","created_at":"2016-07-08T10:32:15Z","updated_at":"2016-07-08T10:32:15Z","html_url":"https://github.com/mxe/mxe/pull/1399#discussion_r70055227","pull_request_url":"https://api.github.com/repos/mxe/mxe/pulls/1399","_links":{"self":{"href":"https://api.github.com/repos/mxe/mxe/pulls/comments/70055227"},"html":{"href":"https://github.com/mxe/mxe/pull/1399#discussion_r70055227"},"pull_request":{"href":"https://api.github.com/repos/mxe/mxe/pulls/1399"}}},"pull_request":{"url":"https://api.github.com/repos/mxe/mxe/pulls/1399","id":74349047,"html_url":"https://github.com/mxe/mxe/pull/1399","diff_url":"https://github.com/mxe/mxe/pull/1399.diff","patch_url":"https://github.com/mxe/mxe/pull/1399.patch","issue_url":"https://api.github.com/repos/mxe/mxe/issues/1399","number":1399,"state":"closed","locked":false,"title":"freeglut: update from 2.8.1 to 3.0.0","user":{"login":"tehnick","id":441190,"avatar_url":"https://avatars.githubusercontent.com/u/441190?v=3","gravatar_id":"","url":"https://api.github.com/users/tehnick","html_url":"https://github.com/tehnick","followers_url":"https://api.github.com/users/tehnick/followers","following_url":"https://api.github.com/users/tehnick/following{/other_user}","gists_url":"https://api.github.com/users/tehnick/gists{/gist_id}","starred_url":"https://api.github.com/users/tehnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehnick/subscriptions","organizations_url":"https://api.github.com/users/tehnick/orgs","repos_url":"https://api.github.com/users/tehnick/repos","events_url":"https://api.github.com/users/tehnick/events{/privacy}","received_events_url":"https://api.github.com/users/tehnick/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-18T22:33:05Z","updated_at":"2016-07-08T10:32:15Z","closed_at":"2016-06-29T21:57:23Z","merged_at":"2016-06-29T21:57:23Z","merge_commit_sha":"57dbfcd54aadd5e7d15ba9e8a78af5690a131c7f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mxe/mxe/pulls/1399/commits","review_comments_url":"https://api.github.com/repos/mxe/mxe/pulls/1399/comments","review_comment_url":"https://api.github.com/repos/mxe/mxe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mxe/mxe/issues/1399/comments","statuses_url":"https://api.github.com/repos/mxe/mxe/statuses/8acc43c958b0e8ba8e94611e74aecc5690543365","head":{"label":"sibuserv:update-freeglut","ref":"update-freeglut","sha":"8acc43c958b0e8ba8e94611e74aecc5690543365","user":{"login":"sibuserv","id":20335942,"avatar_url":"https://avatars.githubusercontent.com/u/20335942?v=3","gravatar_id":"","url":"https://api.github.com/users/sibuserv","html_url":"https://github.com/sibuserv","followers_url":"https://api.github.com/users/sibuserv/followers","following_url":"https://api.github.com/users/sibuserv/following{/other_user}","gists_url":"https://api.github.com/users/sibuserv/gists{/gist_id}","starred_url":"https://api.github.com/users/sibuserv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sibuserv/subscriptions","organizations_url":"https://api.github.com/users/sibuserv/orgs","repos_url":"https://api.github.com/users/sibuserv/repos","events_url":"https://api.github.com/users/sibuserv/events{/privacy}","received_events_url":"https://api.github.com/users/sibuserv/received_events","type":"Organization","site_admin":false},"repo":{"id":32098698,"name":"mxe","full_name":"sibuserv/mxe","owner":{"login":"sibuserv","id":20335942,"avatar_url":"https://avatars.githubusercontent.com/u/20335942?v=3","gravatar_id":"","url":"https://api.github.com/users/sibuserv","html_url":"https://github.com/sibuserv","followers_url":"https://api.github.com/users/sibuserv/followers","following_url":"https://api.github.com/users/sibuserv/following{/other_user}","gists_url":"https://api.github.com/users/sibuserv/gists{/gist_id}","starred_url":"https://api.github.com/users/sibuserv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sibuserv/subscriptions","organizations_url":"https://api.github.com/users/sibuserv/orgs","repos_url":"https://api.github.com/users/sibuserv/repos","events_url":"https://api.github.com/users/sibuserv/events{/privacy}","received_events_url":"https://api.github.com/users/sibuserv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sibuserv/mxe","description":"MXE (M cross environment)","fork":true,"url":"https://api.github.com/repos/sibuserv/mxe","forks_url":"https://api.github.com/repos/sibuserv/mxe/forks","keys_url":"https://api.github.com/repos/sibuserv/mxe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sibuserv/mxe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sibuserv/mxe/teams","hooks_url":"https://api.github.com/repos/sibuserv/mxe/hooks","issue_events_url":"https://api.github.com/repos/sibuserv/mxe/issues/events{/number}","events_url":"https://api.github.com/repos/sibuserv/mxe/events","assignees_url":"https://api.github.com/repos/sibuserv/mxe/assignees{/user}","branches_url":"https://api.github.com/repos/sibuserv/mxe/branches{/branch}","tags_url":"https://api.github.com/repos/sibuserv/mxe/tags","blobs_url":"https://api.github.com/repos/sibuserv/mxe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sibuserv/mxe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sibuserv/mxe/git/refs{/sha}","trees_url":"https://api.github.com/repos/sibuserv/mxe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sibuserv/mxe/statuses/{sha}","languages_url":"https://api.github.com/repos/sibuserv/mxe/languages","stargazers_url":"https://api.github.com/repos/sibuserv/mxe/stargazers","contributors_url":"https://api.github.com/repos/sibuserv/mxe/contributors","subscribers_url":"https://api.github.com/repos/sibuserv/mxe/subscribers","subscription_url":"https://api.github.com/repos/sibuserv/mxe/subscription","commits_url":"https://api.github.com/repos/sibuserv/mxe/commits{/sha}","git_commits_url":"https://api.github.com/repos/sibuserv/mxe/git/commits{/sha}","comments_url":"https://api.github.com/repos/sibuserv/mxe/comments{/number}","issue_comment_url":"https://api.github.com/repos/sibuserv/mxe/issues/comments{/number}","contents_url":"https://api.github.com/repos/sibuserv/mxe/contents/{+path}","compare_url":"https://api.github.com/repos/sibuserv/mxe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sibuserv/mxe/merges","archive_url":"https://api.github.com/repos/sibuserv/mxe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sibuserv/mxe/downloads","issues_url":"https://api.github.com/repos/sibuserv/mxe/issues{/number}","pulls_url":"https://api.github.com/repos/sibuserv/mxe/pulls{/number}","milestones_url":"https://api.github.com/repos/sibuserv/mxe/milestones{/number}","notifications_url":"https://api.github.com/repos/sibuserv/mxe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sibuserv/mxe/labels{/name}","releases_url":"https://api.github.com/repos/sibuserv/mxe/releases{/id}","deployments_url":"https://api.github.com/repos/sibuserv/mxe/deployments","created_at":"2015-03-12T19:50:14Z","updated_at":"2016-07-07T10:52:21Z","pushed_at":"2016-07-08T10:29:25Z","git_url":"git://github.com/sibuserv/mxe.git","ssh_url":"git@github.com:sibuserv/mxe.git","clone_url":"https://github.com/sibuserv/mxe.git","svn_url":"https://github.com/sibuserv/mxe","homepage":"http://mxe.cc","size":20416,"stargazers_count":1,"watchers_count":1,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"work"}},"base":{"label":"mxe:master","ref":"master","sha":"b924c6596e59266f24d210642f1667c81bd361be","user":{"login":"mxe","id":1564476,"avatar_url":"https://avatars.githubusercontent.com/u/1564476?v=3","gravatar_id":"","url":"https://api.github.com/users/mxe","html_url":"https://github.com/mxe","followers_url":"https://api.github.com/users/mxe/followers","following_url":"https://api.github.com/users/mxe/following{/other_user}","gists_url":"https://api.github.com/users/mxe/gists{/gist_id}","starred_url":"https://api.github.com/users/mxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxe/subscriptions","organizations_url":"https://api.github.com/users/mxe/orgs","repos_url":"https://api.github.com/users/mxe/repos","events_url":"https://api.github.com/users/mxe/events{/privacy}","received_events_url":"https://api.github.com/users/mxe/received_events","type":"Organization","site_admin":false},"repo":{"id":3797741,"name":"mxe","full_name":"mxe/mxe","owner":{"login":"mxe","id":1564476,"avatar_url":"https://avatars.githubusercontent.com/u/1564476?v=3","gravatar_id":"","url":"https://api.github.com/users/mxe","html_url":"https://github.com/mxe","followers_url":"https://api.github.com/users/mxe/followers","following_url":"https://api.github.com/users/mxe/following{/other_user}","gists_url":"https://api.github.com/users/mxe/gists{/gist_id}","starred_url":"https://api.github.com/users/mxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxe/subscriptions","organizations_url":"https://api.github.com/users/mxe/orgs","repos_url":"https://api.github.com/users/mxe/repos","events_url":"https://api.github.com/users/mxe/events{/privacy}","received_events_url":"https://api.github.com/users/mxe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mxe/mxe","description":"MXE (M cross environment)","fork":false,"url":"https://api.github.com/repos/mxe/mxe","forks_url":"https://api.github.com/repos/mxe/mxe/forks","keys_url":"https://api.github.com/repos/mxe/mxe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxe/mxe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxe/mxe/teams","hooks_url":"https://api.github.com/repos/mxe/mxe/hooks","issue_events_url":"https://api.github.com/repos/mxe/mxe/issues/events{/number}","events_url":"https://api.github.com/repos/mxe/mxe/events","assignees_url":"https://api.github.com/repos/mxe/mxe/assignees{/user}","branches_url":"https://api.github.com/repos/mxe/mxe/branches{/branch}","tags_url":"https://api.github.com/repos/mxe/mxe/tags","blobs_url":"https://api.github.com/repos/mxe/mxe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxe/mxe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxe/mxe/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxe/mxe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxe/mxe/statuses/{sha}","languages_url":"https://api.github.com/repos/mxe/mxe/languages","stargazers_url":"https://api.github.com/repos/mxe/mxe/stargazers","contributors_url":"https://api.github.com/repos/mxe/mxe/contributors","subscribers_url":"https://api.github.com/repos/mxe/mxe/subscribers","subscription_url":"https://api.github.com/repos/mxe/mxe/subscription","commits_url":"https://api.github.com/repos/mxe/mxe/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxe/mxe/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxe/mxe/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxe/mxe/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxe/mxe/contents/{+path}","compare_url":"https://api.github.com/repos/mxe/mxe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxe/mxe/merges","archive_url":"https://api.github.com/repos/mxe/mxe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxe/mxe/downloads","issues_url":"https://api.github.com/repos/mxe/mxe/issues{/number}","pulls_url":"https://api.github.com/repos/mxe/mxe/pulls{/number}","milestones_url":"https://api.github.com/repos/mxe/mxe/milestones{/number}","notifications_url":"https://api.github.com/repos/mxe/mxe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxe/mxe/labels{/name}","releases_url":"https://api.github.com/repos/mxe/mxe/releases{/id}","deployments_url":"https://api.github.com/repos/mxe/mxe/deployments","created_at":"2012-03-22T13:01:48Z","updated_at":"2016-07-07T14:15:30Z","pushed_at":"2016-07-08T10:30:14Z","git_url":"git://github.com/mxe/mxe.git","ssh_url":"git@github.com:mxe/mxe.git","clone_url":"https://github.com/mxe/mxe.git","svn_url":"https://github.com/mxe/mxe","homepage":"http://mxe.cc","size":27867,"stargazers_count":315,"watchers_count":315,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":220,"mirror_url":null,"open_issues_count":152,"forks":220,"open_issues":152,"watchers":315,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mxe/mxe/pulls/1399"},"html":{"href":"https://github.com/mxe/mxe/pull/1399"},"issue":{"href":"https://api.github.com/repos/mxe/mxe/issues/1399"},"comments":{"href":"https://api.github.com/repos/mxe/mxe/issues/1399/comments"},"review_comments":{"href":"https://api.github.com/repos/mxe/mxe/pulls/1399/comments"},"review_comment":{"href":"https://api.github.com/repos/mxe/mxe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mxe/mxe/pulls/1399/commits"},"statuses":{"href":"https://api.github.com/repos/mxe/mxe/statuses/8acc43c958b0e8ba8e94611e74aecc5690543365"}}}}
{"actor":{"display_login":"tehnick"}}