File: 2000_boost_python_workaround.patch

package info (click to toggle)
python-visual 1%3A5.12-1.5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,708 kB
  • sloc: cpp: 15,593; sh: 9,615; ansic: 6,631; python: 4,737; makefile: 385
file content (17 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Origin: 2000_boost_python_workaround.patch

This seems to be a Boost.Python bug.  The following
patch works around it.


diff -u -r orig/python-visual-5.12/src/python/cvisualmodule.cpp python-visual-5.12/src/python/cvisualmodule.cpp
--- orig/python-visual-5.12/src/python/cvisualmodule.cpp	2009-05-11 22:49:06.000000000 -0500
+++ python-visual-5.12/src/python/cvisualmodule.cpp	2009-12-06 22:49:30.000000000 -0600
@@ -9,6 +9,7 @@
 #include <exception>
 #include <iostream>
 
+#include <boost/type_traits/add_reference.hpp>
 #include <boost/python/exception_translator.hpp>
 #include <boost/python/module.hpp>
 #include <boost/python/numeric.hpp>