libVNCServer: Update to 0.9.9

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer 2016-09-26 17:39:32 -04:00
parent a552665c98
commit 22aec4c40f
4 changed files with 3 additions and 51 deletions

View File

@ -4,7 +4,7 @@
###############################################################################
name = libVNCServer
version = 0.9.7
version = 0.9.9
release = 1
groups = System/Libraries
@ -13,11 +13,11 @@ license = GPLv2+
summary = Library to make writing a vnc server easy.
description
LibVNCServer makes writing a VNC server (or more correctly, a program\
LibVNCServer makes writing a VNC server (or more correctly, a program
exporting a framebuffer via the Remote Frame Buffer protocol) easy.
end
source_dl =
source_dl = http://sourceforge.net/projects/libvncserver/files/libvncserver/%{version}/
sources = LibVNCServer-%{version}.tar.gz
build
@ -35,7 +35,6 @@ end
packages
package %{name}
end
package %{name}-devel
template DEVEL

View File

@ -1,11 +0,0 @@
diff -up LibVNCServer-0.9.1/libvncclient/vncviewer.c~ LibVNCServer-0.9.1/libvncclient/vncviewer.c
--- LibVNCServer-0.9.1/libvncclient/vncviewer.c~ 2007-02-01 17:05:56.000000000 +0200
+++ LibVNCServer-0.9.1/libvncclient/vncviewer.c 2009-05-20 22:26:35.000000000 +0300
@@ -316,6 +316,7 @@ void rfbClientCleanup(rfbClient* client)
#endif
#endif
+ if (client->sock > 0) close(client->sock);
free(client->desktopName);
free(client->serverHost);
free(client);

View File

@ -1,20 +0,0 @@
diff -up LibVNCServer-0.9.1/libvncserver-config.in.multilib LibVNCServer-0.9.1/libvncserver-config.in
--- LibVNCServer-0.9.1/libvncserver-config.in.multilib 2007-05-26 21:28:25.000000000 -0500
+++ LibVNCServer-0.9.1/libvncserver-config.in 2008-01-22 14:51:08.000000000 -0600
@@ -4,7 +4,6 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
includedir=@includedir@
-libdir=@libdir@
# if this script is in the same directory as libvncserver-config.in, assume not installed
if [ -f "`dirname "$0"`/libvncserver-config.in" ]; then
@@ -63,7 +62,7 @@ while test $# -gt 0; do
libs="$libs -R$dir"
fi
done
- echo "$libs" -lvncserver -lvncclient @LIBS@ @WSOCKLIB@
+ echo "$libs" -lvncserver -lvncclient
;;
--link)
echo @CC@

View File

@ -1,16 +0,0 @@
Index: configure.ac
===================================================================
--- a/configure.ac.orig
+++ b/configure.ac
@@ -636,9 +636,10 @@ fi
AC_CHECK_LIB(cygipc,shmget)
AM_CONDITIONAL(CYGIPC, test "$HAVE_CYGIPC" = "true")
# Check if /dev/vcsa1 exists, if so, define LINUX
-AM_CONDITIONAL(LINUX, test -c /dev/vcsa1)
+dnl AM_CONDITIONAL(LINUX, test -c /dev/vcsa1)
+AM_CONDITIONAL(LINUX, test `uname` = Linux)
# Check for OS X specific header
AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h, HAVE_OSX="true")
AM_CONDITIONAL(OSX, test "$HAVE_OSX" = "true")