mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
e3f755f44c
* gnu/packages/games.scm (pinball): New variable. * gnu/packages/patches/pinball-const-fix.patch, gnu/packages/patches/pinball-cstddef.patch, gnu/packages/patches/pinball-missing-separators.patch, gnu/packages/patches/pinball-src-deps.patch, gnu/packages/patches/pinball-system-ltdl.patch: New patches. * gnu-system.am (dist_patch_DATA): Add them.
11 lines
437 B
Diff
11 lines
437 B
Diff
--- pinball-0.3.1/base/Config.cpp 2009-10-13 18:33:38.000000000 +0200
|
|
+++ pinball-0.3.1/base/Config.cpp 2009-10-13 18:37:12.000000000 +0200
|
|
@@ -416,7 +416,7 @@
|
|
m_sDataDir = string(EM_DATADIR) + "/";
|
|
m_sExeDir = "./";
|
|
if ( *( m_sDataDir.c_str() ) != '/' ) {
|
|
- char* ptr=0;
|
|
+ const char* ptr=0;
|
|
char* ptrw = 0;
|
|
//cout<<"relative to exe file"<<endl;
|
|
ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32
|