Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 23:13:12 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/103818: [MAINTAINER] games/stroq: gcc41 fixes
Message-ID:  <20060929191312.B4614409D@hades.panopticon>
Resent-Message-ID: <200609291920.k8TJKL9T019914@freefall.freebsd.org>

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

>Number:         103818
>Category:       ports
>Synopsis:       [MAINTAINER] games/stroq: 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 19:20:20 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 stroq gcc41 - compatible
>How-To-Repeat:
>Fix:

--- stroq.patch begins here ---
diff -ruN stroq.orig/Makefile stroq/Makefile
--- stroq.orig/Makefile	Fri Sep 29 23:04:35 2006
+++ stroq/Makefile	Fri Sep 29 23:11:35 2006
@@ -28,6 +28,12 @@
 BROKEN=		"Does not compile on FreeBSD 4.x"
 .endif
 
+post-patch:
+	${REINPLACE_CMD} -e 's|PlaySquare::||' ${WRKSRC}/playsquare.h
+	${REINPLACE_CMD} -e 's|Puzzle::||' ${WRKSRC}/puzzle.h
+	${REINPLACE_CMD} -e 's|Square::||' ${WRKSRC}/square.h
+	${REINPLACE_CMD} -e 's|SelectPuzzleDialog::||' ${WRKSRC}/selectpuzzledialog.h
+
 do-configure:
 	@cd ${WRKSRC}; \
 	${SETENV} ${MAKE_ENV} ${QMAKE} -project; \
--- stroq.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?20060929191312.B4614409D>