pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libvncserver libvncserver: Byteswap compat for SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f57b9e200e42
branches: trunk
changeset: 373456:f57b9e200e42
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Jan 02 10:09:06 2018 +0000
description:
libvncserver: Byteswap compat for SunOS.
diffstat:
net/libvncserver/distinfo | 3 +-
net/libvncserver/patches/patch-libvncserver_websockets.c | 20 ++++++++++++++++
2 files changed, 22 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 3549d65e099a -r f57b9e200e42 net/libvncserver/distinfo
--- a/net/libvncserver/distinfo Tue Jan 02 09:58:47 2018 +0000
+++ b/net/libvncserver/distinfo Tue Jan 02 10:09:06 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2017/01/09 07:55:15 ryoon Exp $
+$NetBSD: distinfo,v 1.14 2018/01/02 10:09:06 jperkin Exp $
SHA1 (libvncserver-LibVNCServer-0.9.11.tar.gz) = d844a2c9e69465d104a8468dce515a49e4db9585
RMD160 (libvncserver-LibVNCServer-0.9.11.tar.gz) = a26da5e88d6571d112dfc48ef94a527b19760a36
SHA512 (libvncserver-LibVNCServer-0.9.11.tar.gz) = e473c081b68dd3cdd96a1756b4f4945ece79d3c8e4cef62140be1699671555fc16d3080e81d764197a14ea83203ffcd0e18c3cc182e012d036e3faae943003fb
Size (libvncserver-LibVNCServer-0.9.11.tar.gz) = 1413739 bytes
+SHA1 (patch-libvncserver_websockets.c) = eb4e50f8fcb8442dae54d1360e6950e2ebd4778b
diff -r 3549d65e099a -r f57b9e200e42 net/libvncserver/patches/patch-libvncserver_websockets.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libvncserver/patches/patch-libvncserver_websockets.c Tue Jan 02 10:09:06 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-libvncserver_websockets.c,v 1.4 2018/01/02 10:09:06 jperkin Exp $
+
+Byteswap compat for SunOS.
+
+--- libvncserver/websockets.c.orig 2016-12-30 13:01:28.000000000 +0000
++++ libvncserver/websockets.c
+@@ -44,6 +44,13 @@
+ #include <sys/endian.h>
+ #endif
+
++#if defined(__sun)
++#include <sys/byteorder.h>
++#define htobe64(x) BE_64(x)
++#define htobe32(x) BE_32(x)
++#define htobe16(x) BE_16(x)
++#endif
++
+ #ifdef LIBVNCSERVER_HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index