diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-25 18:10:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-25 18:10:08 +0000 |
commit | 636c2ba036655a0b4a0fe03c7039b2595bfb1e8d (patch) | |
tree | dfd77fef5b8f57f35a508da114250e6b22e95018 /misc | |
parent | 8b83e2ad26daffcdc28532417bd7f9b4885db7f3 (diff) | |
download | pkgsrc-636c2ba036655a0b4a0fe03c7039b2595bfb1e8d.tar.gz |
Sprinkle some const. Helps on DragonFly, but wordexp is still an issue.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/celestia/distinfo | 3 | ||||
-rw-r--r-- | misc/celestia/patches/patch-ab | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/misc/celestia/distinfo b/misc/celestia/distinfo index ef55d46e0c7..75d25a5ce8d 100644 --- a/misc/celestia/distinfo +++ b/misc/celestia/distinfo @@ -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 --git a/misc/celestia/patches/patch-ab b/misc/celestia/patches/patch-ab new file mode 100644 index 00000000000..d25d0fe14e8 --- /dev/null +++ b/misc/celestia/patches/patch-ab @@ -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)); + |