summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-08 05:19:21 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-08 05:19:21 +0800
commit29f03cba09a7280a8b6955494809b478bea97878 (patch)
tree4ee64f1c46188bf8bd0474b20c406cd5be1e20c9 /graphics
parentbb15eec38959973f2b0b1b883e7d5b42df60276d (diff)
downloadmarcuscom-ports-29f03cba09a7280a8b6955494809b478bea97878.tar
marcuscom-ports-29f03cba09a7280a8b6955494809b478bea97878.tar.gz
marcuscom-ports-29f03cba09a7280a8b6955494809b478bea97878.tar.bz2
marcuscom-ports-29f03cba09a7280a8b6955494809b478bea97878.tar.lz
marcuscom-ports-29f03cba09a7280a8b6955494809b478bea97878.tar.xz
marcuscom-ports-29f03cba09a7280a8b6955494809b478bea97878.tar.zst
marcuscom-ports-29f03cba09a7280a8b6955494809b478bea97878.zip
Fix build with recent gobject-introspection
Obtained from: clutter-project.org git git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14795 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/clutter-gtk/Makefile1
-rw-r--r--graphics/clutter-gtk/files/patch-clutter-gtk_Makefile.in28
2 files changed, 29 insertions, 0 deletions
diff --git a/graphics/clutter-gtk/Makefile b/graphics/clutter-gtk/Makefile
index 77fa8c0a9..1ed07187a 100644
--- a/graphics/clutter-gtk/Makefile
+++ b/graphics/clutter-gtk/Makefile
@@ -7,6 +7,7 @@
PORTNAME= clutter-gtk
PORTVERSION= 0.10.8
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= GNOME \
http://source.clutter-project.org/sources/${PORTNAME}/${PORTVERSION:R}/
diff --git a/graphics/clutter-gtk/files/patch-clutter-gtk_Makefile.in b/graphics/clutter-gtk/files/patch-clutter-gtk_Makefile.in
new file mode 100644
index 000000000..80c495f48
--- /dev/null
+++ b/graphics/clutter-gtk/files/patch-clutter-gtk_Makefile.in
@@ -0,0 +1,28 @@
+--- clutter-gtk/Makefile.in.orig 2010-10-07 22:59:05.000000000 +0200
++++ clutter-gtk/Makefile.in 2010-10-07 23:01:50.000000000 +0200
+@@ -289,6 +289,7 @@
+ -DCLUTTER_DISABLE_DEPRECATED \
+ $(CLUTTER_GTK_DEBUG_CFLAGS)
+
++common_cflags = $(CLUTTER_CFLAGS) $(GTK_CFLAGS)
+
+ # please, keep these lists sorted alphabetically
+ sources_c = \
+@@ -311,7 +312,7 @@
+ libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_SOURCES = $(sources_c)
+ libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_LIBADD = $(CLUTTER_LIBS) $(GTK_LIBS)
+ libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_LDFLAGS = $(CLUTTER_LT_LDFLAGS)
+-libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_CFLAGS = $(MAINTAINER_CFLAGS) $(GTK_CFLAGS) $(CLUTTER_CFLAGS)
++libclutter_gtk_@CLUTTER_GTK_API_VERSION@_la_CFLAGS = $(common_cflags) $(MAINTAINER_CFLAGS)
+ cluttergtkheadersdir = $(includedir)/clutter-1.0/clutter-gtk
+ cluttergtkheaders_HEADERS = $(sources_h) $(srcdir)/clutter-gtk.h
+ @HAVE_INTROSPECTION_TRUE@BUILT_GIRSOURCES = GtkClutter-@CLUTTER_GTK_API_VERSION@.gir
+@@ -744,7 +745,7 @@
+ @HAVE_INTROSPECTION_TRUE@ $(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \
+ @HAVE_INTROSPECTION_TRUE@ --namespace GtkClutter --nsversion=@CLUTTER_GTK_API_VERSION@ \
+ @HAVE_INTROSPECTION_TRUE@ --strip-prefix=GtkClutter \
+-@HAVE_INTROSPECTION_TRUE@ $(INCLUDES) $(AM_CPPFLAGS) \
++@HAVE_INTROSPECTION_TRUE@ $(INCLUDES) $(AM_CPPFLAGS) $(common_cflags) \
+ @HAVE_INTROSPECTION_TRUE@ --add-include-path=$(srcdir) --add-include=path=. \
+ @HAVE_INTROSPECTION_TRUE@ --include=Clutter-1.0 \
+ @HAVE_INTROSPECTION_TRUE@ --include=GdkPixbuf-2.0 \