Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libedit: fix badly-generated man pages
@ 2023-12-25  1:43 Aicaya
  2023-12-25  5:45 ` [PR PATCH] [Closed]: " sgn
  0 siblings, 1 reply; 2+ messages in thread
From: Aicaya @ 2023-12-25  1:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

There is a new pull request by Aicaya against master on the void-packages repository

https://github.com/Aicaya/void-packages libedit
https://github.com/void-linux/void-packages/pull/47901

libedit: fix badly-generated man pages
If nroff isn't detected by the build script, it will attempt to convert the mdoc macros into classic man macros.  Unfortunately, this results in the syntax being broken to the point where the man pages are pretty much useless.  Adding groff as a make dependency fixes this.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

A patch file from https://github.com/void-linux/void-packages/pull/47901.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libedit-47901.patch --]
[-- Type: text/x-diff, Size: 1032 bytes --]

From e1b689244dc505f84dedd3b9d1de5418bcc2bc32 Mon Sep 17 00:00:00 2001
From: Aicaya Maro <aicaya@posteo.net>
Date: Sun, 24 Dec 2023 21:25:20 -0400
Subject: [PATCH] libedit: fix badly-generated man pages

If nroff isn't detected by the build script, it will attempt to convert
the mdoc macros into classic man macros.  Unfortunately, this results in
the syntax being broken to the point where the man pages are pretty much
useless.  Adding groff as a make dependency fixes this.
---
 srcpkgs/libedit/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/libedit/template b/srcpkgs/libedit/template
index 96f4b0cf54e6d..ceb1c68276e7d 100644
--- a/srcpkgs/libedit/template
+++ b/srcpkgs/libedit/template
@@ -1,8 +1,9 @@
 # Template file for 'libedit'
 pkgname=libedit
 version=20230828.3.1
-revision=1
+revision=2
 build_style=gnu-configure
+hostmakedepends="groff"
 makedepends="ncurses-devel"
 short_desc="Port of the NetBSD Command Line Editor Library"
 maintainer="Orphaned <orphan@voidlinux.org>"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: libedit: fix badly-generated man pages
  2023-12-25  1:43 [PR PATCH] libedit: fix badly-generated man pages Aicaya
@ 2023-12-25  5:45 ` sgn
  0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2023-12-25  5:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

There's a closed pull request on the void-packages repository

libedit: fix badly-generated man pages
https://github.com/void-linux/void-packages/pull/47901

Description:
If nroff isn't detected by the build script, it will attempt to convert the mdoc macros into classic man macros.  Unfortunately, this results in the syntax being broken to the point where the man pages are pretty much useless.  Adding groff as a make dependency fixes this.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-25  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-25  1:43 [PR PATCH] libedit: fix badly-generated man pages Aicaya
2023-12-25  5:45 ` [PR PATCH] [Closed]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).