From gonter@buddy.wu-wien.ac.at  Tue Sep 30 13:09:26 2003
Return-Path: <gonter@buddy.wu-wien.ac.at>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B65FE16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Sep 2003 13:09:26 -0700 (PDT)
Received: from buddy.wu-wien.ac.at (buddy.wu-wien.ac.at [137.208.127.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1BDFC44014
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Sep 2003 13:09:25 -0700 (PDT)
	(envelope-from gonter@buddy.wu-wien.ac.at)
Received: (from gonter@localhost)
	by buddy.wu-wien.ac.at (8.8.7/8.8.7) id WAA20768emf gonter; Tue, 30 Sep 2003 22:09:21 +0200
Received: from popstar.wu-wien.ac.at (popstar.wu-wien.ac.at [137.208.3.10])
	by buddy.wu-wien.ac.at (8.8.7/8.8.7) with ESMTP id WAA34694
	for <gonter@buddy.wu-wien.ac.at>;
	emf gonter@wu-wien.ac.at; Tue, 30 Sep 2003 22:05:09 +0200
Received: from chuck.iris-net.home (chello062178006235.3.11.wu-wien.teleweb.at [62.178.6.235])
	by popstar.wu-wien.ac.at (8.12.6p2/8.12.6) with ESMTP id h8UK57xH056656
	for <gonter@wu-wien.ac.at>; Tue, 30 Sep 2003 22:05:07 +0200 (CEST)
	(envelope-from gonter@wu-wien.ac.at)
Received: from chuck.iris-net.home (localhost.iris-net.home [127.0.0.1])
	by chuck.iris-net.home (8.12.10/8.12.9) with ESMTP id h8UK5QRI068141
	for <gonter@wu-wien.ac.at>; Tue, 30 Sep 2003 22:05:26 +0200 (CEST)
	(envelope-from root@chuck.iris-net.home)
Received: (from root@localhost)
	by chuck.iris-net.home (8.12.10/8.12.9/Submit) id h8UK5Qqc068140;
	Tue, 30 Sep 2003 22:05:26 +0200 (CEST)
Message-Id: <200309302005.h8UK5Qqc068140@chuck.iris-net.home>
Date: Tue, 30 Sep 2003 22:05:26 +0200 (CEST)
From: Gerhard Gonter <gonter@wu-wien.ac.at>
Sender: gonter@buddy.wu-wien.ac.at
Reply-To: Gerhard Gonter <gonter@wu-wien.ac.at>
To: gonter@wu-wien.ac.at
Subject: port games/oneko-sakura broken in FreeBSD 5.1
X-Send-Pr-Version: 3.113

>Number:         57423
>Category:       ports
>Synopsis:       port games/oneko-sakura broken in FreeBSD 5.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 13:10:15 PDT 2003
>Closed-Date:    Tue Sep 30 14:50:49 PDT 2003
>Last-Modified:  Tue Sep 30 14:50:49 PDT 2003
>Originator:     Gerhard Gonter
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
WU-Wien
>Environment:
System: FreeBSD chuck.iris-net.home 5.1-CURRENT FreeBSD 5.1-CURRENT #4: Wed Sep 24 17:21:47 CEST 2003 root@chuck.iris-net.home:/usr/obj/usr/src/sys/CHUCK i386


>Description:
	This port is broken since the application uses apparently
	now invalid CPP syntaix in its Imakefile.

>How-To-Repeat:

	See http://bento.freebsd.org/errorlogs/i386-5-latest/oneko-sakura5-1.2.log
>Fix:

	This fix changes the invalid comment in the Imakefile.

diff -ruN oneko-sakura.orig/Makefile oneko-sakura/Makefile
--- oneko-sakura.orig/Makefile	Fri Feb 21 13:05:51 2003
+++ oneko-sakura/Makefile	Tue Sep 30 21:46:13 2003
@@ -20,9 +20,14 @@
 COMMENT=	A cat, Sakura or Tomoyo chasing a mouse all over the screen
 
 USE_IMAKE=	yes
+USE_REINPLACE=  yes
 MAN6=		oneko.6
 NO_CDROM=	"Including derivatives from CARDCAPTOR SAKURA. See http://www.clamp.f-2.co.jp/"
 RESTRICTED_FILES=	${PATCHFILES}
+
+pre-patch:
+	@${REINPLACE_CMD} -e 's,/\*\*/# Cannot compile in using Gcc,/* Cannot compile using Gcc */,' \
+	${WRKSRC}/Imakefile
 
 pre-configure:
 	@${ECHO_CMD} "MANSUFFIX=6" >>${WRKSRC}/Imakefile

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Tue Sep 30 14:50:39 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57423 
>Unformatted:
