{"action":"created","issue":{"url":"https://api.github.com/repos/cyrusimap/cyrus-sasl/issues/14","repository_url":"https://api.github.com/repos/cyrusimap/cyrus-sasl","labels_url":"https://api.github.com/repos/cyrusimap/cyrus-sasl/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/cyrusimap/cyrus-sasl/issues/14/comments","events_url":"https://api.github.com/repos/cyrusimap/cyrus-sasl/issues/14/events","html_url":"https://github.com/cyrusimap/cyrus-sasl/issues/14","id":195093131,"number":14,"title":"cyrus-sasl fails to build on Solaris 11.3","user":{"login":"quanah","id":1817107,"avatar_url":"https://avatars.githubusercontent.com/u/1817107?v=3","gravatar_id":"","url":"https://api.github.com/users/quanah","html_url":"https://github.com/quanah","followers_url":"https://api.github.com/users/quanah/followers","following_url":"https://api.github.com/users/quanah/following{/other_user}","gists_url":"https://api.github.com/users/quanah/gists{/gist_id}","starred_url":"https://api.github.com/users/quanah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanah/subscriptions","organizations_url":"https://api.github.com/users/quanah/orgs","repos_url":"https://api.github.com/users/quanah/repos","events_url":"https://api.github.com/users/quanah/events{/privacy}","received_events_url":"https://api.github.com/users/quanah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-12T21:39:27Z","updated_at":"2016-12-14T00:59:23Z","closed_at":null,"body":"In the past, gethostname was defined as (char *, int) on Solaris.  However, at some point, this was changed, and it now matches linux, being (char *, size_t).  This causes a build failure when attempting to compile Cyrus-SASL on Solaris 11.3:\r\n\r\n```\r\n#ifdef sun\r\n/* gotta define gethostname ourselves on suns */\r\nextern int gethostname(char *, int);\r\n#endif\r\n```"},"comment":{"url":"https://api.github.com/repos/cyrusimap/cyrus-sasl/issues/comments/266910882","html_url":"https://github.com/cyrusimap/cyrus-sasl/issues/14#issuecomment-266910882","issue_url":"https://api.github.com/repos/cyrusimap/cyrus-sasl/issues/14","id":266910882,"user":{"login":"quanah","id":1817107,"avatar_url":"https://avatars.githubusercontent.com/u/1817107?v=3","gravatar_id":"","url":"https://api.github.com/users/quanah","html_url":"https://github.com/quanah","followers_url":"https://api.github.com/users/quanah/followers","following_url":"https://api.github.com/users/quanah/following{/other_user}","gists_url":"https://api.github.com/users/quanah/gists{/gist_id}","starred_url":"https://api.github.com/users/quanah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanah/subscriptions","organizations_url":"https://api.github.com/users/quanah/orgs","repos_url":"https://api.github.com/users/quanah/repos","events_url":"https://api.github.com/users/quanah/events{/privacy}","received_events_url":"https://api.github.com/users/quanah/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T00:59:23Z","updated_at":"2016-12-14T00:59:23Z","body":"@ksmurchison Yes, it is defined in solaris11.  I will give your patch a spin."}}
{"actor":{"display_login":"quanah"}}