pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libvncserver



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Feb 25 09:48:26 UTC 2019

Modified Files:
        pkgsrc/net/libvncserver: Makefile
Added Files:
        pkgsrc/net/libvncserver/patches: patch-libvncclient_tls__openssl.c

Log Message:
libvncserver: Fix build on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/libvncserver/Makefile
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/libvncserver/patches/patch-libvncclient_tls__openssl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libvncserver/Makefile
diff -u pkgsrc/net/libvncserver/Makefile:1.27 pkgsrc/net/libvncserver/Makefile:1.28
--- pkgsrc/net/libvncserver/Makefile:1.27       Wed Feb 20 12:21:34 2019
+++ pkgsrc/net/libvncserver/Makefile    Mon Feb 25 09:48:26 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2019/02/20 12:21:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.28 2019/02/25 09:48:26 jperkin Exp $
 #
 
 DISTNAME=              libvncserver-LibVNCServer-0.9.12
@@ -34,6 +34,8 @@ CMAKE_ARGS+=          -DWITH_ZLIB=ON
 CMAKE_ARGS+=           -DWITH_JPEG=ON
 CMAKE_ARGS+=           -DWITH_PNG=ON
 
+LDFLAGS.SunOS+=                -lsocket
+
 .include "options.mk"
 
 .include "../../archivers/lzo/buildlink3.mk"

Added files:

Index: pkgsrc/net/libvncserver/patches/patch-libvncclient_tls__openssl.c
diff -u /dev/null pkgsrc/net/libvncserver/patches/patch-libvncclient_tls__openssl.c:1.1
--- /dev/null   Mon Feb 25 09:48:26 2019
+++ pkgsrc/net/libvncserver/patches/patch-libvncclient_tls__openssl.c   Mon Feb 25 09:48:26 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-libvncclient_tls__openssl.c,v 1.1 2019/02/25 09:48:26 jperkin Exp $
+
+Bump _XOPEN_SOURCE to the same as other files to avoid C99 issues.
+
+--- libvncclient/tls_openssl.c.orig    2019-01-06 19:09:30.000000000 +0000
++++ libvncclient/tls_openssl.c
+@@ -19,7 +19,7 @@
+  */
+ 
+ #ifndef _MSC_VER
+-#define _XOPEN_SOURCE 500
++#define _XOPEN_SOURCE 600
+ #endif
+ 
+ #include <rfb/rfbclient.h>



Home | Main Index | Thread Index | Old Index