Date: Sat, 7 Aug 2004 21:00:08 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70115: Update port: emulators/tuxnes Message-ID: <20040807210008.695ec6df.tkato432@yahoo.com> Resent-Message-ID: <200408071210.i77CAN7V093929@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70115 >Category: ports >Synopsis: Update port: emulators/tuxnes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 07 12:10:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: >Environment: >Description: - Fix build on -current after gcc 3.4 import - Support PLIST_FILES New file: files/patch-emu.c Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/emulators/tuxnes/Makefile emulators/tuxnes/Makefile --- /usr/ports/emulators/tuxnes/Makefile Wed Feb 4 18:58:18 2004 +++ emulators/tuxnes/Makefile Wed Jun 16 01:59:27 2004 @@ -15,11 +15,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A Nintendo Entertainment System 8-bit emulator -USE_GETOPT_LONG=yes -USE_GMAKE= YES -USE_X_PREFIX= YES -GNU_CONFIGURE= YES - ONLY_FOR_ARCHS= i386 + +USE_X_PREFIX= yes +USE_GETOPT_LONG= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes + +PLIST_FILES= bin/romfixer bin/tuxnes .include <bsd.port.mk> diff -urN /usr/ports/emulators/tuxnes/files/patch-emu.c emulators/tuxnes/files/patch-emu.c --- /usr/ports/emulators/tuxnes/files/patch-emu.c Thu Jan 1 09:00:00 1970 +++ emulators/tuxnes/files/patch-emu.c Wed Aug 4 18:34:48 2004 @@ -0,0 +1,38 @@ +--- emu.c.orig Thu Apr 12 06:45:47 2001 ++++ emu.c Wed Aug 4 18:34:38 2004 +@@ -890,7 +890,7 @@ + len = strlen(palfile) + 1; + if (! (buffer = malloc(len))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("loadpal 892: malloc"); + return; + } + memcpy (buffer, palfile, len); +@@ -912,7 +912,7 @@ + len = strlen(filename) + 1; + if (! (buffer = malloc(len))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("loadpal 914: malloc"); + return; + } + memcpy (buffer, filename, len); +@@ -924,7 +924,7 @@ + return; + if (!(palfile = malloc ((len = strlen (filename)) + 11))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("loadpal 933: malloc"); + return; + } + strcpy (palfile, filename); +@@ -1602,7 +1602,7 @@ + + if (! (basefilename = malloc(baseend - basestart + 1))) + { +- perror (__FUNCTION__ ": malloc"); ++ perror ("main: malloc"); + exit (1); + } + diff -urN /usr/ports/emulators/tuxnes/pkg-plist emulators/tuxnes/pkg-plist --- /usr/ports/emulators/tuxnes/pkg-plist Sun Feb 13 20:45:42 2000 +++ emulators/tuxnes/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1,2 +0,0 @@ -bin/romfixer -bin/tuxnes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040807210008.695ec6df.tkato432>