Commit 7d4c5433 authored by Rafaël Carré's avatar Rafaël Carré

contrib: vncserver: fix compilation outside of windows

parent a06f46ed
--- vncserver/libvncclient/rfbproto.c.orig 2013-07-11 22:15:57.000000000 +0200
+++ vncserver/libvncclient/rfbproto.c 2013-07-11 22:25:21.000000000 +0200
@@ -52,6 +52,9 @@
#endif
#ifdef WIN32
#include <basetsd.h>
+#else
+#undef TRUE
+#undef FALSE
#endif
#include <jpeglib.h>
#endif
......@@ -16,6 +16,7 @@ $(TARBALLS)/LibVNCServer-$(VNCSERVER_VERSION).tar.gz:
vncserver: LibVNCServer-$(VNCSERVER_VERSION).tar.gz .sum-vncserver
$(UNPACK)
$(APPLY) $(SRC)/vncserver/libvncclient-libjpeg-win32.patch
$(APPLY) $(SRC)/vncserver/rfbproto.patch
$(MOVE)
DEPS_vncserver = gcrypt $(DEPS_gcrypt) jpeg $(DEPS_jpeg) png $(DEPS_png)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment