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.

67 lines
1.9 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/misc/vice/hotfix-binutils-gcc.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Hotfix needed for new binutils (bug is in gcc)
  20. (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625)
  21. --- ./src/resid/wave.h.orig 2004-08-13 16:25:59.000000000 +0200
  22. +++ ./src/resid/wave.h 2004-08-13 16:28:16.000000000 +0200
  23. @@ -462,7 +462,6 @@
  24. // waveform output; however a switch with inline functions is faster.
  25. switch (waveform) {
  26. - default:
  27. case 0x0:
  28. return output____();
  29. case 0x1:
  30. @@ -471,6 +470,8 @@
  31. return output__S_();
  32. case 0x3:
  33. return output__ST();
  34. + }
  35. + switch (waveform) {
  36. case 0x4:
  37. return output_P__();
  38. case 0x5:
  39. @@ -479,6 +480,8 @@
  40. return output_PS_();
  41. case 0x7:
  42. return output_PST();
  43. + }
  44. + switch (waveform) {
  45. case 0x8:
  46. return outputN___();
  47. case 0x9:
  48. @@ -487,6 +490,8 @@
  49. return outputN_S_();
  50. case 0xb:
  51. return outputN_ST();
  52. + }
  53. + switch (waveform) {
  54. case 0xc:
  55. return outputNP__();
  56. case 0xd:
  57. @@ -496,6 +501,7 @@
  58. case 0xf:
  59. return outputNPST();
  60. }
  61. + return output____();
  62. }
  63. #endif // RESID_INLINING || defined(__WAVE_CC__)