ports/103954: [PATCH] astro/starplot: update to 0.95.3 and fix build with gcc41

trasz trasz at pin.if.uz.zgora.pl
Tue Oct 3 17:10:21 UTC 2006


>Number:         103954
>Category:       ports
>Synopsis:       [PATCH] astro/starplot: update to 0.95.3 and fix build with gcc41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 03 17:10:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun  3 01:12:10 CEST
>Description:
- Update to 0.95.3
- Fix build with gcc41

(http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006092721/starplot-0.95.2_2.log)

Added file(s):
- files/patch-src-classes-strings.cc

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- starplot-0.95.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/astro/starplot/Makefile /home/trasz/starplot/Makefile
--- /usr/ports/astro/starplot/Makefile	Wed May  3 07:14:07 2006
+++ /home/trasz/starplot/Makefile	Tue Oct  3 18:55:34 2006
@@ -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 -ruN --exclude=CVS /usr/ports/astro/starplot/distinfo /home/trasz/starplot/distinfo
--- /usr/ports/astro/starplot/distinfo	Sun Jan 22 09:18:35 2006
+++ /home/trasz/starplot/distinfo	Tue Oct  3 18:55:34 2006
@@ -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 -ruN --exclude=CVS /usr/ports/astro/starplot/files/patch-src-classes-strings.cc /home/trasz/starplot/files/patch-src-classes-strings.cc
--- /usr/ports/astro/starplot/files/patch-src-classes-strings.cc	Thu Jan  1 01:00:00 1970
+++ /home/trasz/starplot/files/patch-src-classes-strings.cc	Tue Oct  3 18:55:34 2006
@@ -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 -ruN --exclude=CVS /usr/ports/astro/starplot/pkg-plist /home/trasz/starplot/pkg-plist
--- /usr/ports/astro/starplot/pkg-plist	Sat Jul 29 21:46:25 2006
+++ /home/trasz/starplot/pkg-plist	Tue Oct  3 18:55:34 2006
@@ -12,9 +12,9 @@
 %%NLS%%share/locale/en at boldquot/LC_MESSAGES/starplot.mo
 %%NLS%%share/locale/en at quot/LC_MESSAGES/starplot.mo
 %%NLS%%share/locale/es/LC_MESSAGES/starplot.mo
-share/starplot/sample.stars
-share/starplot/test.stars
- at dirrm share/starplot
+%%DATADIR%%/sample.stars
+%%DATADIR%%/test.stars
+ at dirrm %%DATADIR%%
 @dirrm %%EXAMPLESDIR%%
 @dirrm %%DOCSDIR%%/html/images
 @dirrm %%DOCSDIR%%/html
--- starplot-0.95.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list