diff options
author | Eric Bavier <bavier@member.fsf.org> | 2016-01-31 23:22:38 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2016-01-31 23:46:30 -0600 |
commit | e3f755f44c257093c26eab1e7f839808edd57973 (patch) | |
tree | f33aa3f3b7bc17f0e80b33c66a9a69993ee0d391 /gnu/packages/patches/pinball-const-fix.patch | |
parent | 917708c276b0583a60b34084e1bb23219b1272bf (diff) | |
download | guix-e3f755f44c257093c26eab1e7f839808edd57973.tar guix-e3f755f44c257093c26eab1e7f839808edd57973.tar.gz |
gnu: Add pinball.
* 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.
Diffstat (limited to 'gnu/packages/patches/pinball-const-fix.patch')
-rw-r--r-- | gnu/packages/patches/pinball-const-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/patches/pinball-const-fix.patch b/gnu/packages/patches/pinball-const-fix.patch new file mode 100644 index 0000000000..6d7b75dd48 --- /dev/null +++ b/gnu/packages/patches/pinball-const-fix.patch @@ -0,0 +1,11 @@ +--- 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 |