summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-27 22:27:22 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-27 23:34:46 -0400
commit3511ad28575cac04b3f2e7dae00042690192cbd2 (patch)
tree19613aed6ae0ec7b995f06b76c78de22c4b9671f
parentff097b450bbf533d29d8aedcf1352dcc750a4007 (diff)
downloadguix-3511ad28575cac04b3f2e7dae00042690192cbd2.tar.gz
gnu: rottlog: Apply patch adding a Texinfo direntry.
Relates to <https://issues.guix.gnu.org/58821>.

* gnu/packages/patches/rottlog-direntry.patch: Add patch.
* gnu/packages/admin.scm (rottlog): Apply it.
* gnu/local.mk (dist_patch_DATA): Register it.
-rw-r--r--gnu/local.mk9
-rw-r--r--gnu/packages/admin.scm1
-rw-r--r--gnu/packages/patches/rottlog-direntry.patch18
3 files changed, 24 insertions, 4 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 975e5965ac..857b3dc525 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1795,10 +1795,11 @@ dist_patch_DATA =						\
   %D%/packages/patches/rnp-add-version.cmake.patch		\
   %D%/packages/patches/rnp-disable-ruby-rnp-tests.patch		\
   %D%/packages/patches/rnp-unbundle-googletest.patch		\
-  %D%/packages/patches/rocm-comgr-3.1.0-dependencies.patch \
-  %D%/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch \
-  %D%/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch \
-  %D%/packages/patches/ruby-hydra-minimal-no-byebug.patch		\
+  %D%/packages/patches/rocm-comgr-3.1.0-dependencies.patch 	\
+  %D%/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch 	\
+  %D%/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch 	\
+  %D%/packages/patches/rottlog-direntry.patch 			\
+  %D%/packages/patches/ruby-hydra-minimal-no-byebug.patch	\
   %D%/packages/patches/ruby-anystyle-data-immutable-install.patch	\
   %D%/packages/patches/ruby-anystyle-fix-dictionary-populate.patch	\
   %D%/packages/patches/ruby-latex-decode-fix-test.patch		\
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index b2847ef45d..63dc6930f1 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1823,6 +1823,7 @@ at once based on a Perl regular expression.")
                (base32
                 "0751mb9l2f0jrk3vj6q8ilanifd121dliwk0c34g8k0dlzsv3kd7"))
               (modules '((guix build utils)))
+              (patches (search-patches "rottlog-direntry.patch"))
               (snippet
                '(begin
                   ;; Delete outdated Autotools build system files.
diff --git a/gnu/packages/patches/rottlog-direntry.patch b/gnu/packages/patches/rottlog-direntry.patch
new file mode 100644
index 0000000000..176d91dc0f
--- /dev/null
+++ b/gnu/packages/patches/rottlog-direntry.patch
@@ -0,0 +1,18 @@
+Add a direntry to the Rottlog info manual.
+
+diff --git a/doc/rottlog.texi b/doc/rottlog.texi
+index 0ba8019..0f29916 100644
+--- a/doc/rottlog.texi
++++ b/doc/rottlog.texi
+@@ -18,6 +18,11 @@ Documentation License.''
+ @end quotation
+ @end copying
+ 
++@dircategory System administration
++@direntry
++* Rottlog: (rottlog).         The GNU log management utility.
++@end direntry
++
+ @paragraphindent none
+ 
+ @iftex