{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/fusesource/hawtjni/pulls/26","id":73629521,"html_url":"https://github.com/fusesource/hawtjni/pull/26","diff_url":"https://github.com/fusesource/hawtjni/pull/26.diff","patch_url":"https://github.com/fusesource/hawtjni/pull/26.patch","issue_url":"https://api.github.com/repos/fusesource/hawtjni/issues/26","number":26,"state":"closed","locked":false,"title":"Improve FreeBSD support","user":{"login":"michael-o","id":573017,"avatar_url":"https://avatars.githubusercontent.com/u/573017?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"body":"* Detect JAVA_HOME automatically as advised by [`man javavm`](https://www.freebsd.org/cgi/man.cgi?query=javavm&apropos=0&sektion=0&manpath=FreeBSD+10.3-RELEASE+and+Ports&arch=default&format=html#EXAMPLES) if not set\r\n* Avoid a compile-time error on FreeBSD 10.3-RELEASE along with clang if the\r\n  OS-specific include directory is not passed to the preprocessor, BSD/OS is dead for 15 years+ and does not correspond to modern BSDs like FreeBSD or OpenBSD. See [`config.sub`](https://github.com/gcc-mirror/gcc/blob/master/config.guess#L824).\r\n\r\nBoth compiles now perfectly on FreeBSD 9 and 10 in 32 bit and 64 bit, Java 7 and Java 8.\r\n\r\nError with `clang` (FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512, Target: x86_64-unknown-freebsd10.3, Thread model: posix):\r\n\r\n    configure:11640: JAVA_HOME was set, checking to see if it's a JDK we can use...\r\n    configure:11645: checking if '/usr/local/openjdk8' is a JDK\r\n    configure:11706: cc -c -g -O2  -I/usr/local/openjdk8/include conftest.c >&5\r\n    In file included from conftest.c:21:\r\n    /usr/local/openjdk8/include/jni.h:45:10: fatal error: 'jni_md.h' file not found\r\n    #include \"jni_md.h\"\r\n             ^\r\n    1 error generated.\r\n    configure:11706: $? = 1\r\n    \r\nWorking library:\r\n\r\n    $ file ./target/native-build/target/lib/libjansi-1.7-SNAPSHOT.so\r\n    ./target/native-build/target/lib/libjansi-1.7-SNAPSHOT.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped","created_at":"2016-06-13T19:28:56Z","updated_at":"2016-06-20T15:39:55Z","closed_at":"2016-06-20T15:39:54Z","merged_at":"2016-06-20T15:39:54Z","merge_commit_sha":"e2522b0ddd9f8975dc3a1cc99534ea458b807ddd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fusesource/hawtjni/pulls/26/commits","review_comments_url":"https://api.github.com/repos/fusesource/hawtjni/pulls/26/comments","review_comment_url":"https://api.github.com/repos/fusesource/hawtjni/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fusesource/hawtjni/issues/26/comments","statuses_url":"https://api.github.com/repos/fusesource/hawtjni/statuses/6dc93fe4c3b67e68d9805b6f0cc7f2b7c36d5b06","head":{"label":"michael-o:freebsd","ref":"freebsd","sha":"6dc93fe4c3b67e68d9805b6f0cc7f2b7c36d5b06","user":{"login":"michael-o","id":573017,"avatar_url":"https://avatars.githubusercontent.com/u/573017?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"repo":{"id":61028586,"name":"hawtjni","full_name":"michael-o/hawtjni","owner":{"login":"michael-o","id":573017,"avatar_url":"https://avatars.githubusercontent.com/u/573017?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michael-o/hawtjni","description":"A JNI code generator based on the JNI generator used by the eclipse SWT project","fork":true,"url":"https://api.github.com/repos/michael-o/hawtjni","forks_url":"https://api.github.com/repos/michael-o/hawtjni/forks","keys_url":"https://api.github.com/repos/michael-o/hawtjni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michael-o/hawtjni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michael-o/hawtjni/teams","hooks_url":"https://api.github.com/repos/michael-o/hawtjni/hooks","issue_events_url":"https://api.github.com/repos/michael-o/hawtjni/issues/events{/number}","events_url":"https://api.github.com/repos/michael-o/hawtjni/events","assignees_url":"https://api.github.com/repos/michael-o/hawtjni/assignees{/user}","branches_url":"https://api.github.com/repos/michael-o/hawtjni/branches{/branch}","tags_url":"https://api.github.com/repos/michael-o/hawtjni/tags","blobs_url":"https://api.github.com/repos/michael-o/hawtjni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michael-o/hawtjni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michael-o/hawtjni/git/refs{/sha}","trees_url":"https://api.github.com/repos/michael-o/hawtjni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michael-o/hawtjni/statuses/{sha}","languages_url":"https://api.github.com/repos/michael-o/hawtjni/languages","stargazers_url":"https://api.github.com/repos/michael-o/hawtjni/stargazers","contributors_url":"https://api.github.com/repos/michael-o/hawtjni/contributors","subscribers_url":"https://api.github.com/repos/michael-o/hawtjni/subscribers","subscription_url":"https://api.github.com/repos/michael-o/hawtjni/subscription","commits_url":"https://api.github.com/repos/michael-o/hawtjni/commits{/sha}","git_commits_url":"https://api.github.com/repos/michael-o/hawtjni/git/commits{/sha}","comments_url":"https://api.github.com/repos/michael-o/hawtjni/comments{/number}","issue_comment_url":"https://api.github.com/repos/michael-o/hawtjni/issues/comments{/number}","contents_url":"https://api.github.com/repos/michael-o/hawtjni/contents/{+path}","compare_url":"https://api.github.com/repos/michael-o/hawtjni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michael-o/hawtjni/merges","archive_url":"https://api.github.com/repos/michael-o/hawtjni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michael-o/hawtjni/downloads","issues_url":"https://api.github.com/repos/michael-o/hawtjni/issues{/number}","pulls_url":"https://api.github.com/repos/michael-o/hawtjni/pulls{/number}","milestones_url":"https://api.github.com/repos/michael-o/hawtjni/milestones{/number}","notifications_url":"https://api.github.com/repos/michael-o/hawtjni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michael-o/hawtjni/labels{/name}","releases_url":"https://api.github.com/repos/michael-o/hawtjni/releases{/id}","deployments_url":"https://api.github.com/repos/michael-o/hawtjni/deployments","created_at":"2016-06-13T10:51:44Z","updated_at":"2016-06-13T10:51:45Z","pushed_at":"2016-06-13T12:58:45Z","git_url":"git://github.com/michael-o/hawtjni.git","ssh_url":"git@github.com:michael-o/hawtjni.git","clone_url":"https://github.com/michael-o/hawtjni.git","svn_url":"https://github.com/michael-o/hawtjni","homepage":"http://hawtjni.fusesource.org/","size":5282,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":"fusesource:master","ref":"master","sha":"63f30efd3fedc887502b4fb6b981940c15e3f533","user":{"login":"fusesource","id":309484,"avatar_url":"https://avatars.githubusercontent.com/u/309484?v=3","gravatar_id":"","url":"https://api.github.com/users/fusesource","html_url":"https://github.com/fusesource","followers_url":"https://api.github.com/users/fusesource/followers","following_url":"https://api.github.com/users/fusesource/following{/other_user}","gists_url":"https://api.github.com/users/fusesource/gists{/gist_id}","starred_url":"https://api.github.com/users/fusesource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusesource/subscriptions","organizations_url":"https://api.github.com/users/fusesource/orgs","repos_url":"https://api.github.com/users/fusesource/repos","events_url":"https://api.github.com/users/fusesource/events{/privacy}","received_events_url":"https://api.github.com/users/fusesource/received_events","type":"Organization","site_admin":false},"repo":{"id":519620,"name":"hawtjni","full_name":"fusesource/hawtjni","owner":{"login":"fusesource","id":309484,"avatar_url":"https://avatars.githubusercontent.com/u/309484?v=3","gravatar_id":"","url":"https://api.github.com/users/fusesource","html_url":"https://github.com/fusesource","followers_url":"https://api.github.com/users/fusesource/followers","following_url":"https://api.github.com/users/fusesource/following{/other_user}","gists_url":"https://api.github.com/users/fusesource/gists{/gist_id}","starred_url":"https://api.github.com/users/fusesource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusesource/subscriptions","organizations_url":"https://api.github.com/users/fusesource/orgs","repos_url":"https://api.github.com/users/fusesource/repos","events_url":"https://api.github.com/users/fusesource/events{/privacy}","received_events_url":"https://api.github.com/users/fusesource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusesource/hawtjni","description":"A JNI code generator based on the JNI generator used by the eclipse SWT project","fork":false,"url":"https://api.github.com/repos/fusesource/hawtjni","forks_url":"https://api.github.com/repos/fusesource/hawtjni/forks","keys_url":"https://api.github.com/repos/fusesource/hawtjni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusesource/hawtjni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusesource/hawtjni/teams","hooks_url":"https://api.github.com/repos/fusesource/hawtjni/hooks","issue_events_url":"https://api.github.com/repos/fusesource/hawtjni/issues/events{/number}","events_url":"https://api.github.com/repos/fusesource/hawtjni/events","assignees_url":"https://api.github.com/repos/fusesource/hawtjni/assignees{/user}","branches_url":"https://api.github.com/repos/fusesource/hawtjni/branches{/branch}","tags_url":"https://api.github.com/repos/fusesource/hawtjni/tags","blobs_url":"https://api.github.com/repos/fusesource/hawtjni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusesource/hawtjni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusesource/hawtjni/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusesource/hawtjni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusesource/hawtjni/statuses/{sha}","languages_url":"https://api.github.com/repos/fusesource/hawtjni/languages","stargazers_url":"https://api.github.com/repos/fusesource/hawtjni/stargazers","contributors_url":"https://api.github.com/repos/fusesource/hawtjni/contributors","subscribers_url":"https://api.github.com/repos/fusesource/hawtjni/subscribers","subscription_url":"https://api.github.com/repos/fusesource/hawtjni/subscription","commits_url":"https://api.github.com/repos/fusesource/hawtjni/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusesource/hawtjni/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusesource/hawtjni/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusesource/hawtjni/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusesource/hawtjni/contents/{+path}","compare_url":"https://api.github.com/repos/fusesource/hawtjni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusesource/hawtjni/merges","archive_url":"https://api.github.com/repos/fusesource/hawtjni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusesource/hawtjni/downloads","issues_url":"https://api.github.com/repos/fusesource/hawtjni/issues{/number}","pulls_url":"https://api.github.com/repos/fusesource/hawtjni/pulls{/number}","milestones_url":"https://api.github.com/repos/fusesource/hawtjni/milestones{/number}","notifications_url":"https://api.github.com/repos/fusesource/hawtjni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusesource/hawtjni/labels{/name}","releases_url":"https://api.github.com/repos/fusesource/hawtjni/releases{/id}","deployments_url":"https://api.github.com/repos/fusesource/hawtjni/deployments","created_at":"2010-02-16T00:49:00Z","updated_at":"2016-06-11T14:51:55Z","pushed_at":"2016-06-20T15:39:55Z","git_url":"git://github.com/fusesource/hawtjni.git","ssh_url":"git@github.com:fusesource/hawtjni.git","clone_url":"https://github.com/fusesource/hawtjni.git","svn_url":"https://github.com/fusesource/hawtjni","homepage":"http://hawtjni.fusesource.org/","size":5367,"stargazers_count":50,"watchers_count":50,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":15,"forks":30,"open_issues":15,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusesource/hawtjni/pulls/26"},"html":{"href":"https://github.com/fusesource/hawtjni/pull/26"},"issue":{"href":"https://api.github.com/repos/fusesource/hawtjni/issues/26"},"comments":{"href":"https://api.github.com/repos/fusesource/hawtjni/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/fusesource/hawtjni/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/fusesource/hawtjni/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fusesource/hawtjni/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/fusesource/hawtjni/statuses/6dc93fe4c3b67e68d9805b6f0cc7f2b7c36d5b06"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chirino","id":103255,"avatar_url":"https://avatars.githubusercontent.com/u/103255?v=3","gravatar_id":"","url":"https://api.github.com/users/chirino","html_url":"https://github.com/chirino","followers_url":"https://api.github.com/users/chirino/followers","following_url":"https://api.github.com/users/chirino/following{/other_user}","gists_url":"https://api.github.com/users/chirino/gists{/gist_id}","starred_url":"https://api.github.com/users/chirino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirino/subscriptions","organizations_url":"https://api.github.com/users/chirino/orgs","repos_url":"https://api.github.com/users/chirino/repos","events_url":"https://api.github.com/users/chirino/events{/privacy}","received_events_url":"https://api.github.com/users/chirino/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"chirino"}}