{"action":"created","issue":{"url":"https://api.github.com/repos/swaywm/sway/issues/2864","repository_url":"https://api.github.com/repos/swaywm/sway","labels_url":"https://api.github.com/repos/swaywm/sway/issues/2864/labels{/name}","comments_url":"https://api.github.com/repos/swaywm/sway/issues/2864/comments","events_url":"https://api.github.com/repos/swaywm/sway/issues/2864/events","html_url":"https://github.com/swaywm/sway/pull/2864","id":371083747,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNjA5ODUx","number":2864,"title":"FreeBSD fixes","user":{"login":"sghctoma","id":214533,"node_id":"MDQ6VXNlcjIxNDUzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/214533?v=4","gravatar_id":"","url":"https://api.github.com/users/sghctoma","html_url":"https://github.com/sghctoma","followers_url":"https://api.github.com/users/sghctoma/followers","following_url":"https://api.github.com/users/sghctoma/following{/other_user}","gists_url":"https://api.github.com/users/sghctoma/gists{/gist_id}","starred_url":"https://api.github.com/users/sghctoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sghctoma/subscriptions","organizations_url":"https://api.github.com/users/sghctoma/orgs","repos_url":"https://api.github.com/users/sghctoma/repos","events_url":"https://api.github.com/users/sghctoma/events{/privacy}","received_events_url":"https://api.github.com/users/sghctoma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-10-17T13:44:37Z","updated_at":"2018-10-27T14:37:03Z","closed_at":"2018-10-17T14:14:36Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/swaywm/sway/pulls/2864","html_url":"https://github.com/swaywm/sway/pull/2864","diff_url":"https://github.com/swaywm/sway/pull/2864.diff","patch_url":"https://github.com/swaywm/sway/pull/2864.patch"},"body":"This PR fixes two issues on FreeBSD:\r\n\r\n1. `CLOCK_MONOTONIC` appeared in IEEE Std. 1003.1-200x, it was not part of POSIX.1b (the 1993 version). FreeBSD treats it accordingly, thus `_POSIX_C_SOURCE` needs to be set to `200112L`.\r\n2. PR #2855 basically hardcodes the config file path to /etc, which is a problem on e.g. FreeBSD, where the expected path for config files of non-base software is '/usr/local/etc'. Meson sets `sysconfdir` to '/etc' explicitly *only* when `prefix` is '/usr', so it is still possible to use '/usr/local' as `prefix`, and install the config files under '/usr/local/etc'. This commit allows to do that by setting `sysconfdir` based on whether `prefix` is '/usr', or not."},"comment":{"url":"https://api.github.com/repos/swaywm/sway/issues/comments/433626089","html_url":"https://github.com/swaywm/sway/pull/2864#issuecomment-433626089","issue_url":"https://api.github.com/repos/swaywm/sway/issues/2864","id":433626089,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzYyNjA4OQ==","user":{"login":"SirCmpwn","id":1310872,"node_id":"MDQ6VXNlcjEzMTA4NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1310872?v=4","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T14:37:03Z","updated_at":"2018-10-27T14:37:03Z","author_association":"MEMBER","body":"Sorry for the wait, I had to add support for this to dispatch.sr.ht...\r\n\r\nhttps://github.com/swaywm/wlroots/pull/1336"}}
{"actor":{"display_login":"SirCmpwn"}}