Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153813404
D6974.id17906.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6974.id17906.diff
View Options
Index: net/libvncserver/Makefile
===================================================================
--- net/libvncserver/Makefile
+++ net/libvncserver/Makefile
@@ -24,7 +24,7 @@
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= GCRYPT IPV6
+OPTIONS_DEFINE= GCRYPT IPV6 VAAPI
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
OPTIONS_DEFAULT= OPENSSL
@@ -43,6 +43,9 @@
IPV6_CONFIGURE_WITH= ipv6
+VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
+VAAPI_CONFIGURE_WITH= libva
+
post-install:
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
Index: net/libvncserver/files/patch-libvncclient_h264.c
===================================================================
--- /dev/null
+++ net/libvncserver/files/patch-libvncclient_h264.c
@@ -0,0 +1,13 @@
+--- libvncclient/h264.c.orig 2016-06-26 17:53:47 UTC
++++ libvncclient/h264.c
+@@ -20,6 +20,10 @@
+ #ifdef LIBVNCSERVER_CONFIG_LIBVA
+
+ #include <X11/Xlib.h>
++#include <va/va_version.h>
++#if VA_CHECK_VERSION(0,39,2)
++#include <va/va_compat.h>
++#endif
+ #include <va/va_x11.h>
+
+ enum _slice_types {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 11:22 PM (8 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32096682
Default Alt Text
D6974.id17906.diff (1 KB)
Attached To
Mode
D6974: net/libvncserver: Fix build with libva
Attached
Detach File
Event Timeline
Log In to Comment