summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/orpheus/files/1.5-gcc34.patch')
-rw-r--r--media-sound/orpheus/files/1.5-gcc34.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/media-sound/orpheus/files/1.5-gcc34.patch b/media-sound/orpheus/files/1.5-gcc34.patch
deleted file mode 100644
index fbbe3d900664..000000000000
--- a/media-sound/orpheus/files/1.5-gcc34.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -Naur old/src/mixerctl.cc new/src/mixerctl.cc
---- old/src/mixerctl.cc 2004-09-04 02:44:12.797543753 +0200
-+++ new/src/mixerctl.cc 2004-09-04 02:44:47.889365170 +0200
-@@ -50,7 +50,7 @@
-
- if((fd = ::open(devname.c_str(), O_RDWR)) != -1) {
- if(ioctl(fd, SOUND_MIXER_READ_DEVMASK, &devmask) != -1) {
-- for(ct = ctVolume; ct != channeltype_end; (int) ct += 1) {
-+ for(ct = ctVolume; ct != channeltype_end; ct = (mixerctl::channeltype) (ct + 1)) {
- if((1 << (int) ct) & devmask) {
- channels.insert(ct);
- }
-diff -Naur old/src/uitext.cc new/src/uitext.cc
---- old/src/uitext.cc 2004-09-04 03:36:50.928930920 +0200
-+++ new/src/uitext.cc 2004-09-04 03:45:23.183056456 +0200
-@@ -577,14 +577,16 @@
- autosavepl = !autosavepl;
- break;
- case 41:
-- if(++((int) playmode) == PlayMode_size)
-+ playmode = (PlayMode) (playmode + 1);
-+ if(playmode == PlayMode_size)
- playmode = Normal;
- break;
- case 42:
- autoplay = !autoplay;
- break;
- case 43:
-- if(++((int) sortorder) == SortOrder_size)
-+ sortorder = (SortOrder) (sortorder + 1);
-+ if(sortorder == SortOrder_size)
- sortorder = byFileName;
- break;
- case 44:
-@@ -719,7 +721,7 @@
- while(!finished) {
- m.clear();
-
-- for(ct = mixerctl::ctVolume; ct != mixerctl::channeltype_end; (int) ct += 1) {
-+ for(ct = mixerctl::ctVolume; ct != mixerctl::channeltype_end; ct = (mixerctl::channeltype) (ct + 1)) {
- if(chavail.count(ct)) {
- val = mix.readlevel(ct);
- if(val >= 0) {