{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/varnish/varnish-nagios/pulls/8","id":49111047,"html_url":"https://github.com/varnish/varnish-nagios/pull/8","diff_url":"https://github.com/varnish/varnish-nagios/pull/8.diff","patch_url":"https://github.com/varnish/varnish-nagios/pull/8.patch","issue_url":"https://api.github.com/repos/varnish/varnish-nagios/issues/8","number":8,"state":"open","locked":false,"title":"made check_varnish.c compatible with varnishapi again","user":{"login":"skoef","id":444049,"avatar_url":"https://avatars.githubusercontent.com/u/444049?v=3","gravatar_id":"","url":"https://api.github.com/users/skoef","html_url":"https://github.com/skoef","followers_url":"https://api.github.com/users/skoef/followers","following_url":"https://api.github.com/users/skoef/following{/other_user}","gists_url":"https://api.github.com/users/skoef/gists{/gist_id}","starred_url":"https://api.github.com/users/skoef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skoef/subscriptions","organizations_url":"https://api.github.com/users/skoef/orgs","repos_url":"https://api.github.com/users/skoef/repos","events_url":"https://api.github.com/users/skoef/events{/privacy}","received_events_url":"https://api.github.com/users/skoef/received_events","type":"User","site_admin":false},"body":"This is what I had to change to compile varnish-nagios again (on FreeBSD). I had to add the ```-lm``` flag since I got the following errors:\r\n```\r\n/usr/local/lib/libvarnishapi.so: undefined reference to `trunc'\r\n/usr/local/lib/libvarnishapi.so: undefined reference to `round'\r\n/usr/local/lib/libvarnishapi.so: undefined reference to `nan'\r\n/usr/local/lib/libvarnishapi.so: undefined reference to `pow'\r\n```\r\n\r\nand the ```ctype``` change is to fix what commit varnish/Varnish-Cache@96f5919e56f4a5895c53e9bfc98cf643c4ea0ca6 broke","created_at":"2015-10-29T08:41:17Z","updated_at":"2015-10-29T08:41:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/varnish/varnish-nagios/pulls/8/commits","review_comments_url":"https://api.github.com/repos/varnish/varnish-nagios/pulls/8/comments","review_comment_url":"https://api.github.com/repos/varnish/varnish-nagios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/varnish/varnish-nagios/issues/8/comments","statuses_url":"https://api.github.com/repos/varnish/varnish-nagios/statuses/7e00ad2f4a20bcced35ac3fa5e45539700ce4e1b","head":{"label":"skoef:master","ref":"master","sha":"7e00ad2f4a20bcced35ac3fa5e45539700ce4e1b","user":{"login":"skoef","id":444049,"avatar_url":"https://avatars.githubusercontent.com/u/444049?v=3","gravatar_id":"","url":"https://api.github.com/users/skoef","html_url":"https://github.com/skoef","followers_url":"https://api.github.com/users/skoef/followers","following_url":"https://api.github.com/users/skoef/following{/other_user}","gists_url":"https://api.github.com/users/skoef/gists{/gist_id}","starred_url":"https://api.github.com/users/skoef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skoef/subscriptions","organizations_url":"https://api.github.com/users/skoef/orgs","repos_url":"https://api.github.com/users/skoef/repos","events_url":"https://api.github.com/users/skoef/events{/privacy}","received_events_url":"https://api.github.com/users/skoef/received_events","type":"User","site_admin":false},"repo":{"id":45170007,"name":"varnish-nagios","full_name":"skoef/varnish-nagios","owner":{"login":"skoef","id":444049,"avatar_url":"https://avatars.githubusercontent.com/u/444049?v=3","gravatar_id":"","url":"https://api.github.com/users/skoef","html_url":"https://github.com/skoef","followers_url":"https://api.github.com/users/skoef/followers","following_url":"https://api.github.com/users/skoef/following{/other_user}","gists_url":"https://api.github.com/users/skoef/gists{/gist_id}","starred_url":"https://api.github.com/users/skoef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skoef/subscriptions","organizations_url":"https://api.github.com/users/skoef/orgs","repos_url":"https://api.github.com/users/skoef/repos","events_url":"https://api.github.com/users/skoef/events{/privacy}","received_events_url":"https://api.github.com/users/skoef/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skoef/varnish-nagios","description":"Nagios plugin for Varnish","fork":true,"url":"https://api.github.com/repos/skoef/varnish-nagios","forks_url":"https://api.github.com/repos/skoef/varnish-nagios/forks","keys_url":"https://api.github.com/repos/skoef/varnish-nagios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skoef/varnish-nagios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skoef/varnish-nagios/teams","hooks_url":"https://api.github.com/repos/skoef/varnish-nagios/hooks","issue_events_url":"https://api.github.com/repos/skoef/varnish-nagios/issues/events{/number}","events_url":"https://api.github.com/repos/skoef/varnish-nagios/events","assignees_url":"https://api.github.com/repos/skoef/varnish-nagios/assignees{/user}","branches_url":"https://api.github.com/repos/skoef/varnish-nagios/branches{/branch}","tags_url":"https://api.github.com/repos/skoef/varnish-nagios/tags","blobs_url":"https://api.github.com/repos/skoef/varnish-nagios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skoef/varnish-nagios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skoef/varnish-nagios/git/refs{/sha}","trees_url":"https://api.github.com/repos/skoef/varnish-nagios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skoef/varnish-nagios/statuses/{sha}","languages_url":"https://api.github.com/repos/skoef/varnish-nagios/languages","stargazers_url":"https://api.github.com/repos/skoef/varnish-nagios/stargazers","contributors_url":"https://api.github.com/repos/skoef/varnish-nagios/contributors","subscribers_url":"https://api.github.com/repos/skoef/varnish-nagios/subscribers","subscription_url":"https://api.github.com/repos/skoef/varnish-nagios/subscription","commits_url":"https://api.github.com/repos/skoef/varnish-nagios/commits{/sha}","git_commits_url":"https://api.github.com/repos/skoef/varnish-nagios/git/commits{/sha}","comments_url":"https://api.github.com/repos/skoef/varnish-nagios/comments{/number}","issue_comment_url":"https://api.github.com/repos/skoef/varnish-nagios/issues/comments{/number}","contents_url":"https://api.github.com/repos/skoef/varnish-nagios/contents/{+path}","compare_url":"https://api.github.com/repos/skoef/varnish-nagios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skoef/varnish-nagios/merges","archive_url":"https://api.github.com/repos/skoef/varnish-nagios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skoef/varnish-nagios/downloads","issues_url":"https://api.github.com/repos/skoef/varnish-nagios/issues{/number}","pulls_url":"https://api.github.com/repos/skoef/varnish-nagios/pulls{/number}","milestones_url":"https://api.github.com/repos/skoef/varnish-nagios/milestones{/number}","notifications_url":"https://api.github.com/repos/skoef/varnish-nagios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skoef/varnish-nagios/labels{/name}","releases_url":"https://api.github.com/repos/skoef/varnish-nagios/releases{/id}","created_at":"2015-10-29T08:26:26Z","updated_at":"2015-10-29T08:26:27Z","pushed_at":"2015-10-29T08:27:50Z","git_url":"git://github.com/skoef/varnish-nagios.git","ssh_url":"git@github.com:skoef/varnish-nagios.git","clone_url":"https://github.com/skoef/varnish-nagios.git","svn_url":"https://github.com/skoef/varnish-nagios","homepage":"","size":99,"stargazers_count":0,"watchers_count":0,"language":"C","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":"varnish:master","ref":"master","sha":"6600ae018dc6d5169b1ebbeb06f0f8b027566abb","user":{"login":"varnish","id":577014,"avatar_url":"https://avatars.githubusercontent.com/u/577014?v=3","gravatar_id":"","url":"https://api.github.com/users/varnish","html_url":"https://github.com/varnish","followers_url":"https://api.github.com/users/varnish/followers","following_url":"https://api.github.com/users/varnish/following{/other_user}","gists_url":"https://api.github.com/users/varnish/gists{/gist_id}","starred_url":"https://api.github.com/users/varnish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varnish/subscriptions","organizations_url":"https://api.github.com/users/varnish/orgs","repos_url":"https://api.github.com/users/varnish/repos","events_url":"https://api.github.com/users/varnish/events{/privacy}","received_events_url":"https://api.github.com/users/varnish/received_events","type":"Organization","site_admin":false},"repo":{"id":1462898,"name":"varnish-nagios","full_name":"varnish/varnish-nagios","owner":{"login":"varnish","id":577014,"avatar_url":"https://avatars.githubusercontent.com/u/577014?v=3","gravatar_id":"","url":"https://api.github.com/users/varnish","html_url":"https://github.com/varnish","followers_url":"https://api.github.com/users/varnish/followers","following_url":"https://api.github.com/users/varnish/following{/other_user}","gists_url":"https://api.github.com/users/varnish/gists{/gist_id}","starred_url":"https://api.github.com/users/varnish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varnish/subscriptions","organizations_url":"https://api.github.com/users/varnish/orgs","repos_url":"https://api.github.com/users/varnish/repos","events_url":"https://api.github.com/users/varnish/events{/privacy}","received_events_url":"https://api.github.com/users/varnish/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/varnish/varnish-nagios","description":"Nagios plugin for Varnish","fork":false,"url":"https://api.github.com/repos/varnish/varnish-nagios","forks_url":"https://api.github.com/repos/varnish/varnish-nagios/forks","keys_url":"https://api.github.com/repos/varnish/varnish-nagios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varnish/varnish-nagios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varnish/varnish-nagios/teams","hooks_url":"https://api.github.com/repos/varnish/varnish-nagios/hooks","issue_events_url":"https://api.github.com/repos/varnish/varnish-nagios/issues/events{/number}","events_url":"https://api.github.com/repos/varnish/varnish-nagios/events","assignees_url":"https://api.github.com/repos/varnish/varnish-nagios/assignees{/user}","branches_url":"https://api.github.com/repos/varnish/varnish-nagios/branches{/branch}","tags_url":"https://api.github.com/repos/varnish/varnish-nagios/tags","blobs_url":"https://api.github.com/repos/varnish/varnish-nagios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varnish/varnish-nagios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varnish/varnish-nagios/git/refs{/sha}","trees_url":"https://api.github.com/repos/varnish/varnish-nagios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varnish/varnish-nagios/statuses/{sha}","languages_url":"https://api.github.com/repos/varnish/varnish-nagios/languages","stargazers_url":"https://api.github.com/repos/varnish/varnish-nagios/stargazers","contributors_url":"https://api.github.com/repos/varnish/varnish-nagios/contributors","subscribers_url":"https://api.github.com/repos/varnish/varnish-nagios/subscribers","subscription_url":"https://api.github.com/repos/varnish/varnish-nagios/subscription","commits_url":"https://api.github.com/repos/varnish/varnish-nagios/commits{/sha}","git_commits_url":"https://api.github.com/repos/varnish/varnish-nagios/git/commits{/sha}","comments_url":"https://api.github.com/repos/varnish/varnish-nagios/comments{/number}","issue_comment_url":"https://api.github.com/repos/varnish/varnish-nagios/issues/comments{/number}","contents_url":"https://api.github.com/repos/varnish/varnish-nagios/contents/{+path}","compare_url":"https://api.github.com/repos/varnish/varnish-nagios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varnish/varnish-nagios/merges","archive_url":"https://api.github.com/repos/varnish/varnish-nagios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varnish/varnish-nagios/downloads","issues_url":"https://api.github.com/repos/varnish/varnish-nagios/issues{/number}","pulls_url":"https://api.github.com/repos/varnish/varnish-nagios/pulls{/number}","milestones_url":"https://api.github.com/repos/varnish/varnish-nagios/milestones{/number}","notifications_url":"https://api.github.com/repos/varnish/varnish-nagios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varnish/varnish-nagios/labels{/name}","releases_url":"https://api.github.com/repos/varnish/varnish-nagios/releases{/id}","created_at":"2011-03-10T09:35:28Z","updated_at":"2015-07-08T12:32:27Z","pushed_at":"2015-07-08T13:41:54Z","git_url":"git://github.com/varnish/varnish-nagios.git","ssh_url":"git@github.com:varnish/varnish-nagios.git","clone_url":"https://github.com/varnish/varnish-nagios.git","svn_url":"https://github.com/varnish/varnish-nagios","homepage":"","size":118,"stargazers_count":16,"watchers_count":16,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/varnish/varnish-nagios/pulls/8"},"html":{"href":"https://github.com/varnish/varnish-nagios/pull/8"},"issue":{"href":"https://api.github.com/repos/varnish/varnish-nagios/issues/8"},"comments":{"href":"https://api.github.com/repos/varnish/varnish-nagios/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/varnish/varnish-nagios/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/varnish/varnish-nagios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/varnish/varnish-nagios/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/varnish/varnish-nagios/statuses/7e00ad2f4a20bcced35ac3fa5e45539700ce4e1b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":2}}