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 dev-games/clanlib/files: clanlib-0.8.0-ndebug.patch clanlib-0.7.8-ndebug.patch
Date: Mon, 29 Oct 2007 22:07:52
Message-Id: E1Imcls-00009a-HC@stork.gentoo.org
1 mr_bones_ 07/10/29 22:07:44
2
3 Added: clanlib-0.8.0-ndebug.patch
4 clanlib-0.7.8-ndebug.patch
5 Log:
6 add patch to build with -DNDEBUG from Guenther Brunthaler (bug #154513)
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.1 dev-games/clanlib/files/clanlib-0.8.0-ndebug.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.8.0-ndebug.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.8.0-ndebug.patch?rev=1.1&content-type=text/plain
14
15 Index: clanlib-0.8.0-ndebug.patch
16 ===================================================================
17 Patch for clanlib-0.7.8-r2 Bug 154513:
18
19 Signal handler deinit() was not declared.
20
21 This leads to a compilation failure when a release version
22 rather than a debug version is built (-DNDEBUG).
23
24 This patch adds the missing declaration, thus make the
25 file compile with or without -DNDEBUG.
26
27 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
28 --- 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
29 +++ 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
30 @@ -52,6 +52,7 @@
31 _begin_time = (long) tv.tv_sec*(long) 1000+(long) tv.tv_usec/(long) 1000;
32
33 #ifdef NDEBUG
34 + sighandler_t deinit;
35 signal(SIGSEGV, deinit);
36 #endif
37 }
38
39
40
41 1.1 dev-games/clanlib/files/clanlib-0.7.8-ndebug.patch
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.7.8-ndebug.patch?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/files/clanlib-0.7.8-ndebug.patch?rev=1.1&content-type=text/plain
45
46 Index: clanlib-0.7.8-ndebug.patch
47 ===================================================================
48 Patch for clanlib-0.7.8-r2 Bug 154513:
49
50 Signal handler deinit() was not declared.
51
52 This leads to a compilation failure when a release version
53 rather than a debug version is built (-DNDEBUG).
54
55 This patch adds the missing declaration, thus make the
56 file compile with or without -DNDEBUG.
57
58 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
59 --- 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
60 +++ 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
61 @@ -52,6 +52,7 @@
62 _begin_time = (long) tv.tv_sec*(long) 1000+(long) tv.tv_usec/(long) 1000;
63
64 #ifdef NDEBUG
65 + sighandler_t deinit;
66 signal(SIGSEGV, deinit);
67 #endif
68 }
69
70
71
72 --
73 gentoo-commits@g.o mailing list