{"action":"created","issue":{"url":"https://api.github.com/repos/synergy/synergy/issues/4572","labels_url":"https://api.github.com/repos/synergy/synergy/issues/4572/labels{/name}","comments_url":"https://api.github.com/repos/synergy/synergy/issues/4572/comments","events_url":"https://api.github.com/repos/synergy/synergy/issues/4572/events","html_url":"https://github.com/synergy/synergy/issues/4572","id":70549586,"number":4572,"title":"Outdated build instruction on OS X Yosemite","user":{"login":"lacombar","id":34272,"avatar_url":"https://avatars.githubusercontent.com/u/34272?v=3","gravatar_id":"","url":"https://api.github.com/users/lacombar","html_url":"https://github.com/lacombar","followers_url":"https://api.github.com/users/lacombar/followers","following_url":"https://api.github.com/users/lacombar/following{/other_user}","gists_url":"https://api.github.com/users/lacombar/gists{/gist_id}","starred_url":"https://api.github.com/users/lacombar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacombar/subscriptions","organizations_url":"https://api.github.com/users/lacombar/orgs","repos_url":"https://api.github.com/users/lacombar/repos","events_url":"https://api.github.com/users/lacombar/events{/privacy}","received_events_url":"https://api.github.com/users/lacombar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/synergy/synergy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-24T00:25:16Z","updated_at":"2015-07-11T20:31:53Z","closed_at":null,"body":"The build instruction provided on the [website] no longer works:\r\n\r\n```\r\n$ patch -p1 < mac-synergy.patch\r\npatching file ext/toolchain/commands1.py\r\nHunk #1 succeeded at 432 (offset -19 lines).\r\nHunk #2 FAILED at 467.\r\nHunk #3 succeeded at 551 (offset -27 lines).\r\n1 out of 3 hunks FAILED -- saving rejects to file ext/toolchain/commands1.py.rej\r\n```\r\n\r\nI suppose this is due to the recent change in `ext/toolchain/commands1.py` made in  3deb5492d60f2f181ea42aa0ff5b98410b29a7c4\r\n\r\nThe following (simple) change seems to be working fine for me:\r\n\r\n```\r\ndiff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py\r\nindex 484b9da..d141ca8 100644\r\n--- a/ext/toolchain/commands1.py\r\n+++ b/ext/toolchain/commands1.py\r\n@@ -431,7 +431,7 @@ from getopt import gnu_getopt\r\n                if generator.cmakeName.find('Unix Makefiles') != -1:\r\n                        cmake_args += ' -DCMAKE_BUILD_TYPE=' + target.capitalize()\r\n                        \r\n-               elif sys.platform == \"darwin\":\r\n+               if sys.platform == \"darwin\":\r\n                        macSdkMatch = re.match(\"(\\d+)\\.(\\d+)\", self.macSdk)\r\n                        if not macSdkMatch:\r\n                                raise Exception(\"unknown osx version: \" + self.macSdk)\r\n```\r\n\r\n[website]: http://synergy-project.org/wiki/Compiling#Mac_OS_X_10.10_Yosemite\r\n"},"comment":{"url":"https://api.github.com/repos/synergy/synergy/issues/comments/120660178","html_url":"https://github.com/synergy/synergy/issues/4572#issuecomment-120660178","issue_url":"https://api.github.com/repos/synergy/synergy/issues/4572","id":120660178,"user":{"login":"corinnaSchultz","id":8988264,"avatar_url":"https://avatars.githubusercontent.com/u/8988264?v=3","gravatar_id":"","url":"https://api.github.com/users/corinnaSchultz","html_url":"https://github.com/corinnaSchultz","followers_url":"https://api.github.com/users/corinnaSchultz/followers","following_url":"https://api.github.com/users/corinnaSchultz/following{/other_user}","gists_url":"https://api.github.com/users/corinnaSchultz/gists{/gist_id}","starred_url":"https://api.github.com/users/corinnaSchultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corinnaSchultz/subscriptions","organizations_url":"https://api.github.com/users/corinnaSchultz/orgs","repos_url":"https://api.github.com/users/corinnaSchultz/repos","events_url":"https://api.github.com/users/corinnaSchultz/events{/privacy}","received_events_url":"https://api.github.com/users/corinnaSchultz/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T20:31:53Z","updated_at":"2015-07-11T20:31:53Z","body":"OK, it builds successfully. I put the framework path in the wrong place, oops.\r\n\r\nkanjames, replace both paths with your actual Qt framework path, so that frameworkRootDir will be sure to point to the right directory."}}