diff options
Diffstat (limited to 'misc/celestia/patches')
-rw-r--r-- | misc/celestia/patches/patch-ab | 17 |
1 files changed, 17 insertions, 0 deletions
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)); + |