guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27892] [PATCH] gnu: libgit2: Enable SHA-1 collision detection.


From: Leo Famulari
Subject: [bug#27892] [PATCH] gnu: libgit2: Enable SHA-1 collision detection.
Date: Mon, 31 Jul 2017 19:01:18 -0400

* gnu/packages/version-control.scm (libgit2)[arguments]: Enable '-DUSE_SHA1DC'
in #:configure-flags.
---
 gnu/packages/version-control.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index bc4242fc1..9667b2f3e 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -347,7 +347,8 @@ everything from small to very large projects with speed and 
efficiency.")
     (build-system cmake-build-system)
     (outputs '("out" "debug"))
     (arguments
-     `(#:phases
+     `(#:configure-flags '("-DUSE_SHA1DC=ON") ; SHA-1 collision detection
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-hardcoded-paths
            (lambda _
-- 
2.13.3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]