guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a2cfd460817c61995f1b7fb4ca561d4844879d42
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Tue Mar 10 21:42:54 2026 +0100
gnu: stiff: Fix build by using CFLAGS=-fcommon.
* gnu/packages/image-processing.scm (stiff): Fix build.
[source]: Switch to git-fetch.
[arguments]<#:configure-flags>: Add CFLAGS=-fcommon.
[home-page]: Update redirect.
Merges: https://codeberg.org/guix/guix/pulls/7035
Change-Id: I344650f0b4b03a2101c790e483ff9afc54b4065c
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/image-processing.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index 86962a6978..33b559d9b6 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -2009,15 +2009,20 @@ Python and R interfaces.")
(version "2.4.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://www.astromatic.net/download/stiff/stiff-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/astromatic/stiff")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "14m92dskzw7bwsr64ha4p0mj3ndv13gwcbfic3qxrs3zq5353s7l"))))
+ (base32 "1iffrncag1w6nd9c6v3dlx9m79nfg6ph42i0gsvlq8pvjph7s6pa"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags
+ #~(list "CFLAGS=-fcommon")))
(inputs
(list libtiff zlib libjpeg-turbo))
- (home-page "https://www.astromatic.net/software/stiff")
+ (home-page "https://www.astromatic.net/software/stiff/")
(synopsis "Convert scientific FITS images to TIFF format")
(description
"STIFF is a program that converts scientific @acronym{FITS, Flexible Image