From patchwork Mon Feb 25 09:49:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: gconf: add patch to remove '+' from invalid characters list Date: Mon, 25 Feb 2013 09:49:42 -0000 From: Laurentiu Palcu X-Patchwork-Id: 45031 Message-Id: <1361785782-31883-1-git-send-email-laurentiu.palcu@intel.com> To: openembedded-core@lists.openembedded.org This will allow gconftool-2 to run when configuration source addresses contain the '+' sign. [YOCTO #3893] Signed-off-by: Laurentiu Palcu --- .../remove_plus_from_invalid_characters_list.patch | 19 +++++++++++++++++++ meta/recipes-gnome/gnome/gconf_3.2.5.bb | 1 + 2 files changed, 20 insertions(+) create mode 100644 meta/recipes-gnome/gnome/gconf-3.2.5/remove_plus_from_invalid_characters_list.patch diff --git a/meta/recipes-gnome/gnome/gconf-3.2.5/remove_plus_from_invalid_characters_list.patch b/meta/recipes-gnome/gnome/gconf-3.2.5/remove_plus_from_invalid_characters_list.patch new file mode 100644 index 0000000..59a7ca7 --- /dev/null +++ b/meta/recipes-gnome/gnome/gconf-3.2.5/remove_plus_from_invalid_characters_list.patch @@ -0,0 +1,19 @@ +Upstream-Status: Pending + +Remove '+' from invalid characters list + +Signed-off-by: Laurentiu Palcu + +Index: GConf-3.2.5/gconf/gconf-backend.c +=================================================================== +--- GConf-3.2.5.orig/gconf/gconf-backend.c ++++ GConf-3.2.5/gconf/gconf-backend.c +@@ -37,7 +37,7 @@ static const char invalid_chars[] = + /* Space is common in user names (and thus home directories) on Windows */ + " " + #endif +- "\t\r\n\"$&<>,+=#!()'|{}[]?~`;%\\"; ++ "\t\r\n\"$&<>,=#!()'|{}[]?~`;%\\"; + + static gboolean + gconf_address_valid (const char *address, diff --git a/meta/recipes-gnome/gnome/gconf_3.2.5.bb b/meta/recipes-gnome/gnome/gconf_3.2.5.bb index c80c0b0..abdf151 100644 --- a/meta/recipes-gnome/gnome/gconf_3.2.5.bb +++ b/meta/recipes-gnome/gnome/gconf_3.2.5.bb @@ -15,6 +15,7 @@ inherit gnomebase gtk-doc SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ file://obsolete_automake_macros.patch \ + file://remove_plus_from_invalid_characters_list.patch \ " S = "${WORKDIR}/GConf-${PV}"