summaryrefslogtreecommitdiffstats
path: root/package/libgtk3/0002-fix-introspection-check.patch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2014-11-11 11:15:21 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-11 15:38:52 +0100
commit2e6ace7d12b6991fd04bcbe7678ecff1f34f94c3 (patch)
tree27c97e8fe625c7ba9089492b2430e154c09aa0e5 /package/libgtk3/0002-fix-introspection-check.patch
parentaf14211012ad318d05007267c2ebaa6b1cf5ad1d (diff)
downloadbuildroot-2e6ace7d12b6991fd04bcbe7678ecff1f34f94c3.tar.gz
buildroot-2e6ace7d12b6991fd04bcbe7678ecff1f34f94c3.zip
libgtk3: rename patches to follow the new name structure
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libgtk3/0002-fix-introspection-check.patch')
-rw-r--r--package/libgtk3/0002-fix-introspection-check.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/libgtk3/0002-fix-introspection-check.patch b/package/libgtk3/0002-fix-introspection-check.patch
new file mode 100644
index 0000000000..4c2806d819
--- /dev/null
+++ b/package/libgtk3/0002-fix-introspection-check.patch
@@ -0,0 +1,28 @@
+Fix HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
+
+During autoreconf GOBJECT_INTROSPECTION_CHECK could not be resolved because we
+don't have introspection which provides its custom m4 macro. Reconfigure fails
+with:
+
+gdk/Makefile.am:196: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
+gtk/Makefile.am:1347: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
+
+We avoid to add a copy of introspection.m4 in the m4 directory of libgtk3 by
+adding a check, as performed in Systemd.
+
+Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -1621,7 +1621,10 @@
+ # GObject introspection
+ ##################################################
+
+-GOBJECT_INTROSPECTION_CHECK(introspection_required_version)
++m4_ifdef([GOBJECT_INTROSPECTION_CHECK],
++ [GOBJECT_INTROSPECTION_CHECK(introspection_required_version)],
++ [AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
++ enable_introspection=no])
+
+ ##################################################
+ # colord module
OpenPOWER on IntegriCloud