aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-12 10:39:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-12 10:39:38 +0000
commit190418a078b1eb7ea3c5d38a08bdab3cbd422086 (patch)
treebb336ccecde7052d26d3d8d8c97238744a373aad /math
parent6b0c40606cac591d75b88d05c7276bd16c369035 (diff)
downloadports-190418a078b1eb7ea3c5d38a08bdab3cbd422086.tar.gz
ports-190418a078b1eb7ea3c5d38a08bdab3cbd422086.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/gcalctool/Makefile4
-rw-r--r--math/gcalctool/distinfo4
-rw-r--r--math/gcalctool/files/patch-gcalctool_functions.c19
-rw-r--r--math/gcalctool/pkg-plist6
4 files changed, 28 insertions, 5 deletions
diff --git a/math/gcalctool/Makefile b/math/gcalctool/Makefile
index cc22b7c50382..3f91b3ac5cee 100644
--- a/math/gcalctool/Makefile
+++ b/math/gcalctool/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gcalctool
-PORTVERSION= 4.4.22
+PORTVERSION= 5.5.41
PORTEPOCH= 2
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
@@ -18,8 +18,8 @@ COMMENT= A GNOME 2 calculator tool based on the old calctool for OpenWindows
USE_BZIP2= yes
USE_BISON= yes
-USE_X_PREFIX= yes
INSTALLS_OMF= yes
+USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=15
USE_REINPLACE= yes
diff --git a/math/gcalctool/distinfo b/math/gcalctool/distinfo
index 717a8f480d48..208d9bbf151d 100644
--- a/math/gcalctool/distinfo
+++ b/math/gcalctool/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/gcalctool-4.4.22.tar.bz2) = 2136e88e26f9f12a677e6a0dc798b835
-SIZE (gnome2/gcalctool-4.4.22.tar.bz2) = 918782
+MD5 (gnome2/gcalctool-5.5.41.tar.bz2) = d4eb2287fa4236fc5a5bf52a930f33f5
+SIZE (gnome2/gcalctool-5.5.41.tar.bz2) = 1043027
diff --git a/math/gcalctool/files/patch-gcalctool_functions.c b/math/gcalctool/files/patch-gcalctool_functions.c
new file mode 100644
index 000000000000..ba3d6af38beb
--- /dev/null
+++ b/math/gcalctool/files/patch-gcalctool_functions.c
@@ -0,0 +1,19 @@
+--- gcalctool/functions.c.orig Mon Feb 28 17:07:30 2005
++++ gcalctool/functions.c Mon Feb 28 17:07:43 2005
+@@ -311,7 +311,6 @@
+ void
+ trig_filter(char **func)
+ {
+- assert(func);
+
+ enum mode {
+ normal = 0,
+@@ -322,6 +321,8 @@
+
+ int inverse;
+ int hyperbolic;
++
++ assert(func);
+
+ inverse = (v->inverse) ? inv : 0;
+ hyperbolic = (v->hyperbolic) ? hyp : 0;
diff --git a/math/gcalctool/pkg-plist b/math/gcalctool/pkg-plist
index 299563af0e42..c7543a7ed279 100644
--- a/math/gcalctool/pkg-plist
+++ b/math/gcalctool/pkg-plist
@@ -83,7 +83,6 @@ share/locale/ar/LC_MESSAGES/gcalctool.mo
share/locale/az/LC_MESSAGES/gcalctool.mo
share/locale/be/LC_MESSAGES/gcalctool.mo
share/locale/bg/LC_MESSAGES/gcalctool.mo
-share/locale/bn/LC_MESSAGES/gcalctool.mo
share/locale/bs/LC_MESSAGES/gcalctool.mo
share/locale/ca/LC_MESSAGES/gcalctool.mo
share/locale/cs/LC_MESSAGES/gcalctool.mo
@@ -93,7 +92,9 @@ share/locale/de/LC_MESSAGES/gcalctool.mo
share/locale/el/LC_MESSAGES/gcalctool.mo
share/locale/en_CA/LC_MESSAGES/gcalctool.mo
share/locale/en_GB/LC_MESSAGES/gcalctool.mo
+share/locale/en_US/LC_MESSAGES/gcalctool.mo
share/locale/es/LC_MESSAGES/gcalctool.mo
+share/locale/et/LC_MESSAGES/gcalctool.mo
share/locale/eu/LC_MESSAGES/gcalctool.mo
share/locale/fa/LC_MESSAGES/gcalctool.mo
share/locale/fi/LC_MESSAGES/gcalctool.mo
@@ -114,6 +115,7 @@ share/locale/ml/LC_MESSAGES/gcalctool.mo
share/locale/mn/LC_MESSAGES/gcalctool.mo
share/locale/ms/LC_MESSAGES/gcalctool.mo
share/locale/nb/LC_MESSAGES/gcalctool.mo
+share/locale/ne/LC_MESSAGES/gcalctool.mo
share/locale/nl/LC_MESSAGES/gcalctool.mo
share/locale/no/LC_MESSAGES/gcalctool.mo
share/locale/or/LC_MESSAGES/gcalctool.mo
@@ -136,6 +138,8 @@ share/locale/uk/LC_MESSAGES/gcalctool.mo
share/locale/vi/LC_MESSAGES/gcalctool.mo
share/locale/zh_CN/LC_MESSAGES/gcalctool.mo
share/locale/zh_TW/LC_MESSAGES/gcalctool.mo
+@unexec rmdir %D/share/locale/en_US/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/en_US 2> /dev/null || true
@dirrm share/gnome/omf/gcalctool
@dirrm share/gnome/help/gcalctool/zh_TW/figures
@dirrm share/gnome/help/gcalctool/zh_TW