summaryrefslogtreecommitdiffstats
path: root/package/libglib12/libglib_gcc3-patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 01:51:36 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 01:51:36 +0000
commit8df304656c3482f01b8ea62cbbc1d8713ba22439 (patch)
treeb03606db7e30fd287fd96f6dcb680c0d23c35888 /package/libglib12/libglib_gcc3-patch
parent74862dcd6c7a506dcb5cc83a58d5649dd8612b15 (diff)
downloadbuildroot-novena-8df304656c3482f01b8ea62cbbc1d8713ba22439.tar.gz
buildroot-novena-8df304656c3482f01b8ea62cbbc1d8713ba22439.zip
fix shared library building
Diffstat (limited to 'package/libglib12/libglib_gcc3-patch')
-rw-r--r--package/libglib12/libglib_gcc3-patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/package/libglib12/libglib_gcc3-patch b/package/libglib12/libglib_gcc3-patch
deleted file mode 100644
index 3a2b44d81..000000000
--- a/package/libglib12/libglib_gcc3-patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- glib-1.2.10/glib.orig.h 2004-10-14 01:11:45.000000000 -0600
-+++ glib-1.2.10/glib.h 2004-10-14 01:12:02.000000000 -0600
-@@ -271,14 +271,15 @@
-
- /* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with
- * macros, so we can refer to them as strings unconditionally.
-+ * usage not-recommended since gcc-3.0
- */
--#ifdef __GNUC__
--#define G_GNUC_FUNCTION __FUNCTION__
--#define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__
--#else /* !__GNUC__ */
--#define G_GNUC_FUNCTION ""
--#define G_GNUC_PRETTY_FUNCTION ""
--#endif /* !__GNUC__ */
-+#if defined (__GNUC__) && (__GNUC__ < 3)
-+#define G_GNUC_FUNCTION __FUNCTION__
-+#define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__
-+#else /* !__GNUC__ */
-+#define G_GNUC_FUNCTION ""
-+#define G_GNUC_PRETTY_FUNCTION ""
-+#endif /* !__GNUC__ */
-
- /* we try to provide a usefull equivalent for ATEXIT if it is
- * not defined, but use is actually abandoned. people should