![Pieterjan Camerlynck](/assets/img/avatar_default.png)
Building synergy on sparc, nios2, mipsel and mips64el would fail with the following errors: src/lib/ipc/IpcClientProxy.cpp: In member function 'void IpcClientProxy::send(const IpcMessage&)': src/lib/ipc/IpcClientProxy.cpp:150:59: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [-Werror] ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine); ^ In file included from src/lib/ipc/IpcClientProxy.cpp:23:0: src/lib/ipc/../synergy/ProtocolUtil.h:82:16: note: candidate 1: static void ProtocolUtil::writef(void*, const char*, va_list) static void writef(void*, const char* fmt, va_list); ^ src/lib/ipc/../synergy/ProtocolUtil.h:53:16: note: candidate 2: static void ProtocolUtil::writef(synergy::IStream*, const char*, ...) static void writef(synergy::IStream*, ^ src/lib/ipc/../synergy/ProtocolUtil.h:82:16: error: 'static void ProtocolUtil::writef(void*, const char*, va_list)' is private static void writef(void*, const char* fmt, va_list); ^ src/lib/ipc/IpcClientProxy.cpp:150:59: error: within this context ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine); ^ At global scope: cc1plus: error: unrecognized command line option '-Wno-unused-local-typedef' [-Werror] cc1plus: all warnings being treated as errors Fixed by upstream commits:c31f908fb2
2643cea67b
Fixes: http://autobuild.buildroot.net/results/dc40671874aac9ad491bd4c7aa57eb1c53484492 http://autobuild.buildroot.net/results/a37905b0c93aa0dc891a85be1701e51cf2988cbe http://autobuild.buildroot.net/results/611895e29faba0b35b2b27005a5142192ed63fd8 http://autobuild.buildroot.net/results/7bdd4428c1335593b04a18ce8e9705b0bc932484 Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
942 B
Makefile
35 lines
942 B
Makefile
################################################################################
|
|
#
|
|
# synergy
|
|
#
|
|
################################################################################
|
|
|
|
SYNERGY_VERSION = v1.8.8-stable
|
|
SYNERGY_SITE = $(call github,symless,synergy,$(SYNERGY_VERSION))
|
|
SYNERGY_LICENSE = GPL-2.0
|
|
SYNERGY_LICENSE_FILES = LICENSE
|
|
SYNERGY_DEPENDENCIES = libcurl openssl xlib_libX11 xlib_libXtst
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXext
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXi
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXinerama
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXrandr
|
|
endif
|
|
|
|
define SYNERGY_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/bin/synergyc $(TARGET_DIR)/usr/bin/synergyc
|
|
$(INSTALL) -D -m 0755 $(@D)/bin/synergys $(TARGET_DIR)/usr/bin/synergys
|
|
endef
|
|
|
|
$(eval $(cmake-package))
|