From: llandwerlin at gmail.com <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] libglib2: fix compilation when compiler has no builtin atomic
Date: Sat, 6 Nov 2010 19:59:49 +0100 [thread overview]
Message-ID: <1289069990-31304-2-git-send-email-llandwerlin@gmail.com> (raw)
In-Reply-To: <1289069990-31304-1-git-send-email-llandwerlin@gmail.com>
From: Lionel Landwerlin <llandwerlin@gmail.com>
Reported here: https://bugzilla.gnome.org/show_bug.cgi?id=631353
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
....0-fix-compilation-with-no-builtin-atomic.patch | 25 ++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 package/libglib2/libglib-2.26.0-fix-compilation-with-no-builtin-atomic.patch
diff --git a/package/libglib2/libglib-2.26.0-fix-compilation-with-no-builtin-atomic.patch b/package/libglib2/libglib-2.26.0-fix-compilation-with-no-builtin-atomic.patch
new file mode 100644
index 0000000..39c0510
--- /dev/null
+++ b/package/libglib2/libglib-2.26.0-fix-compilation-with-no-builtin-atomic.patch
@@ -0,0 +1,25 @@
+From 58096320ea0888c4fbbff318839017a4d2e82703 Mon Sep 17 00:00:00 2001
+From: Lionel Landwerlin <llandwerlin@gmail.com>
+Date: Sat, 6 Nov 2010 14:56:15 +0100
+Subject: [PATCH] glib: fix compilation with no builtin atomic operations compilers
+
+Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
+---
+ glib/gatomic.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/glib/gatomic.c b/glib/gatomic.c
+index 845c866..01468ce 100644
+--- a/glib/gatomic.c
++++ b/glib/gatomic.c
+@@ -881,6 +881,7 @@ g_atomic_pointer_compare_and_exchange (volatile gpointer G_GNUC_MAY_ALIAS *atomi
+ #endif /* DEFINE_WITH_WIN32_INTERLOCKED */
+
+ #ifdef DEFINE_WITH_MUTEXES
++# include "gthread.h"
+ /* We have to use the slow, but safe locking method */
+ static GMutex *g_atomic_mutex;
+
+--
+1.7.2.3
+
--
1.7.2.3
next prev parent reply other threads:[~2010-11-06 18:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-06 18:59 [Buildroot] [pull request] fixes for 2010.11 llandwerlin at gmail.com
2010-11-06 18:59 ` llandwerlin at gmail.com [this message]
2010-11-06 18:59 ` [Buildroot] [PATCH 2/2] directfb: add -lm when using freetype2 font interface llandwerlin at gmail.com
2010-11-07 9:43 ` [Buildroot] [pull request] fixes for 2010.11 Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1289069990-31304-2-git-send-email-llandwerlin@gmail.com \
--to=llandwerlin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.