pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/xpdf Sunpro fix.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a08c34c6506e
branches: trunk
changeset: 537682:a08c34c6506e
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 13 22:59:42 2008 +0000
description:
Sunpro fix.
diffstat:
print/xpdf/distinfo | 3 ++-
print/xpdf/patches/patch-bb | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r bcbdb2842b52 -r a08c34c6506e print/xpdf/distinfo
--- a/print/xpdf/distinfo Sun Jan 13 22:53:10 2008 +0000
+++ b/print/xpdf/distinfo Sun Jan 13 22:59:42 2008 +0000
@@ -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-an) = 94ea208c43f4df1ac3a9bf01cc874d488ae49a9a
SHA1 (patch-ap) = 5961dfe22ac087a7df0311235b4fab27d7554c58
SHA1 (patch-ba) = 19f20ef58b4caca089302942102e33be307880b2
+SHA1 (patch-bb) = d38757d5e4a331d49149acfff897cfe7bc0a5e3b
diff -r bcbdb2842b52 -r a08c34c6506e print/xpdf/patches/patch-bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/xpdf/patches/patch-bb Sun Jan 13 22:59:42 2008 +0000
@@ -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) {
Home |
Main Index |
Thread Index |
Old Index