OpenSDE Packages Database (without history before r20070)
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.

41 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../blitz/gcc43.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Fix compiling issue with gcc >= gcc 4.3
  17. diff -ruN blitz-0.6-orig/blitz/funcs.h blitz-0.6/blitz/funcs.h
  18. --- blitz-0.6-orig/blitz/funcs.h 2002-07-02 21:01:07.000000000 +0200
  19. +++ blitz-0.6/blitz/funcs.h 2010-08-25 09:58:16.552003947 +0200
  20. @@ -44,6 +44,8 @@
  21. #include <blitz/prettyprint.h>
  22. #endif
  23. +#include <cstdlib>
  24. +
  25. BZ_NAMESPACE(blitz)
  26. /* Helper functions */
  27. diff -ruN blitz-0.6-orig/blitz/prettyprint.h blitz-0.6/blitz/prettyprint.h
  28. --- blitz-0.6-orig/blitz/prettyprint.h 2001-01-24 21:22:50.000000000 +0100
  29. +++ blitz-0.6/blitz/prettyprint.h 2010-08-25 09:59:10.104007016 +0200
  30. @@ -38,6 +38,8 @@
  31. #ifndef BZ_PRETTYPRINT_H
  32. #define BZ_PRETTYPRINT_H
  33. +#include <cstdlib>
  34. +
  35. BZ_NAMESPACE(blitz)
  36. class prettyPrintFormat {