patches/qt45-01-GLIBCXX_CONCEPT_CHECKS.diff
author dauphing
Tue, 16 Mar 2010 14:05:50 +0000
changeset 2416 a60b0d94c34b
permissions -rw-r--r--
misc patch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2416
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     1
--- qt-x11-opensource-src-4.5.2/src/corelib/global/qglobal.h.orig	2009-06-20 06:57:57.000000000 +0200
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     2
+++ qt-x11-opensource-src-4.5.2/src/corelib/global/qglobal.h	2010-03-16 14:27:37.032103000 +0100
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     3
@@ -42,6 +42,16 @@
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     4
 #ifndef QGLOBAL_H
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     5
 #define QGLOBAL_H
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     6
 
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     7
+#ifdef __cplusplus
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     8
+// TODO : patch me GD 20100316
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
     9
+// maybe a bug in vlc and/or the libc++ of gcc433 in OPensolaris b134
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    10
+// that is just to undef the symbol _GLIBCXX_CONCEPT_CHECKS, because the Solaris gcc433
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    11
+// is compiled with --enable-concept-checks
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    12
+
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    13
+#include <bits/c++config.h>
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    14
+#undef _GLIBCXX_CONCEPT_CHECKS
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    15
+#endif
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    16
+
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    17
 #include <stddef.h>
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    18
 
a60b0d94c34b misc patch
dauphing
parents:
diff changeset
    19
 #define QT_VERSION_STR "4.5.2"