atk: hack around configure problem
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 3 Oct 2014 00:48:25 +0000 (03:48 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 3 Oct 2014 00:48:25 +0000 (03:48 +0300)
GNOME_COMPILE_WARNINGS(maximum)?
why not a problem for native?

recipes/atk/atk-2.8.0/no_gnome_warnings_maximum.patch [new file with mode: 0644]
recipes/atk/atk_2.8.0.bb

diff --git a/recipes/atk/atk-2.8.0/no_gnome_warnings_maximum.patch b/recipes/atk/atk-2.8.0/no_gnome_warnings_maximum.patch
new file mode 100644 (file)
index 0000000..f83c42f
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur atk-2.8.0_/configure.ac atk-2.8.0/configure.ac
+--- atk-2.8.0_/configure.ac    2014-10-03 03:29:39.208601084 +0300
++++ atk-2.8.0/configure.ac     2014-10-03 03:29:50.448108877 +0300
+@@ -215,7 +215,7 @@
+ fi
+ AC_SUBST(REBUILD)
+-GNOME_COMPILE_WARNINGS([maximum])
++# GNOME_COMPILE_WARNINGS([maximum])
+ AC_CONFIG_FILES([
+ Makefile
index 17f0e1a..53b96f3 100644 (file)
@@ -12,7 +12,9 @@ DEPENDS = "glib-2.0"
 
 inherit autotools gtk-doc pkgconfig
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/2.8/${BPN}-${PV}.tar.xz"
+SRC_URI = "${GNOME_MIRROR}/${BPN}/2.8/${BPN}-${PV}.tar.xz \
+          file://no_gnome_warnings_maximum.patch;patch=1 \
+         "
 SRC_URI[md5sum] = "c652bd25530825d604dae1c1ebd2da02"
 SRC_URI[sha256sum] = "b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4"