Source: dashel Version: 1.3.3-3 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that dashel could not be built reproducibly. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2018-02-13 10:07:25.209962694 +0000 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2018-02-13 + +--- dashel-1.3.3.orig/dashelConfig.cmake.in ++++ dashel-1.3.3/dashelConfig.cmake.in +@@ -42,8 +42,6 @@ else (WIN32) + endif (WIN32) + + # Standard search +-find_path(dashel_INCLUDE_DIRS dashel/dashel.h @PROJECT_SOURCE_DIR@ CMAKE_FIND_ROOT_PATH_BOTH) +-find_library(dashel_LIBRARY dashel @PROJECT_BINARY_DIR@ CMAKE_FIND_ROOT_PATH_BOTH) + set(dashel_LIBRARIES ${dashel_LIBRARY} ${EXTRA_LIBS}) + include(FindPackageHandleStandardArgs) + find_package_handle_standard_args(dashel DEFAULT_MSG dashel_LIBRARIES dashel_INCLUDE_DIRS) --- a/debian/patches/series 2018-02-13 09:44:22.104092658 +0000 --- b/debian/patches/series 2018-02-13 10:07:24.237960278 +0000 @@ -1 +1,2 @@ dashel-posix.cpp.patch +reproducible-build.patch