ports/103818: [MAINTAINER] games/stroq: gcc41 fixes

Dmitry Marakasov amdmi3 at mail.ru
Fri Sep 29 19:21:33 UTC 2006


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



More information about the freebsd-ports-bugs mailing list