summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2005-06-26 02:03:45 +0000
committerMark Loeser <halcy0n@gentoo.org>2005-06-26 02:03:45 +0000
commit02386eae9151da280ce5409c048c17012ee1123a (patch)
tree27c98947718acbc49bd570a65e98a1c48ed02c8a /media-sound/timidity++/files
parentRemoved obsolete version and unused patches. (diff)
downloadhistorical-02386eae9151da280ce5409c048c17012ee1123a.tar.gz
historical-02386eae9151da280ce5409c048c17012ee1123a.tar.bz2
historical-02386eae9151da280ce5409c048c17012ee1123a.zip
gcc4 patch; bug #89933
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-sound/timidity++/files')
-rw-r--r--media-sound/timidity++/files/timidity++-2.13.2-gcc4.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-sound/timidity++/files/timidity++-2.13.2-gcc4.patch b/media-sound/timidity++/files/timidity++-2.13.2-gcc4.patch
new file mode 100644
index 000000000000..af0b5f8f7db0
--- /dev/null
+++ b/media-sound/timidity++/files/timidity++-2.13.2-gcc4.patch
@@ -0,0 +1,30 @@
+diff -ur TiMidity++-2.13.2-orig/interface/xaw_i.c TiMidity++-2.13.2/interface/xaw_i.c
+--- TiMidity++-2.13.2-orig/interface/xaw_i.c 2005-06-25 21:55:19.000000000 -0400
++++ TiMidity++-2.13.2/interface/xaw_i.c 2005-06-25 21:56:01.000000000 -0400
+@@ -261,7 +261,7 @@
+ String bitmapdir = XAW_BITMAP_DIR;
+ Boolean arrangetitle,savelist;
+ static char **current_flist = NULL;
+-static int voices = 0, last_voice = 0, voices_num_width;
++static int xaw_i_voices = 0, last_voice = 0, voices_num_width;
+ static int maxentry_on_a_menu = 0,submenu_n = 0;
+ #define OPTIONS_WINDOW 1
+ #define FLIST_WINDOW 2
+@@ -1329,7 +1329,7 @@
+ c= *(local_buf+1);
+ n= atoi(local_buf+2);
+ if(c == 'L')
+- voices = n;
++ xaw_i_voices = n;
+ else
+ last_voice = n;
+ if(IsTracePlaying()) drawVoices();
+@@ -2070,7 +2070,7 @@
+ XSetForeground(disp, gct, tracecolor);
+ XFillRectangle(disp,XtWindow(trace),gct,voices_num_width +4,
+ MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+1,VOICENUM_WIDTH,TRACE_FOOT);
+- sprintf(local_buf, "%3d/%d", last_voice, voices);
++ sprintf(local_buf, "%3d/%d", last_voice, xaw_i_voices);
+ XSetForeground(disp, gct, capcolor);
+ XDrawString(disp, XtWindow(trace),gct,voices_num_width+6,
+ MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+16,local_buf,strlen(local_buf));