[Debian-astro-commits] [gyoto] 190/221: Python: support building without boost

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Fri May 22 20:52:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to branch master
in repository gyoto.

commit 9832ccbf6af0d53a050ff0b9cac8cdcce458c2cd
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date:   Mon Jan 12 15:05:57 2015 +0100

    Python: support building without boost
---
 python/gyoto.i        | 4 ----
 python/gyoto_lorene.i | 1 +
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/python/gyoto.i b/python/gyoto.i
index 8defd1c..c6cb4d5 100644
--- a/python/gyoto.i
+++ b/python/gyoto.i
@@ -414,13 +414,9 @@ enum CoordType_e;
 #ifdef HAVE_BOOST
 namespace boost {
 template <typename T, size_t sz> class array {
-#else
-template <typename T, size_t sz> class GYOTO_ARRAY {
-#endif
  public:
     T& operator[](size_t c) { return buf[c] ; }
   };
-#ifdef HAVE_BOOST
 }
 #endif
 %extend GYOTO_ARRAY {
diff --git a/python/gyoto_lorene.i b/python/gyoto_lorene.i
index a9771f8..501c575 100644
--- a/python/gyoto_lorene.i
+++ b/python/gyoto_lorene.i
@@ -13,6 +13,7 @@
 #include "GyotoScenery.h"
 #include "GyotoSpectrometer.h"
 #include "GyotoComplexSpectrometer.h"
+#include "GyotoUniformSpectrometer.h"
 #include "GyotoValue.h"
 #include "GyotoThinDisk.h"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/gyoto.git



More information about the Debian-astro-commits mailing list