aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorEric Bavier <bavier@posteo.net>2024-04-30 16:07:16 -0500
committerEric Bavier <bavier@posteo.net>2024-04-30 22:03:39 -0500
commiteed1c0adb03d5fb3f0534fcea8f80aa708d5e084 (patch)
tree00a892dfa02b2b5455668c714ed740a41e92e17c /gnu/packages/patches
parent8bf41c80ef13ea57e834f4e23d649bd99a3e08fc (diff)
downloadguix-eed1c0adb03d5fb3f0534fcea8f80aa708d5e084.tar
guix-eed1c0adb03d5fb3f0534fcea8f80aa708d5e084.tar.gz
gnu: nickle: Update to 2.97.
* gnu/packages/patches/nickle-man-release-date.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/patches/nickle-man-release-date.patch (nickle): Update to 2.97. [source]: Use patch. [native-inputs]: Remove field. [inputs]: Add readline. Change-Id: Id33d121e9eea9e3124b8891c60047b3943711ade
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/nickle-man-release-date.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/patches/nickle-man-release-date.patch b/gnu/packages/patches/nickle-man-release-date.patch
new file mode 100644
index 0000000000..29f50f2b85
--- /dev/null
+++ b/gnu/packages/patches/nickle-man-release-date.patch
@@ -0,0 +1,41 @@
+Submitted close to upstream at
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070162
+
+From 95ff7e9de4ed815e060b1df59b5b2b105307e0d7 Mon Sep 17 00:00:00 2001
+From: Eric Bavier <bavier@posteo.net>
+Date: Mon, 29 Apr 2024 23:34:15 -0500
+Subject: [PATCH] Fixes substitution of REALEASE_DATE in nickle.1
+
+* Makefile.am (nickle.1): 'BUILD_DATE' -> 'RELEASE_DATE'.
+* nickle.1.in: Include version in footer.
+---
+ Makefile.am | 2 +-
+ nickle.1.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index ba28ec9..5ed56a3 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -96,7 +96,7 @@ RELEASE_FILES = $(TARFILE) $(SIGFILE) $(SRPMFILE) $(RPMFILE)
+
+ nickle.1: nickle.1.in nickle-config.h
+ sed -e 's,@''VERSION@,$(VERSION),' \
+- -e 's,@''BUILD_DATE@,$(BUILD_DATE),' \
++ -e 's,@''RELEASE_DATE@,$(RELEASE_DATE),' \
+ -e 's,@''pkgdatadir@,$(pkgdatadir),' $(top_srcdir)/nickle.1.in > $@
+
+ nickle.spec: nickle.spec.in nickle-config.h
+diff --git a/nickle.1.in b/nickle.1.in
+index 4871ac2..1ab9e08 100644
+--- a/nickle.1.in
++++ b/nickle.1.in
+@@ -1,4 +1,4 @@
+-.TH NICKLE 1 "@RELEASE_DATE@"
++.TH NICKLE 1 "@RELEASE_DATE@" "nickle @VERSION@"
+ .SH NAME
+ nickle \- a desk calculator language
+ .SH SYNOPSIS
+--
+2.41.0
+