mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.0 KiB

  1. Hotfix needed for new binutils (bug is in gcc)
  2. (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625)
  3. --- ./src/resid/wave.h.orig 2004-08-13 16:25:59.000000000 +0200
  4. +++ ./src/resid/wave.h 2004-08-13 16:28:16.000000000 +0200
  5. @@ -462,7 +462,6 @@
  6. // waveform output; however a switch with inline functions is faster.
  7. switch (waveform) {
  8. - default:
  9. case 0x0:
  10. return output____();
  11. case 0x1:
  12. @@ -471,6 +470,8 @@
  13. return output__S_();
  14. case 0x3:
  15. return output__ST();
  16. + }
  17. + switch (waveform) {
  18. case 0x4:
  19. return output_P__();
  20. case 0x5:
  21. @@ -479,6 +480,8 @@
  22. return output_PS_();
  23. case 0x7:
  24. return output_PST();
  25. + }
  26. + switch (waveform) {
  27. case 0x8:
  28. return outputN___();
  29. case 0x9:
  30. @@ -487,6 +490,8 @@
  31. return outputN_S_();
  32. case 0xb:
  33. return outputN_ST();
  34. + }
  35. + switch (waveform) {
  36. case 0xc:
  37. return outputNP__();
  38. case 0xd:
  39. @@ -496,6 +501,7 @@
  40. case 0xf:
  41. return outputNPST();
  42. }
  43. + return output____();
  44. }
  45. #endif // RESID_INLINING || defined(__WAVE_CC__)