aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/gnome-disk-utility/fix-freeze.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-12 15:00:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-12 15:33:50 +0000
commit0a515124202e12a6a65d0450248bfb837411eb9d (patch)
tree66a86bf0d4bce72eb0834ce6492adc9b7114ce6e /unmaintained/gnome-disk-utility/fix-freeze.patch
parenta7ea7825d6998994cb39a2395b709d99438c1a9a (diff)
downloadaports-0a515124202e12a6a65d0450248bfb837411eb9d.tar.bz2
aports-0a515124202e12a6a65d0450248bfb837411eb9d.tar.xz
unmaintained/gnome-disk-utility: move away
it has not been working for a while apparently
Diffstat (limited to 'unmaintained/gnome-disk-utility/fix-freeze.patch')
-rw-r--r--unmaintained/gnome-disk-utility/fix-freeze.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/unmaintained/gnome-disk-utility/fix-freeze.patch b/unmaintained/gnome-disk-utility/fix-freeze.patch
new file mode 100644
index 0000000000..262748bfb6
--- /dev/null
+++ b/unmaintained/gnome-disk-utility/fix-freeze.patch
@@ -0,0 +1,32 @@
+From 82489b51443e1280dfb9fb251ea2693df1809aec Mon Sep 17 00:00:00 2001
+From: Pascal Terjan <pterjan@mandriva.com>
+Date: Mon, 3 May 2010 14:01:22 +0200
+Subject: [PATCH] Force GduPresentable ids to be UTF-8 (#616198)
+
+GduPresentable created in gdu pool include intheir id some strings
+in local encoding like _("Peripheral Devices"). This patch
+enforces them to be UTF-8.
+
+This fixes a crash of gvfs-gdu-volume-monitor when USB devices are
+available on a non UTF-8 system.
+---
+ src/gdu/gdu-pool.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/src/gdu/gdu-pool.c b/src/gdu/gdu-pool.c
+index bd5eccf..cf6be53 100644
+--- a/src/gdu/gdu-pool.c
++++ b/src/gdu/gdu-pool.c
+@@ -473,6 +473,9 @@ gdu_pool_class_init (GduPoolClass *klass)
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ GDU_TYPE_PRESENTABLE);
++#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
++ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
++#endif
+ }
+
+ static void
+--
+1.7.1
+