mirror of
https://github.com/videolan/vlc.git
synced 2025-01-22 15:47:59 +08:00
contrib: vncserver: fix compilation outside of windows
This commit is contained in:
parent
a06f46ed0d
commit
7d4c5433a7
12
contrib/src/vncserver/rfbproto.patch
Normal file
12
contrib/src/vncserver/rfbproto.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- 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)
|
||||
|
Loading…
Reference in New Issue
Block a user