Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] fixes for 2010.11
@ 2010-11-06 18:59 llandwerlin at gmail.com
  2010-11-06 18:59 ` [Buildroot] [PATCH 1/2] libglib2: fix compilation when compiler has no builtin atomic llandwerlin at gmail.com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: llandwerlin at gmail.com @ 2010-11-06 18:59 UTC (permalink / raw)
  To: buildroot

Available from git://git.potipota.net/buildroot 2010.11-various-fixes

Regards,

--
Lionel Landwerlin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] libglib2: fix compilation when compiler has no builtin atomic
  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
  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
  2 siblings, 0 replies; 4+ messages in thread
From: llandwerlin at gmail.com @ 2010-11-06 18:59 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] directfb: add -lm when using freetype2 font interface
  2010-11-06 18:59 [Buildroot] [pull request] fixes for 2010.11 llandwerlin at gmail.com
  2010-11-06 18:59 ` [Buildroot] [PATCH 1/2] libglib2: fix compilation when compiler has no builtin atomic llandwerlin at gmail.com
@ 2010-11-06 18:59 ` llandwerlin at gmail.com
  2010-11-07  9:43 ` [Buildroot] [pull request] fixes for 2010.11 Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: llandwerlin at gmail.com @ 2010-11-06 18:59 UTC (permalink / raw)
  To: buildroot

From: Lionel Landwerlin <llandwerlin@gmail.com>

This fix runtime/compilation problems seen with directfb 1.4.10.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 ...directfb-1.4.10-add-missing-lm-flag-patch.patch |   51 ++++++++++++++++++++
 package/directfb/directfb.mk                       |    2 +-
 2 files changed, 52 insertions(+), 1 deletions(-)
 create mode 100644 package/directfb/directfb-1.4.10-add-missing-lm-flag-patch.patch

diff --git a/package/directfb/directfb-1.4.10-add-missing-lm-flag-patch.patch b/package/directfb/directfb-1.4.10-add-missing-lm-flag-patch.patch
new file mode 100644
index 0000000..22f91e3
--- /dev/null
+++ b/package/directfb/directfb-1.4.10-add-missing-lm-flag-patch.patch
@@ -0,0 +1,51 @@
+From 5a91f329f490ae3d63c239e37f3899e703e303ee Mon Sep 17 00:00:00 2001
+From: Lionel Landwerlin <llandwerlin@gmail.com>
+Date: Fri, 5 Nov 2010 18:05:54 +0100
+Subject: [PATCH] directfb: add missing -lm flag patch
+
+Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
+---
+ ....10-add-lm-to-link-flags-when-freetype-is.patch |   31 ++++++++++++++++++++
+ 1 files changed, 31 insertions(+), 0 deletions(-)
+ create mode 100644 package/directfb/directfb-1.4.10-add-lm-to-link-flags-when-freetype-is.patch
+
+diff --git a/package/directfb/directfb-1.4.10-add-lm-to-link-flags-when-freetype-is.patch b/package/directfb/directfb-1.4.10-add-lm-to-link-flags-when-freetype-is.patch
+new file mode 100644
+index 0000000..dc84f53
+--- /dev/null
++++ b/package/directfb/directfb-1.4.10-add-lm-to-link-flags-when-freetype-is.patch
+@@ -0,0 +1,31 @@
++From 9103055ed56999bb42cdf8fc5f08f2ad42e28426 Mon Sep 17 00:00:00 2001
++From: Lionel Landwerlin <llandwerlin@gmail.com>
++Date: Fri, 5 Nov 2010 18:00:20 +0100
++Subject: [PATCH] configure.in: add -lm to link flags when freetype is used
++
++Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
++---
++ configure.in |    7 +++++++
++ 1 files changed, 7 insertions(+), 0 deletions(-)
++
++diff --git a/configure.in b/configure.in
++index 78c842d..3f97b22 100644
++--- a/configure.in
+++++ b/configure.in
++@@ -830,6 +830,13 @@ AC_ARG_ENABLE(freetype,
++ if test "$enable_freetype" = "yes"; then
++   PKG_CHECK_MODULES(FREETYPE, freetype2, FREETYPE="yes", [FREETYPE="no",
++     AC_MSG_WARN([*** no freetype -- FreeType font provider will not be built.])])
+++  if test "$enable_shared" = "yes"; then
+++    AC_CHECK_LIB(m, sinf, ,
+++      AC_MSG_ERROR([
+++*** DirectFB requires libm.]))
+++    DYNLIB+=" -lm"
+++  fi
+++  AC_SUBST(DYNLIB)
++ fi
++ 
++ AM_CONDITIONAL(FREETYPE_PROVIDER, test "$FREETYPE" = "yes")
++-- 
++1.6.0.6
++
+-- 
+1.6.0.6
+
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 2703677..fc0e7fe 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -7,7 +7,7 @@ DIRECTFB_VERSION_MAJOR:=1.4
 DIRECTFB_VERSION:=$(DIRECTFB_VERSION_MAJOR).10
 DIRECTFB_SITE:=http://www.directfb.org/downloads/Core/DirectFB-$(DIRECTFB_VERSION_MAJOR)
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
-DIRECTFB_AUTORECONF = NO
+DIRECTFB_AUTORECONF = YES
 DIRECTFB_LIBTOOL_PATCH = NO
 DIRECTFB_INSTALL_STAGING = YES
 DIRECTFB_INSTALL_TARGET = YES
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [pull request] fixes for 2010.11
  2010-11-06 18:59 [Buildroot] [pull request] fixes for 2010.11 llandwerlin at gmail.com
  2010-11-06 18:59 ` [Buildroot] [PATCH 1/2] libglib2: fix compilation when compiler has no builtin atomic llandwerlin at gmail.com
  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 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-11-07  9:43 UTC (permalink / raw)
  To: buildroot

>>>>> "llandwerlin" == llandwerlin  <llandwerlin@gmail.com> writes:

 llandwerlin> Available from git://git.potipota.net/buildroot 2010.11-various-fixes
 llandwerlin> Regards,

Pulled and pushed, thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-07  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06 18:59 [Buildroot] [pull request] fixes for 2010.11 llandwerlin at gmail.com
2010-11-06 18:59 ` [Buildroot] [PATCH 1/2] libglib2: fix compilation when compiler has no builtin atomic llandwerlin at gmail.com
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox