[caffe] 179/249: dquilt: add patch workaround-switch-to-boost_python-py34.patch
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Tue Mar 8 14:51:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch debian/experimental
in repository caffe.
commit 5c5da65b0087913af73881e9847131401cac676a
Author: Zhou Mo <cdluminate at gmail.com>
Date: Wed Sep 2 06:59:20 2015 +0000
dquilt: add patch workaround-switch-to-boost_python-py34.patch
---
debian/patches/series | 1 +
debian/patches/workaround-switch-to-boost_python-py34.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 851b862..7294138 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+workaround-switch-to-boost_python-py34.patch
fix-cmake-add-target-property-version-soversion.patch
00-fix-include-path-for-debian.patch
01-fix-makefile-rpath-and-soname.patch
diff --git a/debian/patches/workaround-switch-to-boost_python-py34.patch b/debian/patches/workaround-switch-to-boost_python-py34.patch
new file mode 100644
index 0000000..5ec5b10
--- /dev/null
+++ b/debian/patches/workaround-switch-to-boost_python-py34.patch
@@ -0,0 +1,11 @@
+--- a/cmake/Dependencies.cmake
++++ b/cmake/Dependencies.cmake
+@@ -131,7 +131,7 @@
+ if(BUILD_python_layer)
+ add_definitions(-DWITH_PYTHON_LAYER)
+ include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS} ${NUMPY_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
+- list(APPEND Caffe_LINKER_LIBS ${PYTHON_LIBRARIES} ${Boost_LIBRARIES})
++ list(APPEND Caffe_LINKER_LIBS ${PYTHON_LIBRARIES} "boost_python-py34")
+ endif()
+ endif()
+ endif()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git
More information about the debian-science-commits
mailing list