From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 18 18:10:07 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 90499C29 for ; Sun, 18 Aug 2013 18:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 64A5A23F6 for ; Sun, 18 Aug 2013 18:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7IIA7Bl081358 for ; Sun, 18 Aug 2013 18:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7IIA7cg081357; Sun, 18 Aug 2013 18:10:07 GMT (envelope-from gnats) Date: Sun, 18 Aug 2013 18:10:07 GMT Message-Id: <201308181810.r7IIA7cg081357@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: KATO Tsuguru Subject: Re: ports/178160: emulators/sness9express: Fix build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: KATO Tsuguru List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 18:10:07 -0000 The following reply was made to PR ports/178160; it has been noted by GNATS. From: KATO Tsuguru To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/178160: emulators/sness9express: Fix build Date: Mon, 19 Aug 2013 02:51:02 +0900 This is a multi-part message in MIME format. --Multipart=_Mon__19_Aug_2013_02_51_02_+0900_C1Q1x.1EsBHxC/Bf Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Remake of the patch against current tree. --Multipart=_Mon__19_Aug_2013_02_51_02_+0900_C1Q1x.1EsBHxC/Bf Content-Type: text/x-diff; name="emulators_snes9express.diff" Content-Disposition: attachment; filename="emulators_snes9express.diff" Content-Transfer-Encoding: 7bit diff -urN /usr/ports/emulators/snes9express/Makefile emulators/snes9express/Makefile --- /usr/ports/emulators/snes9express/Makefile 2013-08-15 22:34:59.000000000 +0900 +++ emulators/snes9express/Makefile 2013-08-19 00:00:00.000000000 +0900 @@ -1,9 +1,5 @@ -# New ports collection makefile for: snes9express -# Date created: 15 Mar 2004 -# Whom: Travis Poppe -# +# Created by: Travis Poppe # $FreeBSD: head/emulators/snes9express/Makefile 324744 2013-08-14 22:35:50Z ak $ -# PORTNAME= snes9express PORTVERSION= 1.43 @@ -14,39 +10,44 @@ MAINTAINER= ports@FreeBSD.org COMMENT= GTK interface for snes9x +LICENSE= GPLv2 # (or later) + RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x +OPTIONS_DEFINE= DOCS + USE_GNOME= gtk20 USES= gettext GNU_CONFIGURE= yes -BROKEN= does not build - PORTDOCS= AUTHORS ChangeLog NEWS README PLIST_FILES= bin/${PORTNAME} \ %%DATADIR%%/snes.s9xskin \ %%DATADIR%%/snsp.s9xskin PLIST_DIRS= %%DATADIR%% +.include + +.if ${ARCH} == "sparc64" +BROKEN= Does not compile on sparc64 +.endif + post-patch: - @${REINPLACE_CMD} -e 's|||' \ - ${WRKSRC}/s9xskin.cc + @${REINPLACE_CMD} -e \ + 's|(gzFile\*)|| ; \ + s|\*fptr;|fptr;|' ${WRKSRC}/rom.cc + @${REINPLACE_CMD} -e \ + 's|||' ${WRKSRC}/s9xskin.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.s9xskin ${DATADIR} -.if !defined(NOPORTDOCS) + (cd ${WRKSRC} && ${INSTALL_DATA} *.s9xskin ${DATADIR}) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for i in ${PORTDOCS} + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) .endfor .endif -.include - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile on sparc64 -.endif - .include --Multipart=_Mon__19_Aug_2013_02_51_02_+0900_C1Q1x.1EsBHxC/Bf--