diff --git a/x11/kde/network3/patches/patch-krfb_libvncserver_main_c b/x11/kde/network3/patches/patch-krfb_libvncserver_main_c new file mode 100644 index 00000000000..1ded3ce1db2 --- /dev/null +++ b/x11/kde/network3/patches/patch-krfb_libvncserver_main_c @@ -0,0 +1,14 @@ +$OpenBSD: patch-krfb_libvncserver_main_c,v 1.1 2004/02/01 23:51:53 espie Exp $ +--- krfb/libvncserver/main.c.orig 2004-01-26 15:20:47.000000000 +0100 ++++ krfb/libvncserver/main.c 2004-01-26 15:23:15.000000000 +0100 +@@ -35,6 +35,10 @@ typedef int socklen_t; + #include "rfb.h" + #include "sraRegion.h" + ++#if !defined(_BYTE_ORDER) && defined(BYTE_ORDER) ++# define BYTE_ORDER _BYTE_ORDER ++#endif ++ + /* minimum interval between attempts to send something */ + #define PING_MS 10000 +