summaryrefslogtreecommitdiff
path: root/www/links
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2002-09-04 23:19:49 +0000
committerdillo <dillo@pkgsrc.org>2002-09-04 23:19:49 +0000
commit3be9330b1b041ba5269f1a2bd411542402634c78 (patch)
tree8360d64abea63a334de389f0464d1308bb886bc8 /www/links
parent5a0c9b7c6c7e2c35b7273c3f4d451278d74c778d (diff)
downloadpkgsrc-3be9330b1b041ba5269f1a2bd411542402634c78.tar.gz
fix for big-endian 24 bit displays (if condition were in wrong order)
Diffstat (limited to 'www/links')
-rw-r--r--www/links/distinfo3
-rw-r--r--www/links/patches/patch-ab23
2 files changed, 25 insertions, 1 deletions
diff --git a/www/links/distinfo b/www/links/distinfo
index 8062c61903d..7e64cc5e043 100644
--- a/www/links/distinfo
+++ b/www/links/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2002/09/04 20:47:45 wiz Exp $
+$NetBSD: distinfo,v 1.9 2002/09/04 23:21:11 dillo Exp $
SHA1 (links-2.1pre2.tar.bz2) = b3a807968ce028fe9fc702292bb107c6249d05e3
Size (links-2.1pre2.tar.bz2) = 3509541 bytes
SHA1 (patch-aa) = 47fab20748fc660517ebc2d2ef8a6b9c7c0dd1e4
+SHA1 (patch-ab) = 1a49f35cc03a8a0f7751b8fecf4ee0fc09d27df0
diff --git a/www/links/patches/patch-ab b/www/links/patches/patch-ab
new file mode 100644
index 00000000000..31bba51515e
--- /dev/null
+++ b/www/links/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1 2002/09/04 23:19:49 dillo Exp $
+
+--- x.c.orig Mon Jun 17 10:22:20 2002
++++ x.c
+@@ -982,14 +982,14 @@ bytes_per_pixel_found:
+ misordered=256;
+ goto visual_found;
+ }
+- if (vinfo.red_mask>vinfo.green_mask&&vinfo.green_mask>vinfo.blue_mask)
++ if (x_bitmap_bit_order==MSBFirst&&vinfo.red_mask>vinfo.green_mask&&vinfo.green_mask>vinfo.blue_mask)
+ {
+- misordered=0;
++ misordered=512;
+ goto visual_found;
+ }
+- if (x_bitmap_bit_order==MSBFirst&&vinfo.red_mask>vinfo.green_mask&&vinfo.green_mask>vinfo.blue_mask)
++ if (vinfo.red_mask>vinfo.green_mask&&vinfo.green_mask>vinfo.blue_mask)
+ {
+- misordered=512;
++ misordered=0;
+ goto visual_found;
+ }
+ break;