{"action":"created","issue":{"url":"https://api.github.com/repos/freebsd/pkg/issues/1047","labels_url":"https://api.github.com/repos/freebsd/pkg/issues/1047/labels{/name}","comments_url":"https://api.github.com/repos/freebsd/pkg/issues/1047/comments","events_url":"https://api.github.com/repos/freebsd/pkg/issues/1047/events","html_url":"https://github.com/freebsd/pkg/issues/1047","id":45495458,"number":1047,"title":"src/event.c build failure due to accidental -I/usr/local/include in CPPFLAGS","user":{"login":"emaste","id":1034582,"avatar_url":"https://avatars.githubusercontent.com/u/1034582?v=3","gravatar_id":"","url":"https://api.github.com/users/emaste","html_url":"https://github.com/emaste","followers_url":"https://api.github.com/users/emaste/followers","following_url":"https://api.github.com/users/emaste/following{/other_user}","gists_url":"https://api.github.com/users/emaste/gists{/gist_id}","starred_url":"https://api.github.com/users/emaste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emaste/subscriptions","organizations_url":"https://api.github.com/users/emaste/orgs","repos_url":"https://api.github.com/users/emaste/repos","events_url":"https://api.github.com/users/emaste/events{/privacy}","received_events_url":"https://api.github.com/users/emaste/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-10T15:55:49Z","updated_at":"2015-01-15T22:27:46Z","closed_at":null,"body":"Trying to build latest from git, but it looks like I get my (old) installed version of pkg.h instead:\r\n\r\ne.g.\r\nevent.c:684:7: error: use of undeclared identifier 'PKG_EVENT_DELETE_FILES_BEGIN'; did you mean 'PKG_EVENT_DEINSTALL_BEGIN'?\r\n        case PKG_EVENT_DELETE_FILES_BEGIN:\r\n             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n             PKG_EVENT_DEINSTALL_BEGIN\r\n/usr/local/include/pkg.h:1394:2: note: 'PKG_EVENT_DEINSTALL_BEGIN' declared here\r\n"},"comment":{"url":"https://api.github.com/repos/freebsd/pkg/issues/comments/70174611","html_url":"https://github.com/freebsd/pkg/issues/1047#issuecomment-70174611","issue_url":"https://api.github.com/repos/freebsd/pkg/issues/1047","id":70174611,"user":{"login":"bapt","id":103607,"avatar_url":"https://avatars.githubusercontent.com/u/103607?v=3","gravatar_id":"","url":"https://api.github.com/users/bapt","html_url":"https://github.com/bapt","followers_url":"https://api.github.com/users/bapt/followers","following_url":"https://api.github.com/users/bapt/following{/other_user}","gists_url":"https://api.github.com/users/bapt/gists{/gist_id}","starred_url":"https://api.github.com/users/bapt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bapt/subscriptions","organizations_url":"https://api.github.com/users/bapt/orgs","repos_url":"https://api.github.com/users/bapt/repos","events_url":"https://api.github.com/users/bapt/events{/privacy}","received_events_url":"https://api.github.com/users/bapt/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T22:27:46Z","updated_at":"2015-01-15T22:27:46Z","body":"I still don't know how I can prevent that :("}}