ports/69582: Update port: games/six to 0.5.1

KATO Tsuguru tkato432 at yahoo.com
Sun Jul 25 15:10:24 UTC 2004


>Number:         69582
>Category:       ports
>Synopsis:       Update port: games/six to 0.5.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 25 15:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.1

Remove file:
files/patch-lssolve.cpp
files/patch-six_Makefile.in
files/patch-sixplayer.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/six/Makefile games/six/Makefile
--- /usr/ports/games/six/Makefile	Wed Jun  2 00:11:41 2004
+++ games/six/Makefile	Sun Jul 25 22:36:58 2004
@@ -5,20 +5,23 @@
 # $FreeBSD: ports/games/six/Makefile,v 1.5 2004/06/01 13:39:43 lofi Exp $
 
 PORTNAME=	six
-PORTVERSION=	0.4.0
-PORTREVISION=	2
+PORTVERSION=	0.5.1
 CATEGORIES=	games kde
 MASTER_SITES=	http://six.retes.hu/download/
 
-MAINTAINER=	ports at freebsd.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	KDE HEX clone
 
 USE_KDELIBS_VER=	3
-GNU_CONFIGURE=		yes
-USE_REINPLACE=		yes
+USE_REINPLACE=	yes
+GNU_CONFIGURE=	yes
 
 post-patch:
-	${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure
-
+	@${REINPLACE_CMD} -e 's,-O2,,g ; \
+		 s,-pedantic,,g ; \
+		 s,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's,-lkdeprint$$,$$(LIB_KDEPRINT) $$(LIBPTHREAD),g' \
+		${WRKSRC}/six/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/six/distinfo games/six/distinfo
--- /usr/ports/games/six/distinfo	Wed Mar 31 18:07:51 2004
+++ games/six/distinfo	Sun Jul 25 17:18:33 2004
@@ -1,2 +1,2 @@
-MD5 (six-0.4.0.tar.gz) = 40e5014a17ce88aaf5ab3e82c98ed127
-SIZE (six-0.4.0.tar.gz) = 646179
+MD5 (six-0.5.1.tar.gz) = 562b6bb1f574b73a0c5324cfc6676fb2
+SIZE (six-0.5.1.tar.gz) = 815737
diff -urN /usr/ports/games/six/files/patch-lssolve.cpp games/six/files/patch-lssolve.cpp
--- /usr/ports/games/six/files/patch-lssolve.cpp	Fri Feb 20 23:41:25 2004
+++ games/six/files/patch-lssolve.cpp	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- six/lssolve.cpp.orig	Fri Feb 20 15:34:59 2004
-+++ six/lssolve.cpp	Fri Feb 20 15:36:58 2004
-@@ -120,7 +120,7 @@
-   double temp;
- 
-   x(n - 1) = b(n - 1) / U(n - 1, n - 1);
--  if(isnan(x(n - 1)))
-+  if(std::isnan(x(n - 1)))
-      x(n - 1) = 0.;
-   for(i = n - 2; i >= 0; i--) {
-     // Should be: x(i)=((b(i)-U(i,i,i+1,n-1)*x(i+1,n-1))/U(i,i))(0);
-@@ -131,7 +131,7 @@
-       temp += U.data()[iPos + j] * x(j);
-     }
-     x(i) = (b(i) - temp) / U.data()[iPos + i];
--    if(isnan(x(i)))
-+    if(std::isnan(x(i)))
-        x(i) = 0.;
-   }
- }
diff -urN /usr/ports/games/six/files/patch-six_Makefile.in games/six/files/patch-six_Makefile.in
--- /usr/ports/games/six/files/patch-six_Makefile.in	Tue Jun  1 22:39:43 2004
+++ games/six/files/patch-six_Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- six/Makefile.in.orig	Tue Jun  1 06:08:14 2004
-+++ six/Makefile.in	Tue Jun  1 06:08:53 2004
-@@ -254,7 +254,7 @@
- six_LDFLAGS = $(KDE_RPATH) $(all_libraries)
- 
- # the libraries to link against.
--six_LDADD = -lm $(LIB_KFILE) -lkdeprint
-+six_LDADD = -lm $(LIB_KFILE) -lkdeprint $(LIBPTHREAD)
- 
- # which sources should be compiled for six
- six_SOURCES = misc.h misc.cpp \
diff -urN /usr/ports/games/six/files/patch-sixplayer.cpp games/six/files/patch-sixplayer.cpp
--- /usr/ports/games/six/files/patch-sixplayer.cpp	Tue May 25 19:07:53 2004
+++ games/six/files/patch-sixplayer.cpp	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- six/sixplayer.cpp.orig	Tue May 25 11:58:16 2004
-+++ six/sixplayer.cpp	Tue May 25 11:58:33 2004
-@@ -5,6 +5,7 @@
- #include <cassert>
- #include <algorithm>
- #include <cmath>
-+#include <ctype.h>
- 
- using std::endl;
- 
diff -urN /usr/ports/games/six/pkg-plist games/six/pkg-plist
--- /usr/ports/games/six/pkg-plist	Mon Jan 26 22:47:31 2004
+++ games/six/pkg-plist	Sun Jul 25 17:45:42 2004
@@ -1,24 +1,23 @@
 bin/six
 share/applnk/Games/Board/six.desktop
 share/apps/six/sixui.rc
-share/icons/hicolor/16x16/apps/six.png
-share/icons/hicolor/16x16/apps/six.png
-share/icons/hicolor/32x32/actions/whiteplayer.png
+share/doc/HTML/en/six/common
+share/doc/HTML/en/six/filter.png
+share/doc/HTML/en/six/index.cache.bz2
+share/doc/HTML/en/six/index.docbook
 share/icons/hicolor/32x32/actions/blackplayer.png
 share/icons/hicolor/32x32/actions/swap.png
+share/icons/hicolor/32x32/actions/whiteplayer.png
 share/icons/hicolor/32x32/apps/six.png
 share/icons/hicolor/48x48/apps/six.png
+share/icons/locolor/16x16/actions/blackplayer.png
 share/icons/locolor/16x16/actions/swap.png
 share/icons/locolor/16x16/actions/whiteplayer.png
-share/icons/locolor/16x16/actions/blackplayer.png
 share/icons/locolor/16x16/apps/six.png
-share/icons/locolor/22x22/actions/swap.png
 share/icons/locolor/22x22/actions/blackplayer.png
+share/icons/locolor/22x22/actions/swap.png
 share/icons/locolor/22x22/actions/whiteplayer.png
 share/icons/locolor/32x32/apps/six.png
-share/doc/HTML/en/six/index.docbook
-share/doc/HTML/en/six/index.cache.bz2
-share/doc/HTML/en/six/filter.png
-share/doc/HTML/en/six/common
+share/mimelnk/application/vnd.kde.six.desktop
 @dirrm share/doc/HTML/en/six
 @dirrm share/apps/six
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list