summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-06-16 15:31:00 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-06-16 15:31:00 +0000
commit3d34b4a3a56e169d807ad364f0ede09e8f6e16d9 (patch)
tree04f103b9ca0af34e74002130a16ea2335fa76a36 /net-misc/d4x/files
parentDepend on more recent mozilla-launcher that supports -a programname for -bin ... (diff)
downloadgentoo-2-3d34b4a3a56e169d807ad364f0ede09e8f6e16d9.tar.gz
gentoo-2-3d34b4a3a56e169d807ad364f0ede09e8f6e16d9.tar.bz2
gentoo-2-3d34b4a3a56e169d807ad364f0ede09e8f6e16d9.zip
Fix missing cast that is fatal with newer gcc.
Diffstat (limited to 'net-misc/d4x/files')
-rw-r--r--net-misc/d4x/files/d4x-2.5.0_rc4-fix-cast.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-misc/d4x/files/d4x-2.5.0_rc4-fix-cast.patch b/net-misc/d4x/files/d4x-2.5.0_rc4-fix-cast.patch
new file mode 100644
index 000000000000..9d04511f0cd0
--- /dev/null
+++ b/net-misc/d4x/files/d4x-2.5.0_rc4-fix-cast.patch
@@ -0,0 +1,10 @@
+--- d4x-2.5.0rc4/main/face/misc.cc.orig 2004-06-16 14:49:59.235168784 +0200
++++ d4x-2.5.0rc4/main/face/misc.cc 2004-06-16 14:55:39.809393632 +0200
+@@ -329,5 +329,6 @@
+ };
+
+ gchar *d4x_menu_translate_func(const gchar *label,gpointer data){
+- return _(label);
++ gchar *retval = (gchar *)label;
++ return _(retval);
+ };