public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jonathan Callen" <abcd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-games/, gnome-extra/gnome-games/files/
Date: Thu, 24 Feb 2011 19:58:28 +0000 (UTC)	[thread overview]
Message-ID: <b3376134974d207fe512dc3f65d6bbad0ffc2e35.abcd@gentoo> (raw)

commit:     b3376134974d207fe512dc3f65d6bbad0ffc2e35
Author:     Jonathan Callen <abcd <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 09:50:17 2011 +0000
Commit:     Jonathan Callen <abcd <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 09:50:17 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=b3376134

gnome-extra/gnome-games: add patch to fix build

(Portage version: 2.2.0_alpha23_p5/git/Linux i686, RepoMan options: --force, signed Manifest commit with key 229E5838)

---
 ...gnome-games-2.91.90-fix-header-collisions.patch |   71 ++++++++++++++++++++
 gnome-extra/gnome-games/gnome-games-2.91.90.ebuild |    3 +
 2 files changed, 74 insertions(+), 0 deletions(-)

diff --git a/gnome-extra/gnome-games/files/gnome-games-2.91.90-fix-header-collisions.patch b/gnome-extra/gnome-games/files/gnome-games-2.91.90-fix-header-collisions.patch
new file mode 100644
index 0000000..eb22628
--- /dev/null
+++ b/gnome-extra/gnome-games/files/gnome-games-2.91.90-fix-header-collisions.patch
@@ -0,0 +1,71 @@
+From 705397f479f758a6eae767aad84e13b10ca25f46 Mon Sep 17 00:00:00 2001
+From: Nirbheek Chauhan <nirbheek@gentoo.org>
+Date: Wed, 23 Feb 2011 15:49:00 +0000
+Subject: Fix header collisions between clutter-gtk-0.10 and clutter-gtk-1.0
+
+Always add CLUTTER_GTK_CFLAGS before CLUTTER_CFLAGS to maintain the path order.
+Use the same LIBS order for consistency.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=643080
+---
+diff --git a/aisleriot/Makefile.am b/aisleriot/Makefile.am
+index 9bd5995..030927f 100644
+--- a/aisleriot/Makefile.am
++++ b/aisleriot/Makefile.am
+@@ -167,9 +167,9 @@ sol_clutter_SOURCES += \
+ endif
+ 
+ sol_clutter_CPPFLAGS = $(sol_CPPFLAGS) -DHAVE_CLUTTER
+-sol_clutter_CFLAGS = $(sol_CFLAGS) $(CLUTTER_CFLAGS) $(CLUTTER_GTK_CFLAGS)
++sol_clutter_CFLAGS = $(sol_CFLAGS) $(CLUTTER_GTK_CFLAGS) $(CLUTTER_CFLAGS)
+ sol_clutter_LDFLAGS = $(sol_LDFLAGS)
+-sol_clutter_LDADD = $(sol_LDADD) $(CLUTTER_LIBS) $(CLUTTER_GTK_LIBS)
++sol_clutter_LDADD = $(sol_LDADD) $(CLUTTER_GTK_LIBS) $(CLUTTER_LIBS)
+ 
+ 
+ endif # ENABLE_AISLERIOT_CLUTTER
+diff --git a/gnibbles/Makefile.am b/gnibbles/Makefile.am
+index c332c5d..cf0e4ff 100644
+--- a/gnibbles/Makefile.am
++++ b/gnibbles/Makefile.am
+@@ -39,15 +39,15 @@ gnibbles_CPPFLAGS = \
+ 
+ gnibbles_CFLAGS = \
+ 	$(GTK_CFLAGS) \
+-	$(CLUTTER_CFLAGS) \
+ 	$(CLUTTER_GTK_CFLAGS) \
++	$(CLUTTER_CFLAGS) \
+ 	$(AM_CFLAGS)
+ 
+ gnibbles_LDADD = \
+ 	$(top_builddir)/libgames-support/libgames-support.la \
+ 	$(GTK_LIBS) \
+-	$(CLUTTER_LIBS) \
+ 	$(CLUTTER_GTK_LIBS) \
++	$(CLUTTER_LIBS) \
+ 	$(INTLLIBS)
+ 
+ if HAVE_GNOME
+diff --git a/quadrapassel/Makefile.am b/quadrapassel/Makefile.am
+index dedd075..087d34b 100644
+--- a/quadrapassel/Makefile.am
++++ b/quadrapassel/Makefile.am
+@@ -31,14 +31,14 @@ quadrapassel_CPPFLAGS = \
+ 
+ quadrapassel_CXXFLAGS = \
+ 	$(GTK_CFLAGS) \
+-	$(CLUTTER_CFLAGS) \
+ 	$(CLUTTER_GTK_CFLAGS) \
++	$(CLUTTER_CFLAGS) \
+ 	$(AM_CXXFLAGS)
+ 
+ quadrapassel_LDADD = \
+ 	$(top_builddir)/libgames-support/libgames-support.la \
+-	$(CLUTTER_LIBS) \
+ 	$(CLUTTER_GTK_LIBS) \
++	$(CLUTTER_LIBS) \
+ 	$(GTK_LIBS) \
+ 	$(INTLLIBS)
+ 
+--
+cgit v0.8.3.4

diff --git a/gnome-extra/gnome-games/gnome-games-2.91.90.ebuild b/gnome-extra/gnome-games/gnome-games-2.91.90.ebuild
index a4a7b2e..86caea5 100644
--- a/gnome-extra/gnome-games/gnome-games-2.91.90.ebuild
+++ b/gnome-extra/gnome-games/gnome-games-2.91.90.ebuild
@@ -135,6 +135,9 @@ src_prepare() {
 	# Without this, --enable-staging enables all those games unconditionally
 	epatch "${FILESDIR}/${PN}-fix-staging-games.patch"
 
+	# Fixed upstream, remove in next release
+	epatch "${FILESDIR}/${P}-fix-header-collisions.patch"
+
 	eautoreconf
 
 	# disable pyc compiling



             reply	other threads:[~2011-02-24 19:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 19:58 Jonathan Callen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-14 17:21 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-games/, gnome-extra/gnome-games/files/ Nirbheek Chauhan
2011-02-22 15:14 Nirbheek Chauhan

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=b3376134974d207fe512dc3f65d6bbad0ffc2e35.abcd@gentoo \
    --to=abcd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox