Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,167 @@
|
||||
[PATCH] fix build with modern toolchains
|
||||
|
||||
Several files are missing the correct includes for exit/getenvmemcpy/strlen/..
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
lib/arch/CArchDaemonUnix.cpp | 1 +
|
||||
lib/arch/CMultibyte.cpp | 1 +
|
||||
lib/base/CStringUtil.cpp | 1 +
|
||||
lib/client/CClient.cpp | 3 ++-
|
||||
lib/client/CServerProxy.cpp | 1 +
|
||||
lib/net/CTCPSocket.cpp | 2 +-
|
||||
lib/platform/CXWindowsScreen.cpp | 1 +
|
||||
lib/server/CClientProxy1_3.cpp | 1 +
|
||||
lib/server/CServer.cpp | 1 +
|
||||
lib/synergy/CPacketStreamFilter.cpp | 1 +
|
||||
lib/synergy/IKeyState.cpp | 1 +
|
||||
lib/synergy/IPrimaryScreen.cpp | 1 +
|
||||
12 files changed, 13 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/arch/CArchDaemonUnix.cpp
|
||||
+++ synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
//
|
||||
// CArchDaemonUnix
|
||||
Index: synergy-1.3.1/lib/arch/CMultibyte.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/arch/CMultibyte.cpp
|
||||
+++ synergy-1.3.1/lib/arch/CMultibyte.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "CArch.h"
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
#if HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
Index: synergy-1.3.1/lib/base/CStringUtil.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/base/CStringUtil.cpp
|
||||
+++ synergy-1.3.1/lib/base/CStringUtil.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <cctype>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
+#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
//
|
||||
Index: synergy-1.3.1/lib/client/CClient.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/client/CClient.cpp
|
||||
+++ synergy-1.3.1/lib/client/CClient.cpp
|
||||
@@ -26,7 +26,8 @@
|
||||
#include "CLog.h"
|
||||
#include "IEventQueue.h"
|
||||
#include "TMethodEventJob.h"
|
||||
-
|
||||
+#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
//
|
||||
// CClient
|
||||
//
|
||||
Index: synergy-1.3.1/lib/client/CServerProxy.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/client/CServerProxy.cpp
|
||||
+++ synergy-1.3.1/lib/client/CServerProxy.cpp
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "TMethodEventJob.h"
|
||||
#include "XBase.h"
|
||||
#include <memory>
|
||||
+#include <string.h>
|
||||
|
||||
//
|
||||
// CServerProxy
|
||||
Index: synergy-1.3.1/lib/net/CTCPSocket.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/net/CTCPSocket.cpp
|
||||
+++ synergy-1.3.1/lib/net/CTCPSocket.cpp
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "CArch.h"
|
||||
#include "XArch.h"
|
||||
#include <string.h>
|
||||
-
|
||||
+#include <stdlib.h>
|
||||
//
|
||||
// CTCPSocket
|
||||
//
|
||||
Index: synergy-1.3.1/lib/platform/CXWindowsScreen.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/platform/CXWindowsScreen.cpp
|
||||
+++ synergy-1.3.1/lib/platform/CXWindowsScreen.cpp
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "IEventQueue.h"
|
||||
#include "TMethodEventJob.h"
|
||||
#include <cstring>
|
||||
+#include <stdlib.h>
|
||||
#if X_DISPLAY_MISSING
|
||||
# error X11 is required to build synergy
|
||||
#else
|
||||
Index: synergy-1.3.1/lib/server/CClientProxy1_3.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/server/CClientProxy1_3.cpp
|
||||
+++ synergy-1.3.1/lib/server/CClientProxy1_3.cpp
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "CLog.h"
|
||||
#include "IEventQueue.h"
|
||||
#include "TMethodEventJob.h"
|
||||
+#include <string.h>
|
||||
|
||||
//
|
||||
// CClientProxy1_3
|
||||
Index: synergy-1.3.1/lib/server/CServer.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/server/CServer.cpp
|
||||
+++ synergy-1.3.1/lib/server/CServer.cpp
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "TMethodEventJob.h"
|
||||
#include "CArch.h"
|
||||
#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
//
|
||||
// CServer
|
||||
Index: synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/synergy/CPacketStreamFilter.cpp
|
||||
+++ synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "IEventQueue.h"
|
||||
#include "CLock.h"
|
||||
#include "TMethodEventJob.h"
|
||||
+#include <string.h>
|
||||
|
||||
//
|
||||
// CPacketStreamFilter
|
||||
Index: synergy-1.3.1/lib/synergy/IKeyState.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/synergy/IKeyState.cpp
|
||||
+++ synergy-1.3.1/lib/synergy/IKeyState.cpp
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "IKeyState.h"
|
||||
#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
//
|
||||
// IKeyState
|
||||
Index: synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/lib/synergy/IPrimaryScreen.cpp
|
||||
+++ synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp
|
||||
@@ -13,6 +13,7 @@
|
||||
*/
|
||||
|
||||
#include "IPrimaryScreen.h"
|
||||
+#include <stdlib.h>
|
||||
|
||||
//
|
||||
// IPrimaryScreen
|
||||
@@ -0,0 +1,16 @@
|
||||
Remove -Werror from CXXFLAGS
|
||||
|
||||
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
|
||||
|
||||
Index: synergy-1.3.1/configure.in
|
||||
===================================================================
|
||||
--- synergy-1.3.1.orig/configure.in
|
||||
+++ synergy-1.3.1/configure.in
|
||||
@@ -239,7 +239,6 @@ dnl checks for system services
|
||||
|
||||
dnl enable maximum compiler warnings and warnings are errors.
|
||||
ACX_CXX_WARNINGS
|
||||
-ACX_CXX_WARNINGS_ARE_ERRORS
|
||||
|
||||
dnl adjust compiler and linker variables
|
||||
CXXFLAGS="$CXXFLAGS $SYNERGY_CXXFLAGS $ARCH_CFLAGS"
|
||||
19
deprecated/firmware/buildroot/package/synergy/Config.in
Normal file
19
deprecated/firmware/buildroot/package/synergy/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_SYNERGY
|
||||
bool "synergy"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_XLIB_LIBXTST
|
||||
help
|
||||
Synergy lets you easily share a single mouse and
|
||||
keyboard between multiple computers with different
|
||||
operating systems, each with its own display,
|
||||
without special hardware.
|
||||
|
||||
http://synergy2.sourceforge.net/
|
||||
|
||||
comment "synergy needs a toolchain w/ C++, wchar"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_MMU
|
||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 4a15e26456498dda5f3aa7d688a4892e0c50394a2f01685136fbc954bacc9691 synergy-1.3.1.tar.gz
|
||||
19
deprecated/firmware/buildroot/package/synergy/synergy.mk
Normal file
19
deprecated/firmware/buildroot/package/synergy/synergy.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# synergy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SYNERGY_VERSION = 1.3.1
|
||||
SYNERGY_SITE = http://downloads.sourceforge.net/project/synergy2/Sources/$(SYNERGY_VERSION)
|
||||
SYNERGY_AUTORECONF = YES
|
||||
SYNERGY_CONF_OPTS = \
|
||||
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib
|
||||
SYNERGY_DEPENDENCIES = \
|
||||
xlib_libXtst \
|
||||
$(if $(BR2_PACKAGE_XLIB_LIBXINERAMA),xlib_libXinerama)
|
||||
SYNERGY_LICENSE = GPLv2
|
||||
SYNERGY_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user