Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/emilia-pinball/files: emilia-pinball-0.3.1-glibc210.patch
Date: Wed, 24 Jun 2009 23:39:17
Message-Id: E1MJc3f-00050q-6N@stork.gentoo.org
1 mr_bones_ 09/06/24 23:39:15
2
3 Added: emilia-pinball-0.3.1-glibc210.patch
4 Log:
5 EAPI=2; tidy; add patch for building with glibc210 from Martin Väth (bug #274833)
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch?rev=1.1&content-type=text/plain
13
14 Index: emilia-pinball-0.3.1-glibc210.patch
15 ===================================================================
16 --- base/Config.cpp
17 +++ base/Config.cpp
18 @@ -423,8 +423,8 @@
19 m_sDataDir = string(EM_DATADIR) + "/";
20 m_sExeDir = "./";
21 if ( *( m_sDataDir.c_str() ) != '/' ) {
22 - char* ptr=0;
23 - char* ptrw = 0;
24 + const char* ptr=0;
25 + const char* ptrw = 0;
26 //cout<<"relative to exe file"<<endl;
27 ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32
28 #ifdef WIN32