diff options
author | dillo <dillo> | 2002-09-04 23:19:49 +0000 |
---|---|---|
committer | dillo <dillo> | 2002-09-04 23:19:49 +0000 |
commit | c220799589905846612eb786f2423a295e477b76 (patch) | |
tree | 8360d64abea63a334de389f0464d1308bb886bc8 /www/links | |
parent | 0b6c9e7b2e4aed07885bc8318e8022a9a248b184 (diff) | |
download | pkgsrc-c220799589905846612eb786f2423a295e477b76.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/distinfo | 3 | ||||
-rw-r--r-- | www/links/patches/patch-ab | 23 |
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; |