From e6d83b1607ebb54471ff9860d096e166de02a7c3 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 9 Mar 2025 18:26:50 +0100 Subject: [PATCH] gnu: minizip: Remove phase 'remove-crypt-h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit During the update of glibc from 2.35 to 2.39, the crypt.h header has been removed from glibc's include path. Packages depending on this header from minizip have no access to it anymore. Remove this phase. * gnu/packages/compression.scm (minizip)[arguments]{phases}: Delete 'remove-crypt-h phase. Change-Id: I645f3f2e2aac821faa02dd4642071a983185cabf Signed-off-by: Ludovic Courtès --- gnu/packages/compression.scm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 9dc784a8f63..09fba0deabf 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -183,16 +183,7 @@ in compression.") `(#:phases (modify-phases %standard-phases (add-after 'unpack 'enter-source - (lambda _ (chdir "contrib/minizip") #t)) - (add-after 'install 'remove-crypt-h - (lambda* (#:key outputs #:allow-other-keys) - ;; Remove because it interferes with libc's - ;; given that 'minizip.pc' says "-I…/include/minizip". - ;; Fedora does the same: - ;; . - (let ((out (assoc-ref outputs "out"))) - (delete-file (string-append out "/include/minizip/crypt.h")) - #t)))))) + (lambda _ (chdir "contrib/minizip")))))) (native-inputs (list autoconf automake libtool)) (propagated-inputs (list zlib))