Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 23:55:55 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/103820: [MAINTAINER] games/ivan: gcc41 fixes
Message-ID:  <20060929195555.985FB4154@hades.panopticon>
Resent-Message-ID: <200609292000.k8TK0jM8023922@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103820
>Category:       ports
>Synopsis:       [MAINTAINER] games/ivan: gcc41 fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 29 20:00:40 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0: Fri Sep 1 14:24:31 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Make ivan gcc41 compatible
>How-To-Repeat:
>Fix:

--- ivan.patch begins here ---
diff -ruN ivan.orig/Makefile ivan/Makefile
--- ivan.orig/Makefile	Fri Sep 29 23:23:10 2006
+++ ivan/Makefile	Fri Sep 29 23:54:02 2006
@@ -26,6 +26,10 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|IvanSave|.IvanSave|g' ${WRKSRC}/Main/Source/game.cpp
+	@${REINPLACE_CMD} -Ee 's|(fearray<type>::~?fearray)<type>|\1|' \
+		${WRKSRC}/FeLib/Include/fearray.h
+	@${REINPLACE_CMD} -Ee 's|([a-z]+<[a-z ,]+>::~?[a-z]+)<[a-z ,]+>|\1|' \
+		${WRKSRC}/Main/Source/script.cpp
 
 post-install:
 	${CHGRP} games ${PREFIX}/bin/ivan
--- ivan.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060929195555.985FB4154>