diff options
author | marcus <marcus@FreeBSD.org> | 2003-12-24 06:03:41 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-12-24 06:03:41 +0800 |
commit | dcdb24ed0d8265ba0a42419e217d02963eb84f87 (patch) | |
tree | 4eb3f80886fe27bccbfd04b39354109b23a36ab0 /math | |
parent | 39fd93fc0800fd6789fd71a972645395ded3c508 (diff) | |
download | freebsd-ports-graphics-dcdb24ed0d8265ba0a42419e217d02963eb84f87.tar.gz freebsd-ports-graphics-dcdb24ed0d8265ba0a42419e217d02963eb84f87.tar.zst freebsd-ports-graphics-dcdb24ed0d8265ba0a42419e217d02963eb84f87.zip |
Update to 4.3.31.
Diffstat (limited to 'math')
-rw-r--r-- | math/gcalctool/Makefile | 2 | ||||
-rw-r--r-- | math/gcalctool/distinfo | 2 | ||||
-rw-r--r-- | math/gcalctool/files/patch-gcalctool::get.c | 46 | ||||
-rw-r--r-- | math/gcalctool/pkg-plist | 2 |
4 files changed, 4 insertions, 48 deletions
diff --git a/math/gcalctool/Makefile b/math/gcalctool/Makefile index 4299cd18121..8ba7023c710 100644 --- a/math/gcalctool/Makefile +++ b/math/gcalctool/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gcalctool -PORTVERSION= 4.3.29 +PORTVERSION= 4.3.31 CATEGORIES= math gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/4.3 diff --git a/math/gcalctool/distinfo b/math/gcalctool/distinfo index f5209c9d954..b7d1ae5ebea 100644 --- a/math/gcalctool/distinfo +++ b/math/gcalctool/distinfo @@ -1 +1 @@ -MD5 (gnome2/gcalctool-4.3.29.tar.bz2) = ded0110b5142c3fb9210ad8e169fbaec +MD5 (gnome2/gcalctool-4.3.31.tar.bz2) = 06d193ace7bc1b782ac7d469417f75f4 diff --git a/math/gcalctool/files/patch-gcalctool::get.c b/math/gcalctool/files/patch-gcalctool::get.c deleted file mode 100644 index 2c91de180ea..00000000000 --- a/math/gcalctool/files/patch-gcalctool::get.c +++ /dev/null @@ -1,46 +0,0 @@ ---- gcalctool/get.c.orig Thu Nov 27 05:29:52 2003 -+++ gcalctool/get.c Sat Dec 6 17:50:52 2003 -@@ -125,7 +125,6 @@ - { - char *radix_char; - -- setlocale(LC_NUMERIC, ""); - radix_char = nl_langinfo(RADIXCHAR); - - return(radix_char[0]); -@@ -220,8 +219,9 @@ - { - char *tsep_char; - -- setlocale(LC_NUMERIC, ""); - tsep_char = nl_langinfo(THOUSEP); -+ if (!*tsep_char) -+ return ' '; - - return(tsep_char[0]); - } -@@ -231,6 +231,7 @@ - init_vars() /* Setup default values for various variables. */ - { - int acc, i, n, size; -+ char lrc; - - v->accuracy = 9; /* Initial accuracy. */ - v->show_zeroes = FALSE; /* Don't show trailing zeroes. */ -@@ -253,6 +254,8 @@ - - read_str(&v->iconlabel, _("calculator")); /* Default icon label. */ - -+ lrc = v->radix_char; -+ v->radix_char = '.'; - MPstr_to_num("0.621", DEC, v->MPcon_vals[0]); /* kms/hr <=> miles/hr. */ - MPstr_to_num("1.4142135623", DEC, v->MPcon_vals[1]); /* square root of 2 */ - MPstr_to_num("2.7182818284", DEC, v->MPcon_vals[2]); /* e */ -@@ -263,6 +266,7 @@ - MPstr_to_num("0.0353", DEC, v->MPcon_vals[7]); /* grams <=> ounce. */ - MPstr_to_num("0.948", DEC, v->MPcon_vals[8]); /* Kjoules <=> BTU's. */ - MPstr_to_num("0.0610", DEC, v->MPcon_vals[9]); /* cms3 <=> inches3. */ -+ v->radix_char = lrc; - - n = 0; - for (i = 0; i < MAXREGS; i++) { diff --git a/math/gcalctool/pkg-plist b/math/gcalctool/pkg-plist index 59a3514511d..4e7593aced0 100644 --- a/math/gcalctool/pkg-plist +++ b/math/gcalctool/pkg-plist @@ -14,6 +14,7 @@ share/gnome/omf/gcalctool/gcalctool-C.omf @exec scrollkeeper-install -q %D/share/gnome/omf/gcalctool/gcalctool-C.omf 2>/dev/null || /usr/bin/true share/gnome/pixmaps/gcalctool.png share/locale/am/LC_MESSAGES/gcalctool.mo +share/locale/ar/LC_MESSAGES/gcalctool.mo share/locale/az/LC_MESSAGES/gcalctool.mo share/locale/be/LC_MESSAGES/gcalctool.mo share/locale/ca/LC_MESSAGES/gcalctool.mo @@ -30,6 +31,7 @@ share/locale/fr/LC_MESSAGES/gcalctool.mo share/locale/he/LC_MESSAGES/gcalctool.mo share/locale/hi/LC_MESSAGES/gcalctool.mo share/locale/hu/LC_MESSAGES/gcalctool.mo +share/locale/id/LC_MESSAGES/gcalctool.mo share/locale/it/LC_MESSAGES/gcalctool.mo share/locale/ja/LC_MESSAGES/gcalctool.mo share/locale/ko/LC_MESSAGES/gcalctool.mo |