mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Fix build with gcc-3.4.2
Support PLIST_FILES PR: ports/70115 Submitted by: Ports Fury
This commit is contained in:
parent
419b58ecc3
commit
d208cc8f7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115567
@ -15,11 +15,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
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>
|
||||
|
38
emulators/tuxnes/files/patch-emu.c
Normal file
38
emulators/tuxnes/files/patch-emu.c
Normal file
@ -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);
|
||||
}
|
||||
|
@ -1,2 +0,0 @@
|
||||
bin/romfixer
|
||||
bin/tuxnes
|
Loading…
Reference in New Issue
Block a user