aboutsummaryrefslogtreecommitdiff
path: root/astro/starplot
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-10-07 08:50:56 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-10-07 08:50:56 +0000
commit04d34f3638144c479b517305247707b71dc6ef85 (patch)
tree2ed2cb3a9c73e9d26848206e4a691815c8fa52dd /astro/starplot
parent3eaac70d3f5a93396e27848451b1936666f68cde (diff)
downloadports-04d34f3638144c479b517305247707b71dc6ef85.tar.gz
ports-04d34f3638144c479b517305247707b71dc6ef85.zip
- Update to 0.95.3
- Fix build with gcc41 PR: ports/103954 Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Notes
Notes: svn path=/head/; revision=174719
Diffstat (limited to 'astro/starplot')
-rw-r--r--astro/starplot/Makefile3
-rw-r--r--astro/starplot/distinfo6
-rw-r--r--astro/starplot/files/patch-src-classes-strings.cc11
-rw-r--r--astro/starplot/pkg-plist6
4 files changed, 18 insertions, 8 deletions
diff --git a/astro/starplot/Makefile b/astro/starplot/Makefile
index c5d0f68cd549..bb47ac877855 100644
--- a/astro/starplot/Makefile
+++ b/astro/starplot/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= starplot
-PORTVERSION= 0.95.2
-PORTREVISION= 2
+PORTVERSION= 0.95.3
CATEGORIES= astro
MASTER_SITES= http://starplot.org/downloads/
diff --git a/astro/starplot/distinfo b/astro/starplot/distinfo
index 2359ecf68071..f0d98477bf92 100644
--- a/astro/starplot/distinfo
+++ b/astro/starplot/distinfo
@@ -1,3 +1,3 @@
-MD5 (starplot-0.95.2.tar.gz) = f1380ddfc254791e94301811aaf71a7d
-SHA256 (starplot-0.95.2.tar.gz) = 424faecb530ba718bf60d0cde821ff167a177491d5be9574a5d53f88c7822a33
-SIZE (starplot-0.95.2.tar.gz) = 463258
+MD5 (starplot-0.95.3.tar.gz) = 267573a8155387d5b0399144e5ef4118
+SHA256 (starplot-0.95.3.tar.gz) = bc86c0aaeccbaa8872fa75b5a70f93f75e474aa2b34ae3c4ac7337f82cac099c
+SIZE (starplot-0.95.3.tar.gz) = 464419
diff --git a/astro/starplot/files/patch-src-classes-strings.cc b/astro/starplot/files/patch-src-classes-strings.cc
new file mode 100644
index 000000000000..b1d9026d96da
--- /dev/null
+++ b/astro/starplot/files/patch-src-classes-strings.cc
@@ -0,0 +1,11 @@
+--- src/classes/strings.cc.orig Tue Oct 3 18:28:35 2006
++++ src/classes/strings.cc Tue Oct 3 18:28:44 2006
+@@ -127,7 +127,7 @@
+ // return the number of bytes that would have been written even if not
+ // all of them are. Hope this is true...
+ va_start(args, format);
+- size_t size = std::vsnprintf(test, 2, format, args);
++ size_t size = vsnprintf(test, 2, format, args);
+ va_end(args);
+
+ // Write the result to a string
diff --git a/astro/starplot/pkg-plist b/astro/starplot/pkg-plist
index 500ef29872a7..615a7923b64f 100644
--- a/astro/starplot/pkg-plist
+++ b/astro/starplot/pkg-plist
@@ -12,9 +12,9 @@ bin/starplot
%%NLS%%share/locale/en@boldquot/LC_MESSAGES/starplot.mo
%%NLS%%share/locale/en@quot/LC_MESSAGES/starplot.mo
%%NLS%%share/locale/es/LC_MESSAGES/starplot.mo
-share/starplot/sample.stars
-share/starplot/test.stars
-@dirrm share/starplot
+%%DATADIR%%/sample.stars
+%%DATADIR%%/test.stars
+@dirrm %%DATADIR%%
@dirrm %%EXAMPLESDIR%%
@dirrm %%DOCSDIR%%/html/images
@dirrm %%DOCSDIR%%/html