summaryrefslogtreecommitdiff
path: root/package/synergy
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-06-10 23:35:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-11 11:53:08 +0200
commit0a65b7d93662c9c801af777528561e488389d592 (patch)
treebca4453066500b1cd82c5f5dadd3dafa4c67059b /package/synergy
parentf10913cf8e0790517a552a0a959f501e46b88cae (diff)
synergy: Remove -Werror from CXXFLAGS
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/synergy')
-rw-r--r--package/synergy/synergy-1.3.1-remove-werror.patch16
-rw-r--r--package/synergy/synergy.mk2
2 files changed, 18 insertions, 0 deletions
diff --git a/package/synergy/synergy-1.3.1-remove-werror.patch b/package/synergy/synergy-1.3.1-remove-werror.patch
new file mode 100644
index 000000000..31a8c2b51
--- /dev/null
+++ b/package/synergy/synergy-1.3.1-remove-werror.patch
@@ -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"
diff --git a/package/synergy/synergy.mk b/package/synergy/synergy.mk
index c86fb8b62..890b82ad1 100644
--- a/package/synergy/synergy.mk
+++ b/package/synergy/synergy.mk
@@ -7,6 +7,8 @@
SYNERGY_VERSION = 1.3.1
SYNERGY_SOURCE = synergy-$(SYNERGY_VERSION).tar.gz
SYNERGY_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/synergy2/
+
+SYNERGY_AUTORECONF = YES
SYNERGY_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib