diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-05-16 18:50:38 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-21 12:45:49 +0200 |
| commit | cf4e3bbfe3c4d5fe4de02cad2501c73c3fcc6ac9 (patch) | |
| tree | f6c584657d9c371eaae325fbce9a5287c174957b | |
| parent | 600ee3b8b70c36ac8a6bdf0cb417320635f66d9d (diff) | |
| download | meta-openembedded-cf4e3bbfe3c4d5fe4de02cad2501c73c3fcc6ac9.tar.gz | |
gtkhtml2: fix build with glib 2.36
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch | 32 | ||||
| -rw-r--r-- | meta-oe/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb | 3 |
2 files changed, 34 insertions, 1 deletions
diff --git a/meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch b/meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch new file mode 100644 index 0000000000..b3eb3960c1 --- /dev/null +++ b/meta-oe/recipes-gnome/gtkhtml2/files/0001-tests-main.c-fix-build-with-glib-2.36.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 4b17eed4b8588569d11ec4bd2b6fa3c063830e6e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Thu, 16 May 2013 18:44:50 +0200 | ||
| 4 | Subject: [PATCH] tests/main.c: fix build with glib 2.36 | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Upstream-Status: project seems dead | ||
| 10 | |||
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 12 | --- | ||
| 13 | tests/main.c | 2 ++ | ||
| 14 | 1 files changed, 2 insertions(+), 0 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/tests/main.c b/tests/main.c | ||
| 17 | index 61cce82..18165ed 100644 | ||
| 18 | --- a/tests/main.c | ||
| 19 | +++ b/tests/main.c | ||
| 20 | @@ -30,7 +30,9 @@ main (gint argc, gchar **argv) | ||
| 21 | { | ||
| 22 | GtkWidget *browser; | ||
| 23 | |||
| 24 | +#if !GLIB_CHECK_VERSION (2, 36, 0) | ||
| 25 | g_thread_init(NULL); | ||
| 26 | +#endif | ||
| 27 | |||
| 28 | gtk_init (&argc, &argv); | ||
| 29 | |||
| 30 | -- | ||
| 31 | 1.7.6.5 | ||
| 32 | |||
diff --git a/meta-oe/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb b/meta-oe/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb index 8e9df16be1..58d41eefd8 100644 --- a/meta-oe/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb +++ b/meta-oe/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605" | |||
| 6 | 6 | ||
| 7 | SRCREV = "1161" | 7 | SRCREV = "1161" |
| 8 | PV = "2.11.0+svnr${SRCPV}" | 8 | PV = "2.11.0+svnr${SRCPV}" |
| 9 | PR = "r4" | 9 | PR = "r5" |
| 10 | 10 | ||
| 11 | SRC_URI = "svn://svn.gnome.org/svn/gtkhtml2/;module=trunk;protocol=http \ | 11 | SRC_URI = "svn://svn.gnome.org/svn/gtkhtml2/;module=trunk;protocol=http \ |
| 12 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/css-stylesheet-user.patch;striplevel=0;name=patch2 \ | 12 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/css-stylesheet-user.patch;striplevel=0;name=patch2 \ |
| @@ -14,6 +14,7 @@ SRC_URI = "svn://svn.gnome.org/svn/gtkhtml2/;module=trunk;protocol=http \ | |||
| 14 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/add-end-element-signal.patch;striplevel=0;name=patch4 \ | 14 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/add-end-element-signal.patch;striplevel=0;name=patch4 \ |
| 15 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/add-dom-functions.patch;striplevel=0;name=patch5 \ | 15 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/add-dom-functions.patch;striplevel=0;name=patch5 \ |
| 16 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/iain-mem-leak.patch;striplevel=0;name=patch6 \ | 16 | http://git.yoctoproject.org/cgit/cgit.cgi/web-patches/plain/iain-mem-leak.patch;striplevel=0;name=patch6 \ |
| 17 | file://0001-tests-main.c-fix-build-with-glib-2.36.patch \ | ||
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | SRC_URI[patch2.md5sum] = "05fc3627ca364095702dc804f41c8391" | 20 | SRC_URI[patch2.md5sum] = "05fc3627ca364095702dc804f41c8391" |
