--- synergy-1.8.3-stable/CMakeLists.txt.orig 2016-09-28 11:35:13.332802200 +0200 +++ synergy-1.8.3-stable/CMakeLists.txt 2016-09-28 11:37:11.026802200 +0200 @@ -77,9 +77,11 @@ # warnings as errors: # we have a problem with people checking in code with warnings. + if (NOT CYGWIN) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef") + endif() - if (NOT APPLE) + if (NOT (APPLE OR CYGWIN)) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") endif() --- synergy-1.8.3-stable/ext/toolchain/commands1.py.orig 2016-09-26 12:58:33.000000000 +0200 +++ synergy-1.8.3-stable/ext/toolchain/commands1.py 2016-09-28 12:11:14.108763600 +0200 @@ -692,7 +692,7 @@ if err != 0: raise Exception(gui_make_cmd + ' failed with error: ' + str(err)) - elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'darwin']: + elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'darwin', 'cygwin']: gui_make_cmd = self.make_cmd + " -w" + args print 'Make GUI command: ' + gui_make_cmd @@ -957,6 +957,7 @@ return self.getGitRevision() def getGitRevision(self): + return "1.8.3" if sys.version_info < (2, 4): raise Exception("Python 2.4 or greater required.") @@ -972,6 +973,7 @@ return stdout.strip() def getGitBranchName(self): + return ""; if sys.version_info < (2, 4): raise Exception("Python 2.4 or greater required.") @@ -1682,7 +1684,7 @@ def get_generators(self): if sys.platform == 'win32': return self.win32_generators - elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'aix5']: + elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'aix5', 'cygwin']: return self.unix_generators elif sys.platform == 'darwin': return self.darwin_generators