Gentoo Archives: gentoo-commits

From: "Victor Ostorga (vostorga)" <vostorga@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/SoQt/files: SoQt-1.4.1-gcc44.patch
Date: Tue, 27 Oct 2009 22:02:51
Message-Id: E1N2u7t-0000AX-2V@stork.gentoo.org
1 vostorga 09/10/27 22:02:49
2
3 Modified: SoQt-1.4.1-gcc44.patch
4 Log:
5 Updating patch to compile against gcc 4.4 , detecting if >=media-libs/coin-3* is installed
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.2 media-libs/SoQt/files/SoQt-1.4.1-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/SoQt/files/SoQt-1.4.1-gcc44.patch?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/SoQt/files/SoQt-1.4.1-gcc44.patch?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/SoQt/files/SoQt-1.4.1-gcc44.patch?r1=1.1&r2=1.2
14
15 Index: SoQt-1.4.1-gcc44.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/SoQt/files/SoQt-1.4.1-gcc44.patch,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- SoQt-1.4.1-gcc44.patch 23 Aug 2009 19:02:16 -0000 1.1
22 +++ SoQt-1.4.1-gcc44.patch 27 Oct 2009 22:02:48 -0000 1.2
23 @@ -1,11 +1,22 @@
24 ---- ./src/Inventor/Qt/SoQtComponent.cpp.orig 2006-10-30 16:09:20.000000000 -0600
25 -+++ ./src/Inventor/Qt/SoQtComponent.cpp 2009-08-17 08:07:57.000000000 -0500
26 -@@ -100,7 +100,7 @@
27 +diff -ru soqt-1.4.1~/src/Inventor/Qt/SoQtComponent.cpp soqt-1.4.1/src/Inventor/Qt/SoQtComponent.cpp
28 +--- soqt-1.4.1~/src/Inventor/Qt/SoQtComponent.cpp 2009-02-25 07:55:02.000000000 -0800
29 ++++ soqt-1.4.1/src/Inventor/Qt/SoQtComponent.cpp 2009-02-25 07:56:36.000000000 -0800
30 +@@ -100,10 +100,17 @@
31 this->parent->removeEventFilter(this);
32 }
33
34 --static void delete_dict_value(unsigned long key, void * value)
35 -+static void delete_dict_value(SbDictKeyType key, void * value)
36 ++#if COIN_MAJOR_VERSION >= 3
37 ++static void delete_dict_value(SbDict::Key key, void * value)
38 ++{
39 ++ delete (QCursor *)value;
40 ++}
41 ++#else // COIN_MAJOR_VERSION >= 3
42 + static void delete_dict_value(unsigned long key, void * value)
43 {
44 delete (QCursor *)value;
45 }
46 ++#endif // COIN_MAJOR_VERSION < 3
47 +
48 + void
49 + SoQtComponentP::atexit_cleanup()
50 +