summaryrefslogtreecommitdiff
path: root/net/tightvnc/patches
diff options
context:
space:
mode:
authormrg <mrg>2015-08-08 23:37:56 +0000
committermrg <mrg>2015-08-08 23:37:56 +0000
commit50e9761d68ae3b61ceb002bd8a508fa79e06053e (patch)
tree0e9b9ae7fdadbfa9aa61c03b993b00b7ba34871d /net/tightvnc/patches
parent0b58a7a8c58b8ab33e8892960a6d3ce793145ad2 (diff)
downloadpkgsrc-50e9761d68ae3b61ceb002bd8a508fa79e06053e.tar.gz
ROP_UNROLL_CASE63() wants a RROP_UNROLL_CASE32 that doesn't exist,
so let's define it similar to RROP_UNROLL_CASE8/RROP_UNROLL_CASE16. fixes build on netbsd/sparc64.
Diffstat (limited to 'net/tightvnc/patches')
-rw-r--r--net/tightvnc/patches/patch-Xvnc_programs_Xserver_cfb_cfbrrop.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/tightvnc/patches/patch-Xvnc_programs_Xserver_cfb_cfbrrop.h b/net/tightvnc/patches/patch-Xvnc_programs_Xserver_cfb_cfbrrop.h
new file mode 100644
index 00000000000..cc5e944f6c6
--- /dev/null
+++ b/net/tightvnc/patches/patch-Xvnc_programs_Xserver_cfb_cfbrrop.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-Xvnc_programs_Xserver_cfb_cfbrrop.h,v 1.1 2015/08/08 23:37:56 mrg Exp $
+
+RROP_UNROLL_CASE63() wants a RROP_UNROLL_CASE32 that doesn't exist.
+
+
+--- Xvnc/programs/Xserver/cfb/cfbrrop.h.orig 2000-06-11 22:00:51.000000000 +1000
++++ Xvnc/programs/Xserver/cfb/cfbrrop.h 2015-08-09 04:58:28.000000000 +1000
+@@ -275,6 +275,7 @@
+ #define RROP_UNROLL_CASE15(p) RROP_UNROLL_CASE8(p,8) RROP_UNROLL_CASE7(p)
+ #define RROP_UNROLL_CASE31(p) RROP_UNROLL_CASE16(p,16) RROP_UNROLL_CASE15(p)
+ #ifdef LONG64
++#define RROP_UNROLL_CASE32(p,i) RROP_UNROLL_CASE16(p,(i)+16) RROP_UNROLL_CASE16(p,i)
+ #define RROP_UNROLL_CASE63(p) RROP_UNROLL_CASE32(p,32) RROP_UNROLL_CASE31(p)
+ #endif /* LONG64 */
+