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

(-)Makefile (-6 / +7 lines)
Lines 11-26 Link Here
11
MAINTAINER=	ehaupt@FreeBSD.org
11
MAINTAINER=	ehaupt@FreeBSD.org
12
COMMENT=	Command-line player for gsf audio files
12
COMMENT=	Command-line player for gsf audio files
13
13
14
LICENSE=	GPLv2+ LGPL21 NONE
15
LICENSE_COMB=	multi
16
LICENSE_FILE_LGPL21=	${WRKSRC}/libresample-0.1.3/LICENSE.txt
17
14
LIB_DEPENDS=	libao.so:audio/libao
18
LIB_DEPENDS=	libao.so:audio/libao
15
19
16
USES=		gmake dos2unix
20
USES=		dos2unix gmake localbase:ldflags
17
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	--enable-ccore \
23
		--disable-optimisations
18
24
19
CFLAGS+=	-I${LOCALBASE}/include
20
LDFLAGS+=	-L${LOCALBASE}/lib
21
22
CONFIGURE_ARGS+=	--enable-ccore --disable-optimisations
23
24
PLIST_FILES=	bin/playgsf
25
PLIST_FILES=	bin/playgsf
25
26
26
ONLY_FOR_ARCHS=	i386 amd64
27
ONLY_FOR_ARCHS=	i386 amd64
(-)files/patch-VBA_Util.cpp (-1 / +19 lines)
Lines 1-5 Link Here
1
--- VBA/Util.cpp.orig	2016-07-26 15:40:39 UTC
1
--- VBA/Util.cpp.orig	2016-11-24 13:15:44 UTC
2
+++ VBA/Util.cpp
2
+++ VBA/Util.cpp
3
@@ -917,7 +917,7 @@ bool utilIsGSF(const char * file)
4
   
5
 
6
   if(strlen(file) > 4) {
7
-    char *p = strrchr(file,'.');
8
+    const char *p = strrchr(file,'.');
9
 
10
 	if(p != NULL) {
11
 	  if(_stricmp(p, ".gsf") == 0)
12
@@ -934,7 +934,7 @@ bool utilIsGBAImage(const char * file)
13
 {
14
   cpuIsMultiBoot = false;
15
   if(strlen(file) > 4) {
16
-    char * p = strrchr(file,'.');
17
+    const char * p = strrchr(file,'.');
18
 
19
     if(p != NULL) {
20
       //if(_stricmp(p, ".gba") == 0)
3
@@ -1484,7 +1484,8 @@ void utilWriteData(gzFile gzFile, variab
21
@@ -1484,7 +1484,8 @@ void utilWriteData(gzFile gzFile, variab
4
 
22
 
5
 gzFile utilGzOpen(const char *file, const char *mode)
23
 gzFile utilGzOpen(const char *file, const char *mode)

Return to bug 214653