diff options
author | is <is> | 2003-02-27 21:42:33 +0000 |
---|---|---|
committer | is <is> | 2003-02-27 21:42:33 +0000 |
commit | da9bda4e93f47b7442334e423cc0e384881c0718 (patch) | |
tree | 125fb43239cd5d9101d1b9671732f3a73f704bf9 | |
parent | bf9ee8d639548bdc5b69e8c60ff67ab06dec1eef (diff) | |
download | pkgsrc-da9bda4e93f47b7442334e423cc0e384881c0718.tar.gz |
Fix client-side image maps to allow for non-integer coordinates.
By Mikulas Patocka, Twibright Labs.
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | www/links-gui/Makefile | 3 | ||||
-rw-r--r-- | www/links/distinfo | 3 | ||||
-rw-r--r-- | www/links/patches/patch-af | 15 |
4 files changed, 21 insertions, 3 deletions
diff --git a/doc/CHANGES b/doc/CHANGES index ec4d9c86eca..efe1e104ae7 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,4 +1,4 @@ -$NetBSD: CHANGES,v 1.1501 2003/02/27 21:02:06 mrauch Exp $ +$NetBSD: CHANGES,v 1.1502 2003/02/27 21:42:33 is Exp $ Changes to the packages collection and infrastructure in 2003: @@ -858,3 +858,4 @@ Changes to the packages collection and infrastructure in 2003: Updated cyrus-sasl to 2.1.12 [seb 2003-02-27] Updated mgetty to 1.1.28nb3 [fredb 2003-02-27] Updated openoffice-linux to 1.0.2nb3 [mrauch 2003-02-27] + Updated links-gui to 2.1.0.8nb1 [is 2003-02-27] diff --git a/www/links-gui/Makefile b/www/links-gui/Makefile index 714f4172866..87f987f425c 100644 --- a/www/links-gui/Makefile +++ b/www/links-gui/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2003/02/25 11:20:41 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2003/02/27 21:42:34 is Exp $ # PKGNAME= links-gui-2.1.0.8 +PKGREVISION= 1 COMMENT= Lynx-like text and graphics WWW browser diff --git a/www/links/distinfo b/www/links/distinfo index 3dabea7ed53..7b8810e03a1 100644 --- a/www/links/distinfo +++ b/www/links/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.19 2003/02/25 11:20:41 wiz Exp $ +$NetBSD: distinfo,v 1.20 2003/02/27 21:42:34 is Exp $ SHA1 (links-2.1pre8.tar.bz2) = e22f29bccafa374b4922d5f0d9f413515e3deb51 Size (links-2.1pre8.tar.bz2) = 3550824 bytes SHA1 (patch-aa) = 47fab20748fc660517ebc2d2ef8a6b9c7c0dd1e4 SHA1 (patch-ab) = 159c06569c42ea2d3eb4ec1a25a958621f11f793 SHA1 (patch-ac) = 0d0bb5000ef8511aa6783cfb97ea03c2b2b32803 +SHA1 (patch-af) = 7715d770dfbb248487b5f31384f104079d961715 diff --git a/www/links/patches/patch-af b/www/links/patches/patch-af new file mode 100644 index 00000000000..e4e7a019b4d --- /dev/null +++ b/www/links/patches/patch-af @@ -0,0 +1,15 @@ +$NetBSD: patch-af,v 1.1 2003/02/27 21:42:34 is Exp $ + +--- html_gr.c_ Thu Feb 27 18:24:52 2003 ++++ html_gr.c Thu Feb 27 18:24:55 2003 +@@ -532,6 +532,10 @@ + while (*p && (*p < '0' || *p > '9')) p++; + if (!*p) goto noc; + while (*p >= '0' && *p <= '9' && num < 10000000) num = num * 10 + *p - '0', p++; ++ if (*p == '.') { ++ p++; ++ while (*p >= '0' && *p <= '9') p++; ++ } + if (*p == '%' && num < 1000) { + int m = io->xw < io->yw ? io->xw : io->yw; + num = num * m / 100; |