1 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the "Software"),
5 # to deal in the Software without restriction, including without limitation
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 # and/or sell copies of the Software, and to permit persons to whom the
8 # Software is furnished to do so, subject to the following conditions:
10 # The above copyright notice and this permission notice (including the next
11 # paragraph) shall be included in all copies or substantial portions of the
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 # DEALINGS IN THE SOFTWARE.
23 --- ./CMakeLists.txt Tue Mar 15 12:03:49 2016
24 +++ ./CMakeLists.txt.new Thu Jun 30 15:23:52 2016
28 # we have a problem with people checking in code with warnings.
29 - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef")
30 + # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef")
33 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
34 --- ./src/lib/synergy/ArgsBase.cpp Tue Mar 15 12:03:49 2016
35 +++ ./src/lib/synergy/ArgsBase.cpp.new Wed Jun 15 18:18:32 2016
38 m_daemon(true), // backward compatibility for unix (daemon by default)
41 -m_disableXInitThreads(false),
49 m_enableDragDrop(false),
51 +m_disableXInitThreads(false),
55 m_enableCrypto(false),
56 --- ./src/lib/plugin/ns/SecureSocket.cpp Tue Mar 15 12:03:49 2016
57 +++ ./src/lib/plugin/ns/SecureSocket.cpp.new Wed Jun 15 18:18:32 2016
59 SecureSocket::verifyCertFingerprint()
61 // calculate received certificate fingerprint
62 - X509 *cert = cert = SSL_get_peer_certificate(m_ssl->m_ssl);
63 + // SKK WAS X509 *cert = cert = SSL_get_peer_certificate(m_ssl->m_ssl);
64 + X509 *cert = SSL_get_peer_certificate(m_ssl->m_ssl);
66 unsigned char tempFingerprint[EVP_MAX_MD_SIZE];
67 unsigned int tempFingerprintLen;
68 --- ./src/lib/platform/XWindowsEventQueueBuffer.cpp Tue Mar 15 12:03:49 2016
69 +++ ./src/lib/platform/XWindowsEventQueueBuffer.cpp.new Thu Jun 30 16:52:10 2016
72 XWindowsEventQueueBuffer::XWindowsEventQueueBuffer(
73 Display* display, Window window, IEventQueue* events) :
81 assert(m_display != NULL);
82 assert(m_window != None);
83 --- ./src/lib/platform/XWindowsScreen.cpp Tue Mar 15 12:03:49 2016
84 +++ ./src/lib/platform/XWindowsScreen.cpp.new Wed Jun 15 18:18:32 2016
86 bool disableXInitThreads,
88 IEventQueue* events) :
89 + PlatformScreen(events),
90 m_isPrimary(isPrimary),
91 m_mouseScrollDelta(mouseScrollDelta),
98 - PlatformScreen(events)
101 assert(s_screen == NULL);
103 --- ./src/lib/arch/unix/ArchNetworkBSD.cpp Tue Mar 15 12:03:49 2016
104 +++ ./src/lib/arch/unix/ArchNetworkBSD.cpp.new Wed Jun 15 18:18:32 2016
106 // the unblock event was signalled. flush the pipe.
112 ignore = read(unblockPipe[0], dummy, sizeof(dummy));
122 if (unblockPipe != NULL) {
127 ignore = write(unblockPipe[1], &dummy, 1);
129 --- ./src/lib/arch/unix/ArchMultithreadPosix.cpp Tue Mar 15 12:03:49 2016
130 +++ ./src/lib/arch/unix/ArchMultithreadPosix.cpp.new Wed Jun 15 18:18:32 2016
133 pthread_mutexattr_t attr;
134 int status = pthread_mutexattr_init(&attr);
137 ArchMutexImpl* mutex = new ArchMutexImpl;
138 status = pthread_mutex_init(&mutex->m_mutex, &attr);
139 --- ./src/test/CMakeLists.txt Tue Mar 15 12:03:49 2016
140 +++ ./src/test/CMakeLists.txt.new Wed Jun 15 18:18:32 2016
142 # You should have received a copy of the GNU General Public License
143 # along with this program. If not, see <http://www.gnu.org/licenses/>.
145 +if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
147 ../../ext/gtest-1.6.0
148 ../../ext/gtest-1.6.0/include
151 add_subdirectory(integtests)
152 add_subdirectory(unittests)
155 --- ./src/micro/uSynergy.h Tue Mar 15 12:03:49 2016
156 +++ ./src/micro/uSynergy.h.new Wed Jun 15 18:18:32 2016
162 +#include <sys/isa_defs.h>
163 +#if defined(_LITTLE_ENDIAN)
164 +#define __LITTLE_ENDIAN__
165 +#define USYNERGY_LITTLE_ENDIAN
167 +#define __BIG_ENDIAN__
168 +#define USYNERGY_BIG_ENDIAN