gnu: ncompress: Update to 4.2.4.6.

* gnu/packages/compression.scm (ncompress): Update to 4.2.4.6.
* gnu/packages/patches/ncompress-fix-softlinks.patch: Adjust.
This commit is contained in:
Tobias Geerinckx-Rice 2020-01-04 16:13:23 +01:00
parent 6925c85573
commit f38eabe952
No known key found for this signature in database
GPG key ID: D889B0F018C5493C
2 changed files with 7 additions and 6 deletions

View file

@ -10,7 +10,7 @@
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2016, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
@ -2091,7 +2091,7 @@ (define-public makeself-safeextract
(define-public ncompress
(package
(name "ncompress")
(version "4.2.4.5")
(version "4.2.4.6")
(source (origin
(method git-fetch)
(uri (git-reference
@ -2101,7 +2101,7 @@ (define-public ncompress
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0s3ik7k5a5vzcfiayhsxrc87drg3l425aqapspmw5py91b9jhc8r"))))
"1a4yir1ilafz0nzxdwigj204j4yy2zljbc501nsaqqm3dxdap8zn"))))
(arguments
'(#:make-flags (list "CC=gcc"
(string-append "BINDIR=" %output "/bin")

View file

@ -1,4 +1,5 @@
Patch taken from Debian sid.
Patch taken from Debian sid. Adapted to 4.2.4.6 for Guix by Tobias
Geerinckx-Rice <me@tobias.gr>.
Description: Support uncompressing and compressing soft links.
Historically, ncompress for Debian has been built using a command line
@ -17,8 +18,8 @@ Index: ncompress/GNUmakefile
Makefile: Makefile.def GNUmakefile
sed \
- -e 's:options= :options= $$(CFLAGS) -DNOFUNCDEF -DUTIME_H -DLSTAT $$(LDFLAGS) :' \
+ -e 's:options= :options= $$(CFLAGS) -DNOFUNCDEF -DUTIME_H $$(LDFLAGS) :' \
- -e 's:options= :options= -DUTIME_H -DLSTAT :' \
+ -e 's:options= :options= -DUTIME_H :' \
Makefile.def > Makefile
check: