[lua-torch-nn] 06/09: patch: refresh

Zhou Mo cdluminate-guest at moszumanska.debian.org
Mon Feb 6 04:27:12 UTC 2017


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

cdluminate-guest pushed a commit to branch master
in repository lua-torch-nn.

commit e8b0a957e56fb412f7439dd5441f1ed44e5a2fd6
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Mon Feb 6 04:09:04 2017 +0000

    patch: refresh
---
 debian/changelog                        | 1 +
 debian/patches/THNN-cmake-add-soversion | 6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0ee11e1..8600aa6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 lua-torch-nn (0~20170204-g3a1b725+dfsg-1) UNRELEASED; urgency=medium
 
   * Import upstream snapshot.
+  * Refresh patche: THNN-cmake-add-soversion.
 
  -- Zhou Mo <cdluminate at gmail.com>  Mon, 06 Feb 2017 04:01:46 +0000
 
diff --git a/debian/patches/THNN-cmake-add-soversion b/debian/patches/THNN-cmake-add-soversion
index 6418443..bf32fa9 100644
--- a/debian/patches/THNN-cmake-add-soversion
+++ b/debian/patches/THNN-cmake-add-soversion
@@ -1,10 +1,8 @@
 Purpose: tweak cmake build
 Forward: keep it here.
-diff --git a/lib/THNN/CMakeLists.txt b/lib/THNN/CMakeLists.txt
-index 33eaf56..1d13651 100644
 --- a/lib/THNN/CMakeLists.txt
 +++ b/lib/THNN/CMakeLists.txt
-@@ -60,7 +60,7 @@ ENDIF (WITH_OPENMP)
+@@ -61,7 +61,7 @@
  LINK_DIRECTORIES("${Torch_INSTALL_LIB}")
  
  SET(src init.c)
@@ -13,7 +11,7 @@ index 33eaf56..1d13651 100644
  INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
  ### Torch packages supposes libraries prefix is "lib"
  SET_TARGET_PROPERTIES(THNN PROPERTIES
-@@ -70,7 +70,7 @@ SET_TARGET_PROPERTIES(THNN PROPERTIES
+@@ -71,7 +71,7 @@
  TARGET_LINK_LIBRARIES(THNN ${TH_LIBRARIES})
  
  # Luarocks bug pre-14.04 prevents us from setting it for Lua-Torch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-nn.git



More information about the debian-science-commits mailing list