[caffe] 06/06: patch: fix upstream soversion

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat Jan 21 03:11:52 UTC 2017


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

cdluminate-guest pushed a commit to branch master
in repository caffe.

commit c4fcac2f8fbdff5e277fea866b2212c8b0e9bcb2
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sat Jan 21 03:11:06 2017 +0000

    patch: fix upstream soversion
---
 debian/changelog                                 |  1 +
 debian/patches/cmake-bump-soversion-to-rc4.patch | 24 ++++++++++++++++++++++++
 debian/patches/series                            |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3471c78..5e9ecd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ caffe (1.0.0~rc4-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Update URL for get-orig-source target in rules.
   * Bump debhelper compat to 10.
+  * Patch: add cmake-bump-soversion-to-rc4.patch to fix upstream soversion.
 
  -- Zhou Mo <cdluminate at gmail.com>  Sat, 21 Jan 2017 02:20:23 +0000
 
diff --git a/debian/patches/cmake-bump-soversion-to-rc4.patch b/debian/patches/cmake-bump-soversion-to-rc4.patch
new file mode 100644
index 0000000..825ef95
--- /dev/null
+++ b/debian/patches/cmake-bump-soversion-to-rc4.patch
@@ -0,0 +1,24 @@
+Description: fix soversion
+Forward: https://github.com/BVLC/caffe/pull/5207
+
+commit 135440371c7cb2932d5c1e8e671e0d2e231fd2cc
+Author: Zhou Mo <cdluminate at gmail.com>
+Date:   Sat Jan 21 03:06:38 2017 +0000
+
+    cmake: bump soversion to rc4
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3af394f7..15a7fe46 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,8 +10,8 @@ endif()
+ project(Caffe C CXX)
+ 
+ # ---[ Caffe version
+-set(CAFFE_TARGET_VERSION "1.0.0-rc3" CACHE STRING "Caffe logical version")
+-set(CAFFE_TARGET_SOVERSION "1.0.0-rc3" CACHE STRING "Caffe soname version")
++set(CAFFE_TARGET_VERSION "1.0.0-rc4" CACHE STRING "Caffe logical version")
++set(CAFFE_TARGET_SOVERSION "1.0.0-rc4" CACHE STRING "Caffe soname version")
+ add_definitions(-DCAFFE_VERSION=${CAFFE_TARGET_VERSION})
+ 
+ # ---[ Using cmake scripts and modules
diff --git a/debian/patches/series b/debian/patches/series
index 4478dbb..e58e8e2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ cmake-avoid-argument-missing
 fix-more-float-comparison-precision-issue
 fix-more-float-comparison-precision-issue2
 cmake-link-correct-python-lib.patch
+cmake-bump-soversion-to-rc4.patch

-- 
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