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.

34 lines
1.4 KiB

  1. Hotfix needed for new binutils (bug is in gcc)
  2. (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625)
  3. --- ./kchart/kdchart/KDChartEnums.h.orig 2004-08-13 14:23:43.000000000 +0200
  4. +++ ./kchart/kdchart/KDChartEnums.h 2004-08-13 14:24:41.000000000 +0200
  5. @@ -279,22 +279,25 @@
  6. return "TopCenter";
  7. case PosTopRight:
  8. return "TopRight";
  9. + }
  10. + switch( type ) {
  11. case PosCenterLeft:
  12. return "CenterLeft";
  13. case PosCenter:
  14. return "Center";
  15. case PosCenterRight:
  16. return "CenterRight";
  17. + }
  18. + switch( type ) {
  19. case PosBottomLeft:
  20. return "BottomLeft";
  21. case PosBottomCenter:
  22. return "BottomCenter";
  23. case PosBottomRight:
  24. return "BottomRight";
  25. - default: // should not happen
  26. - qDebug( "Unknown content position" );
  27. - return "TopLeft";
  28. }
  29. + qDebug( "Unknown content position" );
  30. + return "TopLeft";
  31. }