Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] docbook2mdoc: update to 1.1.0
Date: Mon, 04 Nov 2019 17:43:38 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16114@inbox.vuxu.org> (raw)

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

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

https://github.com/ndowens/void-packages docbook2mdoc
https://github.com/void-linux/void-packages/pull/16114

docbook2mdoc: update to 1.1.0
This version requires bsd/sys/queue.h
Link to bsd library to fix 'undefined reference to strtonum

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

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

From 924a3132940e51958aea6314962b046289e85bc1 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Mon, 4 Nov 2019 10:15:52 -0600
Subject: [PATCH] docbook2mdoc: update to 1.1.0

This version requires bsd/sys/queue.h
Link to bsd library to fix 'undefined reference to strtonum
---
 srcpkgs/docbook2mdoc/patches/fix-decls.patch | 21 --------------------
 srcpkgs/docbook2mdoc/template                | 12 ++++++-----
 2 files changed, 7 insertions(+), 26 deletions(-)
 delete mode 100644 srcpkgs/docbook2mdoc/patches/fix-decls.patch

diff --git a/srcpkgs/docbook2mdoc/patches/fix-decls.patch b/srcpkgs/docbook2mdoc/patches/fix-decls.patch
deleted file mode 100644
index f4d32e84513..00000000000
--- a/srcpkgs/docbook2mdoc/patches/fix-decls.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- extern.h
-+++ extern.h
-@@ -119,12 +119,16 @@ enum	attrval {
- 	ATTRVAL__MAX
- };
- 
--__BEGIN_DECLS
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
- 
- int isattrkey(enum nodeid node, enum attrkey key);
- int isattrval(enum attrkey key, enum attrval val);
- int isparent(enum nodeid node, enum nodeid parent);
- 
--__END_DECLS
-+#ifdef __cplusplus
-+}
-+#endif
- 
- #endif
diff --git a/srcpkgs/docbook2mdoc/template b/srcpkgs/docbook2mdoc/template
index 25edbdb38e6..24f1bee6183 100644
--- a/srcpkgs/docbook2mdoc/template
+++ b/srcpkgs/docbook2mdoc/template
@@ -1,17 +1,19 @@
 # Template file for 'docbook2mdoc'
 pkgname=docbook2mdoc
-version=0.0.9
-revision=2
+version=1.1.0
+revision=1
 build_style=gnu-makefile
-makedepends="expat-devel"
-short_desc="A converter from DocBook V4.x and v5.x XML into mdoc"
+makedepends="libbsd-devel"
+short_desc="Converter from DocBook V4.x and v5.x XML into mdoc"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="http://mdocml.bsd.lv/docbook2mdoc"
 distfiles="http://mdocml.bsd.lv/docbook2mdoc/snapshots/${pkgname}-${version}.tgz"
-checksum=93320aa42cbcc2a8e43aceff3ef97af83ba65a87c6e745aa37ae27f43440341e
+checksum=9fc6411cf041ff10e76f19a50a142075a8df9d343f248e20d8fc98bf8e547c71
 
+LDFLAGS="-lbsd"
 post_extract() {
 	sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
 	sed -i 's,/man/man1,/share/man/man1,g' Makefile
+	vsed -e 's:sys/queue.h:bsd/sys/queue.h:' -i node.h
 }

             reply	other threads:[~2019-11-04 16:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 16:43 voidlinux-github [this message]
2019-11-04 16:44 ` voidlinux-github
2019-11-06 10:11 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16114@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).