pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/celestia Sprinkle some const. Helps on DragonFly,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d706d55f606
branches:  trunk
changeset: 510098:1d706d55f606
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Mar 25 18:10:08 2006 +0000

description:
Sprinkle some const. Helps on DragonFly, but wordexp is still an issue.

diffstat:

 misc/celestia/distinfo         |   3 ++-
 misc/celestia/patches/patch-ab |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 0b6268888aff -r 1d706d55f606 misc/celestia/distinfo
--- a/misc/celestia/distinfo    Sat Mar 25 18:04:04 2006 +0000
+++ b/misc/celestia/distinfo    Sat Mar 25 18:10:08 2006 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.9 2006/02/17 23:46:39 adam Exp $
+$NetBSD: distinfo,v 1.10 2006/03/25 18:10:08 joerg Exp $
 
 SHA1 (celestia-1.4.1.tar.gz) = 37863498c43d3078b41027706bfa033bccd949a9
 RMD160 (celestia-1.4.1.tar.gz) = c66c2540e329613dace12e5b12b2dae2a4c679e0
 Size (celestia-1.4.1.tar.gz) = 23966886 bytes
 SHA1 (patch-aa) = 06ecb4fb7fa13702bd8dfc2fcf8d240fbb2a4b08
+SHA1 (patch-ab) = e749cc8a8bd9be9dd10b4f53e6d7878875a2aa57
 SHA1 (patch-ac) = 22e1ed46c832f97a4f2f20b5b6d6255469ea6b90
 SHA1 (patch-ad) = f7d9d5c3d80385eaba721045ea619f15fa3af326
 SHA1 (patch-ae) = a7ac58087cc366119f4ac5b193b49dc87ecc261c
diff -r 0b6268888aff -r 1d706d55f606 misc/celestia/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/celestia/patches/patch-ab    Sat Mar 25 18:10:08 2006 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.4 2006/03/25 18:10:09 joerg Exp $
+
+--- src/celutil/formatnum.cpp.orig     2006-03-25 18:04:47.000000000 +0000
++++ src/celutil/formatnum.cpp
+@@ -60,9 +60,9 @@ std::ostream& operator<<(std::ostream& o
+     char buf[32];
+     char obuf[64];
+     double value = num.getRoundedValue();
+-    char *decimal_point = localeconv()->decimal_point;
+-    char *thousands_sep = localeconv()->thousands_sep;
+-    char *grouping = localeconv()->grouping;
++    const char *decimal_point = localeconv()->decimal_point;
++    const char *thousands_sep = localeconv()->thousands_sep;
++    const char *grouping = localeconv()->grouping;
+ 
+     memset(obuf, 0, sizeof(obuf));
+ 



Home | Main Index | Thread Index | Old Index