diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 18:48:11 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 18:48:11 +0200 |
commit | 6bbd93df57af473848465d91847feec9b9ab51d0 (patch) | |
tree | 5d84239ff137cd8e091f0c887bda590de9c9a26b /base/glib1/gcc340.patch | |
parent | e687f3d3ea1161e7e641d10b4be579b86de7f66a (diff) | |
download | nutyx-extra-6bbd93df57af473848465d91847feec9b9ab51d0.tar.gz nutyx-extra-6bbd93df57af473848465d91847feec9b9ab51d0.tar.bz2 nutyx-extra-6bbd93df57af473848465d91847feec9b9ab51d0.tar.xz nutyx-extra-6bbd93df57af473848465d91847feec9b9ab51d0.zip |
Ajout de glib1#1.2.10-1
Diffstat (limited to 'base/glib1/gcc340.patch')
-rw-r--r-- | base/glib1/gcc340.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/base/glib1/gcc340.patch b/base/glib1/gcc340.patch new file mode 100644 index 000000000..0cc47e8c2 --- /dev/null +++ b/base/glib1/gcc340.patch @@ -0,0 +1,16 @@ +diff -Naur glib-1.2.10.orig/glib.h glib-1.2.10/glib.h +--- glib-1.2.10.orig/glib.h 2001-02-27 04:44:38.000000000 +0100 ++++ glib-1.2.10/glib.h 2004-05-27 15:50:32.436527848 +0200 +@@ -271,8 +271,10 @@ + + /* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with + * macros, so we can refer to them as strings unconditionally. ++ * ++ * Unfortunately these are _not_ treated as strings anymore in GCC3.4. + */ +-#ifdef __GNUC__ ++#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ < 4) + #define G_GNUC_FUNCTION __FUNCTION__ + #define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ + #else /* !__GNUC__ */ + |