{"action":"created","issue":{"url":"https://api.github.com/repos/vysheng/tg/issues/1296","repository_url":"https://api.github.com/repos/vysheng/tg","labels_url":"https://api.github.com/repos/vysheng/tg/issues/1296/labels{/name}","comments_url":"https://api.github.com/repos/vysheng/tg/issues/1296/comments","events_url":"https://api.github.com/repos/vysheng/tg/issues/1296/events","html_url":"https://github.com/vysheng/tg/issues/1296","id":203840578,"number":1296,"title":"Patch to use correct default config file path on OS X","user":{"login":"alexreg","id":67036,"avatar_url":"https://avatars.githubusercontent.com/u/67036?v=3","gravatar_id":"","url":"https://api.github.com/users/alexreg","html_url":"https://github.com/alexreg","followers_url":"https://api.github.com/users/alexreg/followers","following_url":"https://api.github.com/users/alexreg/following{/other_user}","gists_url":"https://api.github.com/users/alexreg/gists{/gist_id}","starred_url":"https://api.github.com/users/alexreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexreg/subscriptions","organizations_url":"https://api.github.com/users/alexreg/orgs","repos_url":"https://api.github.com/users/alexreg/repos","events_url":"https://api.github.com/users/alexreg/events{/privacy}","received_events_url":"https://api.github.com/users/alexreg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-29T00:02:07Z","updated_at":"2017-02-11T23:14:59Z","closed_at":null,"body":"```diff\r\ndiff --git a/main.c b/main.c\r\nindex 4776f07..cfa7411 100644\r\n--- a/main.c\r\n+++ b/main.c\r\n@@ -990,7 +990,7 @@ int main (int argc, char **argv) {\r\n   running_for_first_time ();\r\n   parse_config ();\r\n\r\n-  #ifdef __FreeBSD__\r\n+  #if defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__))\r\n   tgl_set_rsa_key (TLS, \"/usr/local/etc/\" PROG_NAME \"/server.pub\");\r\n   #else\r\n   tgl_set_rsa_key (TLS, \"/etc/\" PROG_NAME \"/server.pub\");\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/vysheng/tg/issues/comments/279182901","html_url":"https://github.com/vysheng/tg/issues/1296#issuecomment-279182901","issue_url":"https://api.github.com/repos/vysheng/tg/issues/1296","id":279182901,"user":{"login":"tomasi-o","id":20378230,"avatar_url":"https://avatars.githubusercontent.com/u/20378230?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasi-o","html_url":"https://github.com/tomasi-o","followers_url":"https://api.github.com/users/tomasi-o/followers","following_url":"https://api.github.com/users/tomasi-o/following{/other_user}","gists_url":"https://api.github.com/users/tomasi-o/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasi-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasi-o/subscriptions","organizations_url":"https://api.github.com/users/tomasi-o/orgs","repos_url":"https://api.github.com/users/tomasi-o/repos","events_url":"https://api.github.com/users/tomasi-o/events{/privacy}","received_events_url":"https://api.github.com/users/tomasi-o/received_events","type":"User","site_admin":false},"created_at":"2017-02-11T23:14:59Z","updated_at":"2017-02-11T23:14:59Z","body":"Is this also possible with the macports install routine? Following the MacOS X tutorial for installing telegram-cli via macports only worked until I came to `./configure && make` where I got the error message below. Could anybody help a noob like me with what to do next? \r\n```\r\nsomeMac:~ anyUser$  ./configure && make\r\n-bash: ./configure: No such file or directory\r\n```\r\n"}}
{"actor":{"display_login":"tomasi-o"}}