[clfft] 01/03: d/p/0003*.patch: use less invasive patch

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat May 30 15:26:56 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository clfft.

commit 572fc24a154141eb042fff3cef132063c691d92e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat May 30 16:05:36 2015 +0100

    d/p/0003*.patch: use less invasive patch
---
 debian/patches/0003-fix-client-name.patch | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/debian/patches/0003-fix-client-name.patch b/debian/patches/0003-fix-client-name.patch
index 677bcf2..bdc449e 100644
--- a/debian/patches/0003-fix-client-name.patch
+++ b/debian/patches/0003-fix-client-name.patch
@@ -5,24 +5,12 @@ Forwarded: not-needed
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/src/client/CMakeLists.txt
 +++ b/src/client/CMakeLists.txt
-@@ -43,15 +43,15 @@
- # Include standard OpenCL headers
- include_directories( ${Boost_INCLUDE_DIRS} ${OPENCL_INCLUDE_DIRS} ../../../common ${PROJECT_BINARY_DIR}/include ../include )
+@@ -48,7 +48,7 @@
+ target_link_libraries( Client clFFT ${Boost_LIBRARIES} ${OPENCL_LIBRARIES} ${DL_LIB} )
  
--add_executable( Client ${Client.Files} )
-+add_executable( clFFT-client ${Client.Files} )
- 
--target_link_libraries( Client clFFT ${Boost_LIBRARIES} ${OPENCL_LIBRARIES} ${DL_LIB} )
-+target_link_libraries( clFFT-client clFFT ${Boost_LIBRARIES} ${OPENCL_LIBRARIES} ${DL_LIB} )
- 
--set_target_properties( Client PROPERTIES VERSION ${CLFFT_VERSION} )
+ set_target_properties( Client PROPERTIES VERSION ${CLFFT_VERSION} )
 -set_target_properties( Client PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" )
-+set_target_properties( clFFT-client PROPERTIES VERSION ${CLFFT_VERSION} )
-+set_target_properties( clFFT-client PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" )
++set_target_properties( Client PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" OUTPUT_NAME clFFT-client)
  
  # CPack configuration; include the executable into the package
--install( TARGETS Client
-+install( TARGETS clFFT-client
-         RUNTIME DESTINATION bin${SUFFIX_BIN}
-         LIBRARY DESTINATION lib${SUFFIX_LIB}
-         ARCHIVE DESTINATION lib${SUFFIX_LIB}/import
+ install( TARGETS Client

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



More information about the debian-science-commits mailing list