ports/103820: [MAINTAINER] games/ivan: gcc41 fixes

Dmitry Marakasov amdmi3 at mail.ru
Fri Sep 29 20:00:47 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list