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.

53 lines
2.3 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/kde/koffice/hotfix-binutils-gcc.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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. --- ./kchart/kdchart/KDChartEnums.h.orig 2004-08-13 14:23:43.000000000 +0200
  22. +++ ./kchart/kdchart/KDChartEnums.h 2004-08-13 14:24:41.000000000 +0200
  23. @@ -279,22 +279,25 @@
  24. return "TopCenter";
  25. case PosTopRight:
  26. return "TopRight";
  27. + }
  28. + switch( type ) {
  29. case PosCenterLeft:
  30. return "CenterLeft";
  31. case PosCenter:
  32. return "Center";
  33. case PosCenterRight:
  34. return "CenterRight";
  35. + }
  36. + switch( type ) {
  37. case PosBottomLeft:
  38. return "BottomLeft";
  39. case PosBottomCenter:
  40. return "BottomCenter";
  41. case PosBottomRight:
  42. return "BottomRight";
  43. - default: // should not happen
  44. - qDebug( "Unknown content position" );
  45. - return "TopLeft";
  46. }
  47. + qDebug( "Unknown content position" );
  48. + return "TopLeft";
  49. }