boost-1.53.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --- avogadro-1.1.0/libavogadro/src/pythonengine_p.h~ 2013-03-29 12:46:16.306165881 +0000
  2. +++ avogadro-1.1.0/libavogadro/src/pythonengine_p.h 2013-03-29 12:45:43.123089622 +0000
  3. @@ -27,7 +27,9 @@
  4. #include <avogadro/global.h>
  5. #include <avogadro/engine.h>
  6. +#ifndef Q_MOC_RUN
  7. #include <boost/python.hpp>
  8. +#endif
  9. namespace Avogadro {
  10. --- avogadro-1.1.0/libavogadro/src/pythonextension_p.h~ 2013-03-29 12:46:32.156043085 +0000
  11. +++ avogadro-1.1.0/libavogadro/src/pythonextension_p.h 2013-03-29 12:47:07.265771087 +0000
  12. @@ -29,7 +29,9 @@
  13. #include <avogadro/extension.h>
  14. #include <avogadro/primitive.h>
  15. #include <avogadro/glwidget.h>
  16. +#ifndef Q_MOC_RUN
  17. #include <boost/python.hpp>
  18. +#endif
  19. #include <QWidget>
  20. #include <QList>
  21. --- avogadro-1.1.0/libavogadro/src/pythontool_p.h~ 2013-03-29 12:47:33.335569185 +0000
  22. +++ avogadro-1.1.0/libavogadro/src/pythontool_p.h 2013-03-29 12:47:50.732101147 +0000
  23. @@ -27,7 +27,9 @@
  24. #include <avogadro/global.h>
  25. #include <avogadro/tool.h>
  26. +#ifndef Q_MOC_RUN
  27. #include <boost/python.hpp>
  28. +#endif
  29. #include <QObject>
  30. #include <QAction>
  31. --- avogadro-1.1.0/libavogadro/src/pythoninterpreter.h~ 2013-03-29 12:50:46.550738652 +0000
  32. +++ avogadro-1.1.0/libavogadro/src/pythoninterpreter.h 2013-03-29 12:51:00.853961341 +0000
  33. @@ -26,7 +26,9 @@
  34. #define PYTHONINTERPRETER_H
  35. #include <avogadro/global.h>
  36. +#ifndef Q_MOC_RUN
  37. #include <boost/python.hpp>
  38. +#endif
  39. #include <avogadro/primitive.h>
  40. #include <QString>
  41. --- avogadro-1.1.0/libavogadro/src/pythonscript.h~ 2013-03-29 12:52:00.723488935 +0000
  42. +++ avogadro-1.1.0/libavogadro/src/pythonscript.h 2013-03-29 12:52:11.676745364 +0000
  43. @@ -27,7 +27,9 @@
  44. #define PYTHONSCRIPT_H
  45. #include <avogadro/global.h>
  46. +#ifndef Q_MOC_RUN
  47. #include <boost/python.hpp>
  48. +#endif
  49. #include "pythonerror.h"