summaryrefslogtreecommitdiff
path: root/media-sound/gamix/files/gamix-vlabel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/gamix/files/gamix-vlabel.patch')
-rw-r--r--media-sound/gamix/files/gamix-vlabel.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-sound/gamix/files/gamix-vlabel.patch b/media-sound/gamix/files/gamix-vlabel.patch
new file mode 100644
index 0000000..613cdb4
--- /dev/null
+++ b/media-sound/gamix/files/gamix-vlabel.patch
@@ -0,0 +1,25 @@
+diff -ru gamix-1.99.p14/gamix2/conf_w.c gamix-1.99.p15/gamix2/conf_w.c
+--- gamix-1.99.p14/gamix2/conf_w.c 2003-05-13 17:31:02.000000000 +0200
++++ gamix-1.99.p15/gamix2/conf_w.c 2008-07-08 22:11:28.000000000 +0200
+@@ -66,6 +66,7 @@
+ static int c_idlv=0;
+ #endif
+
++#ifdef BROKEN_VLABEL
+ GtkWidget *gtk_vlabel(const gchar *str) {
+ #if GTK_CHECK_VERSION(2,0,0)
+ PangoLayout *layout;
+@@ -200,6 +201,13 @@
+ gdk_gc_destroy(gc1);
+ return pm;
+ }
++#else
++GtkWidget *gtk_vlabel(const gchar *str) {
++ GtkWidget* label=gtk_label_new(str);
++ gtk_label_set_angle(label,270);
++ return label;
++}
++#endif
+
+ static void close_win(GtkWidget *w,gpointer data) {
+ gtk_grab_remove(c_win);