FreeBSD Bugzilla – Attachment 177355 Details for
Bug 214653
audio/playgsf: fails to build with libc++ 3.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
playgsf.patch (text/plain), 1.61 KB, created by
Dmitry Marakasov
on 2016-11-24 13:31:55 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-11-24 13:31:55 UTC
Size:
1.61 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 427010) >+++ Makefile (working copy) >@@ -11,16 +11,17 @@ > MAINTAINER= ehaupt@FreeBSD.org > COMMENT= Command-line player for gsf audio files > >+LICENSE= GPLv2+ LGPL21 NONE >+LICENSE_COMB= multi >+LICENSE_FILE_LGPL21= ${WRKSRC}/libresample-0.1.3/LICENSE.txt >+ > LIB_DEPENDS= libao.so:audio/libao > >-USES= gmake dos2unix >+USES= dos2unix gmake localbase:ldflags > GNU_CONFIGURE= yes >+CONFIGURE_ARGS= --enable-ccore \ >+ --disable-optimisations > >-CFLAGS+= -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib >- >-CONFIGURE_ARGS+= --enable-ccore --disable-optimisations >- > PLIST_FILES= bin/playgsf > > ONLY_FOR_ARCHS= i386 amd64 >Index: files/patch-VBA_Util.cpp >=================================================================== >--- files/patch-VBA_Util.cpp (revision 427010) >+++ files/patch-VBA_Util.cpp (working copy) >@@ -1,5 +1,23 @@ >---- VBA/Util.cpp.orig 2016-07-26 15:40:39 UTC >+--- VBA/Util.cpp.orig 2016-11-24 13:15:44 UTC > +++ VBA/Util.cpp >+@@ -917,7 +917,7 @@ bool utilIsGSF(const char * file) >+ >+ >+ if(strlen(file) > 4) { >+- char *p = strrchr(file,'.'); >++ const char *p = strrchr(file,'.'); >+ >+ if(p != NULL) { >+ if(_stricmp(p, ".gsf") == 0) >+@@ -934,7 +934,7 @@ bool utilIsGBAImage(const char * file) >+ { >+ cpuIsMultiBoot = false; >+ if(strlen(file) > 4) { >+- char * p = strrchr(file,'.'); >++ const char * p = strrchr(file,'.'); >+ >+ if(p != NULL) { >+ //if(_stricmp(p, ".gba") == 0) > @@ -1484,7 +1484,8 @@ void utilWriteData(gzFile gzFile, variab > > gzFile utilGzOpen(const char *file, const char *mode)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214653
: 177355