Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/clanlib/files: clanlib-0.8.1-gcc43.patch clanlib-0.8.1-ndebug.patch
Date: Wed, 30 Apr 2008 20:04:04
Message-Id: E1JrIWZ-0006bd-QI@stork.gentoo.org
1 nyhm 08/04/30 20:03:31
2
3 Added: clanlib-0.8.1-gcc43.patch
4 clanlib-0.8.1-ndebug.patch
5 Log:
6 Version bump, bug #214860
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.1 dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch?rev=1.1&content-type=text/plain
14
15 Index: clanlib-0.8.1-gcc43.patch
16 ===================================================================
17 --- Sources/GL/opengl.cpp
18 +++ Sources/GL/opengl.cpp
19 @@ -51,6 +51,8 @@
20 #endif
21 #endif
22
23 +#include <cstring>
24 +
25 std::vector<std::string> CL_OpenGL::m_ignored_gl_extension;
26
27 CL_ProcAddress *CL_OpenGL::get_proc_address(const std::string& function_name)
28 @@ -414,4 +416,4 @@
29 #endif
30
31 m_ignored_gl_extension.push_back(extension_name);
32 -}
33 \ No newline at end of file
34 +}
35 --- Sources/Network/Socket/ip_address_getsock.cpp
36 +++ Sources/Network/Socket/ip_address_getsock.cpp
37 @@ -40,6 +40,7 @@
38 #include "ip_address_getsock.h"
39
40 #include <cstdlib>
41 +#include <cstring>
42
43 #ifndef WIN32
44 #include <sys/socket.h>
45
46
47
48 1.1 dev-games/clanlib/files/clanlib-0.8.1-ndebug.patch
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.8.1-ndebug.patch?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.8.1-ndebug.patch?rev=1.1&content-type=text/plain
52
53 Index: clanlib-0.8.1-ndebug.patch
54 ===================================================================
55 Patch for clanlib-0.7.8-r2 Bug 154513:
56
57 Signal handler deinit() was not declared.
58
59 This leads to a compilation failure when a release version
60 rather than a debug version is built (-DNDEBUG).
61
62 This patch adds the missing declaration, thus make the
63 file compile with or without -DNDEBUG.
64
65 diff -Naur clanlib-0.7.8-r2.orig/work/ClanLib-0.7.8/Sources/Core/System/Unix/init_linux.cpp clanlib-0.7.8-r2/work/ClanLib-0.7.8/Sources/Core/System/Unix/init_linux.cpp
66 --- clanlib-0.7.8-r2.orig/work/ClanLib-0.7.8/Sources/Core/System/Unix/init_linux.cpp 2003-09-19 10:33:02.000000000 +0000
67 +++ clanlib-0.7.8-r2/work/ClanLib-0.7.8/Sources/Core/System/Unix/init_linux.cpp 2007-10-26 13:36:39.000000000 +0000
68 @@ -52,6 +52,7 @@
69 _begin_time = (long) tv.tv_sec*(long) 1000+(long) tv.tv_usec/(long) 1000;
70
71 #ifdef NDEBUG
72 + sighandler_t deinit;
73 signal(SIGSEGV, deinit);
74 #endif
75 }
76
77
78
79 --
80 gentoo-commits@l.g.o mailing list