summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2026-03-10 21:42:54 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-13 12:25:50 +0000
commita2cfd460817c61995f1b7fb4ca561d4844879d42 (patch)
tree99a3f7f0d121f6dffaa173d920a17e5bf46e96ab /gnu/packages
parent1a3f2eebcb1278b1295533c27f9e669f52b8311d (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/image-processing.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 86962a69781..33b559d9b67 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