unfsck libvncserver, endian detection was screwed up in the 0.9.12 update

it's in an installed header and i have no idea how far the damage goes, so
shlib major bumped to enforce updates

problem with x11vnc reported by todd
This commit is contained in:
sthen 2019-05-26 12:05:25 +00:00
parent 8c6da62db4
commit 8908f02c08
2 changed files with 17 additions and 2 deletions

View File

@ -1,12 +1,13 @@
# $OpenBSD: Makefile,v 1.10 2019/05/12 13:36:34 rsadowski Exp $
# $OpenBSD: Makefile,v 1.11 2019/05/26 12:05:25 sthen Exp $
COMMENT= library for easy implementation of a VNC server
DISTNAME= LibVNCServer-0.9.12
PKGNAME= ${DISTNAME:L}
REVISION= 0
SHARED_LIBS += vncclient 1.0 # 0.0
SHARED_LIBS += vncserver 2.0 # 0.0
SHARED_LIBS += vncserver 3.0 # 0.0
CATEGORIES= net devel

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-rfb_rfbproto_h,v 1.1 2019/05/26 12:05:25 sthen Exp $
Index: rfb/rfbproto.h
--- rfb/rfbproto.h.orig
+++ rfb/rfbproto.h
@@ -80,7 +80,7 @@ typedef int8_t rfbBool;
#if LIBVNCSERVER_HAVE_ENDIAN_H
# include <endian.h>
-# if __BYTE_ORDER == __BIG_ENDIAN
+# if BYTE_ORDER == BIG_ENDIAN
# define LIBVNCSERVER_WORDS_BIGENDIAN 1
# endif
#endif