{"action":"created","issue":{"url":"https://api.github.com/repos/nix-rust/nix/issues/688","repository_url":"https://api.github.com/repos/nix-rust/nix","labels_url":"https://api.github.com/repos/nix-rust/nix/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/nix-rust/nix/issues/688/comments","events_url":"https://api.github.com/repos/nix-rust/nix/issues/688/events","html_url":"https://github.com/nix-rust/nix/pull/688","id":243862325,"number":688,"title":"Support for OpenBSD","user":{"login":"wezm","id":21787,"avatar_url":"https://avatars1.githubusercontent.com/u/21787?v=4","gravatar_id":"","url":"https://api.github.com/users/wezm","html_url":"https://github.com/wezm","followers_url":"https://api.github.com/users/wezm/followers","following_url":"https://api.github.com/users/wezm/following{/other_user}","gists_url":"https://api.github.com/users/wezm/gists{/gist_id}","starred_url":"https://api.github.com/users/wezm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wezm/subscriptions","organizations_url":"https://api.github.com/users/wezm/orgs","repos_url":"https://api.github.com/users/wezm/repos","events_url":"https://api.github.com/users/wezm/events{/privacy}","received_events_url":"https://api.github.com/users/wezm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-07-18T21:50:30Z","updated_at":"2017-07-25T00:47:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nix-rust/nix/pulls/688","html_url":"https://github.com/nix-rust/nix/pull/688","diff_url":"https://github.com/nix-rust/nix/pull/688.diff","patch_url":"https://github.com/nix-rust/nix/pull/688.patch"},"body":"Fixes #685 \r\n\r\nThese changes get nix building on OpenBSD 6.1. There is one failing test that I want a little guidance on:\r\n\r\n```\r\nerror[E0308]: mismatched types\r\n   --> src/sys/event.rs:333:30\r\n    |\r\n333 |     assert!(expected.data == actual.data());\r\n    |                              ^^^^^^^^^^^^^ expected i64, found isize\r\n```\r\n\r\n`KEvent::data` is:\r\n\r\n```\r\n    pub fn data(&self) -> intptr_t {\r\n        self.kevent.data as intptr_t\r\n    }\r\n```\r\n\r\nI assume the test should be updated to cast to the expected type but wanted to confirm that before making the change.\r\n"},"comment":{"url":"https://api.github.com/repos/nix-rust/nix/issues/comments/317595484","html_url":"https://github.com/nix-rust/nix/pull/688#issuecomment-317595484","issue_url":"https://api.github.com/repos/nix-rust/nix/issues/688","id":317595484,"user":{"login":"asomers","id":129721,"avatar_url":"https://avatars1.githubusercontent.com/u/129721?v=4","gravatar_id":"","url":"https://api.github.com/users/asomers","html_url":"https://github.com/asomers","followers_url":"https://api.github.com/users/asomers/followers","following_url":"https://api.github.com/users/asomers/following{/other_user}","gists_url":"https://api.github.com/users/asomers/gists{/gist_id}","starred_url":"https://api.github.com/users/asomers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asomers/subscriptions","organizations_url":"https://api.github.com/users/asomers/orgs","repos_url":"https://api.github.com/users/asomers/repos","events_url":"https://api.github.com/users/asomers/events{/privacy}","received_events_url":"https://api.github.com/users/asomers/received_events","type":"User","site_admin":false},"created_at":"2017-07-25T00:47:23Z","updated_at":"2017-07-25T00:47:23Z","body":"Looks like the OSX build failure is trivial to fix.  And don't forget to remove the hardcoded `SO_TIMESTAMP` value."}}
{"actor":{"display_login":"asomers"}}