diff options
author | rillig <rillig@pkgsrc.org> | 2008-01-13 22:59:42 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-01-13 22:59:42 +0000 |
commit | 1ee0df86ec55d2629bbb5a960c1faf603f5a56c2 (patch) | |
tree | 300304e34c30e30b75d2896f5845933233f4666a /print | |
parent | f98809c3fcfa9ef3f6d1729fa0f8783f2541a585 (diff) | |
download | pkgsrc-1ee0df86ec55d2629bbb5a960c1faf603f5a56c2.tar.gz |
Sunpro fix.
Diffstat (limited to 'print')
-rw-r--r-- | print/xpdf/distinfo | 3 | ||||
-rw-r--r-- | print/xpdf/patches/patch-bb | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/print/xpdf/distinfo b/print/xpdf/distinfo index e43fc7cdaaf..b040390d996 100644 --- a/print/xpdf/distinfo +++ b/print/xpdf/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.30 2007/08/02 14:54:34 drochner Exp $ +$NetBSD: distinfo,v 1.31 2008/01/13 22:59:42 rillig Exp $ SHA1 (xpdf-3.02.tar.gz) = f9940698840c8a8045677e8be68ab8580903e20a RMD160 (xpdf-3.02.tar.gz) = e900cb8670b8c430beaa45895fb474411cb1958d @@ -19,3 +19,4 @@ SHA1 (patch-am) = 794ff952c749c8dab6f575d55602cdc7e7157fef SHA1 (patch-an) = 94ea208c43f4df1ac3a9bf01cc874d488ae49a9a SHA1 (patch-ap) = 5961dfe22ac087a7df0311235b4fab27d7554c58 SHA1 (patch-ba) = 19f20ef58b4caca089302942102e33be307880b2 +SHA1 (patch-bb) = d38757d5e4a331d49149acfff897cfe7bc0a5e3b diff --git a/print/xpdf/patches/patch-bb b/print/xpdf/patches/patch-bb new file mode 100644 index 00000000000..79ca6569fa2 --- /dev/null +++ b/print/xpdf/patches/patch-bb @@ -0,0 +1,15 @@ +$NetBSD: patch-bb,v 1.1 2008/01/13 22:59:42 rillig Exp $ + +Fixed ambiguity for sunpro. + +--- goo/GString.cc.orgi Tue Feb 27 23:05:51 2007 ++++ goo/GString.cc Wed Dec 5 10:31:57 2007 +@@ -528,7 +528,7 @@ + if ((neg = x < 0)) { + x = -x; + } +- x = floor(x * pow(10, prec) + 0.5); ++ x = floor(x * pow(10.0, prec) + 0.5); + i = bufSize; + started = !trim; + for (j = 0; j < prec && i > 1; ++j) { |