FreeBSD Bugzilla – Attachment 177356 Details for
Bug 214651
games/pinball: 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
pinball.patch (text/plain), 2.20 KB, created by
Dmitry Marakasov
on 2016-11-24 13:43:23 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-11-24 13:43:23 UTC
Size:
2.20 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 427010) >+++ Makefile (working copy) >@@ -11,13 +11,15 @@ > COMMENT= Emilia Pinball is a free pinball game > > LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/COPYING > >-USES= gmake libtool:keepla # .la needed for plugin loading >-USE_GL= gl >+USES= gmake localbase:ldflags libtool:keepla # .la needed for plugin loading >+USE_GL= gl glu > GNU_CONFIGURE= yes >+CONFIGURE_ARGS= --without-debug > USE_LDCONFIG= yes > >-CONFIGURE_ARGS= --prefix=${PREFIX} --without-debug >+CPPFLAGS+= -DRZR_LIBSTATIC > > OPTIONS_DEFINE= DOCS > >@@ -29,13 +31,8 @@ > .else > USE_SDL= image mixer sdl > .endif >- >-CPPFLAGS+= -I${LOCALBASE}/include -DRZR_LIBSTATIC >-LDFLAGS+= -L${LOCALBASE}/lib > #MAKE_JOBS_UNSAFE= yes > >-DOCS= README >- > # For gmake>=3.82 > pre-configure: > @${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ >@@ -49,9 +46,7 @@ > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* > > post-install-DOCS-on: >- ${MKDIR} ${STAGEDIR}${DOCSDIR} >-.for FILE in ${DOCS} >- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} >-.endfor >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} > > .include <bsd.port.mk> >Index: files/patch-base_Config.cpp >=================================================================== >--- files/patch-base_Config.cpp (nonexistent) >+++ files/patch-base_Config.cpp (working copy) >@@ -0,0 +1,13 @@ >+--- base/Config.cpp.orig 2003-11-21 07:59:09 UTC >++++ base/Config.cpp >+@@ -423,8 +423,8 @@ void Config::setPaths(char const * const >+ m_sDataDir = string(EM_DATADIR) + "/"; >+ m_sExeDir = "./"; >+ if ( *( m_sDataDir.c_str() ) != '/' ) { >+- char* ptr=0; >+- char* ptrw = 0; >++ const char* ptr=0; >++ const char* ptrw = 0; >+ //cout<<"relative to exe file"<<endl; >+ ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32 >+ #ifdef WIN32 > >Property changes on: files/patch-base_Config.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 214651
: 177356