From c9253253c1cb80fb8574c3d313a129b64b4ad2a1 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 24 Feb 2011 09:43:52 +0100 Subject: synergy: fix build Closes #3307 Synergy needs libXtst, a toolchain with wchar support and was missing an include for exit(). Signed-off-by: Peter Korsgaard --- package/synergy/synergy-1.3.1-exit.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/synergy/synergy-1.3.1-exit.patch (limited to 'package/synergy/synergy-1.3.1-exit.patch') diff --git a/package/synergy/synergy-1.3.1-exit.patch b/package/synergy/synergy-1.3.1-exit.patch new file mode 100644 index 000000000..1eb665f55 --- /dev/null +++ b/package/synergy/synergy-1.3.1-exit.patch @@ -0,0 +1,21 @@ +[PATCH] fix build issue in CArchDaemonUnix + +exit() needs #include for the prototype. + +Signed-off-by: Peter Korsgaard +--- + lib/arch/CArchDaemonUnix.cpp | 1 + + 1 file changed, 1 insertion(+) + +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 + #include + #include ++#include + + // + // CArchDaemonUnix -- cgit v1.2.3