summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-gnome/recipes-gnome/libgnome/libgnome/05_fix_invalid_utf8.patch26
-rw-r--r--meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb4
2 files changed, 29 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/libgnome/libgnome/05_fix_invalid_utf8.patch b/meta-gnome/recipes-gnome/libgnome/libgnome/05_fix_invalid_utf8.patch
new file mode 100644
index 000000000..cd90b8ed9
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libgnome/libgnome/05_fix_invalid_utf8.patch
@@ -0,0 +1,26 @@
1From 33313713c4f5c1de500859ff128d6fd7e3af5722 Mon Sep 17 00:00:00 2001
2From: Colin Walters <walters@verbum.org>
3Date: Mon, 7 Aug 2017 12:57:43 -0400
4Subject: gnome-config.h: Fix invalid UTF-8 in header
5
6This breaks the new Python `glib-mkenums`.
7---
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11 libgnome/gnome-config.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/libgnome/gnome-config.h b/libgnome/gnome-config.h
15index 0c3dfe6..b9d659d 100644
16--- a/libgnome/gnome-config.h
17+++ b/libgnome/gnome-config.h
18@@ -270,7 +270,7 @@ void gnome_config_clean_key_ (const char *path, gboolean priv);
19 #define gnome_config_private_clean_key(path) \
20 (gnome_config_clean_key_((path),TRUE))
21
22-/* returns the true filename of the config file */
23+/* returns the true filename of the config file */
24 #define gnome_config_get_real_path(path) \
25 (g_build_filename (gnome_user_dir_get(),(path),NULL))
26 #define gnome_config_private_get_real_path(path) \
diff --git a/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb b/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb
index 0055ba4a3..94fcf2e8c 100644
--- a/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb
@@ -9,7 +9,9 @@ PR = "r2"
9 9
10SRC_URI[archive.md5sum] = "a4345e6087ae6195d65a4674ffdca559" 10SRC_URI[archive.md5sum] = "a4345e6087ae6195d65a4674ffdca559"
11SRC_URI[archive.sha256sum] = "b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4" 11SRC_URI[archive.sha256sum] = "b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4"
12SRC_URI += "file://0001-libgnome-Makefile.am-allow-deprecated-symbols.patch" 12SRC_URI += "file://0001-libgnome-Makefile.am-allow-deprecated-symbols.patch \
13 file://05_fix_invalid_utf8.patch \
14"
13GNOME_COMPRESS_TYPE="bz2" 15GNOME_COMPRESS_TYPE="bz2"
14 16
15DEPENDS += "libcanberra gconf-native gnome-vfs libbonobo esound intltool-native gnome-common-native" 17DEPENDS += "libcanberra gconf-native gnome-vfs libbonobo esound intltool-native gnome-common-native"