aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-09-10 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-09-10 02:00:00 +0200
commit4c4ff2e1f077786d85c47ceeec10340a864e17f1 (patch)
treea7a9be8c91c9ba770a646689a72ddee5e5910b19
parent39db6489e8e7a6dc0e37c1d23345753a5cdf5cab (diff)
downloadguix-4c4ff2e1f077786d85c47ceeec10340a864e17f1.tar.gz
guix-4c4ff2e1f077786d85c47ceeec10340a864e17f1.zip
gnu: vsftpd: Fix build with recent OpenSSL.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Add "-Wno-deprecated-declarations" to CFLAGS. Reported by helioscultist in #guix.
-rw-r--r--gnu/packages/code.scm2
-rw-r--r--gnu/packages/ftp.scm3
2 files changed, 4 insertions, 1 deletions
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"