guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: vsftpd: Fix build with recent OpenSSL.


From: guix-commits
Subject: 03/03: gnu: vsftpd: Fix build with recent OpenSSL.
Date: Sat, 16 Sep 2023 10:47:53 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 4c4ff2e1f077786d85c47ceeec10340a864e17f1
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 10 02:00:00 2023 +0200

    gnu: vsftpd: Fix build with recent OpenSSL.
    
    * gnu/packages/ftp.scm (vsftpd)[arguments]: Add 
"-Wno-deprecated-declarations"
    to CFLAGS.
    
    Reported by helioscultist in #guix.
---
 gnu/packages/code.scm | 2 +-
 gnu/packages/ftp.scm  | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index b716f32599..497b3bfd75 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -893,7 +893,7 @@ the C, C++, C++/CLI, Objective‑C, C#, and Java programming 
languages.")
 (define-public indent
   (package
    (name "indent")
-   (version "2.2.12")
+   (version "2.2.13")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/indent/indent-" version
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 5edbc412ea..80e346d658 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -266,6 +266,9 @@ directory comparison and more.")
     (arguments
      `(#:make-flags
        (list (string-append "CC=" ,(cc-for-target))
+             ;; Work around, e.g., “ssl.c:149:7: error: ‘EC_KEY_free’ is
+             ;; deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]”
+             "CFLAGS=-Wno-deprecated-declarations"
              ;; vsf_findlibs.sh looks only for hard-coded {/usr,}/lib file 
names
              ;; that will never exist on Guix.  Manage libraries ourselves.
              "LDFLAGS=-lcap -lpam"



reply via email to

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