View | Details | Raw Unified | Return to bug 70115
Collapse All | Expand All

(-)emulators/tuxnes/Makefile (-5 / +7 lines)
Lines 15-25 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	A Nintendo Entertainment System 8-bit emulator
16
COMMENT=	A Nintendo Entertainment System 8-bit emulator
17
17
18
USE_GETOPT_LONG=yes
19
USE_GMAKE=	YES
20
USE_X_PREFIX=	YES
21
GNU_CONFIGURE=	YES
22
23
ONLY_FOR_ARCHS=	i386
18
ONLY_FOR_ARCHS=	i386
19
20
USE_X_PREFIX=	yes
21
USE_GETOPT_LONG=	yes
22
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
24
25
PLIST_FILES=	bin/romfixer bin/tuxnes
24
26
25
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)emulators/tuxnes/files/patch-emu.c (+38 lines)
Line 0 Link Here
1
--- emu.c.orig	Thu Apr 12 06:45:47 2001
2
+++ emu.c	Wed Aug  4 18:34:38 2004
3
@@ -890,7 +890,7 @@
4
       len = strlen(palfile) + 1;
5
       if (! (buffer = malloc(len)))
6
 	{
7
-	  perror (__FUNCTION__ ": malloc");
8
+	  perror ("loadpal 892: malloc");
9
 	  return;
10
 	}
11
       memcpy (buffer, palfile, len);
12
@@ -912,7 +912,7 @@
13
       len = strlen(filename) + 1;
14
       if (! (buffer = malloc(len)))
15
 	{
16
-	  perror (__FUNCTION__ ": malloc");
17
+	  perror ("loadpal 914: malloc");
18
 	  return;
19
 	}
20
       memcpy (buffer, filename, len);
21
@@ -924,7 +924,7 @@
22
 	return;
23
       if (!(palfile = malloc ((len = strlen (filename)) + 11)))
24
         {
25
-          perror (__FUNCTION__ ": malloc");
26
+          perror ("loadpal 933: malloc");
27
           return;
28
         }
29
       strcpy (palfile, filename);
30
@@ -1602,7 +1602,7 @@
31
 
32
     if (! (basefilename = malloc(baseend - basestart + 1)))
33
       {
34
-        perror (__FUNCTION__ ": malloc");
35
+        perror ("main: malloc");
36
         exit (1);
37
       }
38
 
(-)emulators/tuxnes/pkg-plist (-2 lines)
Lines 1-2 Link Here
1
bin/romfixer
2
bin/tuxnes

Return to bug 70115