gnu: vsftpd: Fix build with recent OpenSSL.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Add "-Wno-deprecated-declarations" to CFLAGS. Reported by helioscultist in #guix.
This commit is contained in:
parent
39db6489e8
commit
4c4ff2e1f0
2 changed files with 4 additions and 1 deletions
|
@ -893,7 +893,7 @@ the C, C++, C++/CLI, Objective‑C, C#, and Java programming languages.")
|
||||||
(define-public indent
|
(define-public indent
|
||||||
(package
|
(package
|
||||||
(name "indent")
|
(name "indent")
|
||||||
(version "2.2.12")
|
(version "2.2.13")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/indent/indent-" version
|
(uri (string-append "mirror://gnu/indent/indent-" version
|
||||||
|
|
|
@ -266,6 +266,9 @@ directory comparison and more.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(list (string-append "CC=" ,(cc-for-target))
|
(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
|
;; vsf_findlibs.sh looks only for hard-coded {/usr,}/lib file names
|
||||||
;; that will never exist on Guix. Manage libraries ourselves.
|
;; that will never exist on Guix. Manage libraries ourselves.
|
||||||
"LDFLAGS=-lcap -lpam"
|
"LDFLAGS=-lcap -lpam"
|
||||||
|
|
Reference in a new issue