summaryrefslogtreecommitdiffstats
path: root/package/synergy/synergy-1.3.1-exit.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-24 09:43:52 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-24 09:43:52 +0100
commitc9253253c1cb80fb8574c3d313a129b64b4ad2a1 (patch)
tree4f70a13eef59c3a7346760bf47dd29cd62926eac /package/synergy/synergy-1.3.1-exit.patch
parentfd2bd9e3df276301f867b05bd9f47ab3ab7b4ef4 (diff)
downloadbuildroot-novena-c9253253c1cb80fb8574c3d313a129b64b4ad2a1.tar.gz
buildroot-novena-c9253253c1cb80fb8574c3d313a129b64b4ad2a1.zip
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 <jacmet@sunsite.dk>
Diffstat (limited to 'package/synergy/synergy-1.3.1-exit.patch')
-rw-r--r--package/synergy/synergy-1.3.1-exit.patch21
1 files changed, 21 insertions, 0 deletions
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 <stdlib.h> for the prototype.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ 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 <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <stdlib.h>
+
+ //
+ // CArchDaemonUnix