mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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>
This commit is contained in:
parent
fd2bd9e3df
commit
c9253253c1
5
CHANGES
5
CHANGES
@ -13,8 +13,8 @@
|
|||||||
makedevs, matchbox-fakekey, matchbox-startup-monitor, mdadm,
|
makedevs, matchbox-fakekey, matchbox-startup-monitor, mdadm,
|
||||||
metacity, mpd, nasm, nfs-utils, olsr, openssl, popt,
|
metacity, mpd, nasm, nfs-utils, olsr, openssl, popt,
|
||||||
pthread-stubs, quagga, rpm, samba, sdl, sdl_gfx, sdl_image,
|
pthread-stubs, quagga, rpm, samba, sdl, sdl_gfx, sdl_image,
|
||||||
sdl_mixer, sdl_sound, sdl_ttf, squashfs, taglib, tcpreplay,
|
sdl_mixer, sdl_sound, sdl_ttf, squashfs, synergy, taglib,
|
||||||
tiff, wpa_supplicant, xcb-util,
|
tcpreplay, tiff, wpa_supplicant, xcb-util,
|
||||||
xdriver_xf86-input-{acepad,aiptek,evdev,joystick,keyboard},
|
xdriver_xf86-input-{acepad,aiptek,evdev,joystick,keyboard},
|
||||||
xdriver_xf86-input-{mouse,synaptics,void},
|
xdriver_xf86-input-{mouse,synaptics,void},
|
||||||
xdriver_xf86-video-{chips,dummy,geode,glide,intel,nv,wsfb},
|
xdriver_xf86-video-{chips,dummy,geode,glide,intel,nv,wsfb},
|
||||||
@ -29,6 +29,7 @@
|
|||||||
#3205: Failing chmod when running "make" in buildroot (openssl)...
|
#3205: Failing chmod when running "make" in buildroot (openssl)...
|
||||||
#3277: quagga fails to build with SNMP support
|
#3277: quagga fails to build with SNMP support
|
||||||
#3283: See why nfs-utils needs fakeroot, and convert to autotools
|
#3283: See why nfs-utils needs fakeroot, and convert to autotools
|
||||||
|
#3307: synergy fails to build due to missing XTest library
|
||||||
|
|
||||||
2011.02-rc1, Released February 14th, 2011:
|
2011.02-rc1, Released February 14th, 2011:
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@ config BR2_PACKAGE_SYNERGY
|
|||||||
bool "synergy"
|
bool "synergy"
|
||||||
depends on BR2_PACKAGE_XORG7
|
depends on BR2_PACKAGE_XORG7
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
depends on BR2_USE_WCHAR
|
||||||
|
select BR2_PACKAGE_XLIB_LIBXTST
|
||||||
help
|
help
|
||||||
Synergy lets you easily share a single mouse and
|
Synergy lets you easily share a single mouse and
|
||||||
keyboard between multiple computers with different
|
keyboard between multiple computers with different
|
||||||
@ -10,5 +12,5 @@ config BR2_PACKAGE_SYNERGY
|
|||||||
|
|
||||||
http://synergy2.sourceforge.net/
|
http://synergy2.sourceforge.net/
|
||||||
|
|
||||||
comment "synergy requires a toolchain with C++ support enabled"
|
comment "synergy requires a toolchain with C++ and WCHAR support enabled"
|
||||||
depends on BR2_PACKAGE_XORG7 && !BR2_INSTALL_LIBSTDCPP
|
depends on BR2_PACKAGE_XORG7 && !BR2_INSTALL_LIBSTDCPP && !BR2_USE_WCHAR
|
||||||
|
21
package/synergy/synergy-1.3.1-exit.patch
Normal file
21
package/synergy/synergy-1.3.1-exit.patch
Normal file
@ -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
|
@ -11,6 +11,6 @@ SYNERGY_AUTORECONF = NO
|
|||||||
SYNERGY_INSTALL_STAGING = NO
|
SYNERGY_INSTALL_STAGING = NO
|
||||||
SYNERGY_INSTALL_TARGET = YES
|
SYNERGY_INSTALL_TARGET = YES
|
||||||
|
|
||||||
SYNERGY_DEPENDENCIES = xserver_xorg-server
|
SYNERGY_DEPENDENCIES = xserver_xorg-server xlib_libXtst
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,synergy))
|
$(eval $(call AUTOTARGETS,package,synergy))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user