Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/netherearth/files: netherearth-0.52-glibc-212.patch
Date: Tue, 31 Aug 2010 15:47:54
Message-Id: 20100831154748.781C320054@flycatcher.gentoo.org
1 ssuominen 10/08/31 15:47:48
2
3 Added: netherearth-0.52-glibc-212.patch
4 Log:
5 Fix building with recent glibc wrt #335137 by Diego E. Pettenò.
6
7 (Portage version: 2.2_rc69/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 games-strategy/netherearth/files/netherearth-0.52-glibc-212.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/files/netherearth-0.52-glibc-212.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/files/netherearth-0.52-glibc-212.patch?rev=1.1&content-type=text/plain
14
15 Index: netherearth-0.52-glibc-212.patch
16 ===================================================================
17 http://bugs.gentoo.org/335137
18
19 --- sources/mainmenu.cpp
20 +++ sources/mainmenu.cpp
21 @@ -3,6 +3,7 @@
22 #else
23 #include <stddef.h>
24 #include <sys/types.h>
25 +#include <sys/stat.h>
26 #include <dirent.h>
27 #endif
28
29 --- sources/nethersave.cpp
30 +++ sources/nethersave.cpp
31 @@ -1,5 +1,8 @@
32 #ifdef _WIN32
33 #include "windows.h"
34 +#else
35 +#include <sys/types.h>
36 +#include <sys/stat.h>
37 #endif
38
39 #include "string.h"