Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] docbook2mdoc: update to 1.1.0
@ 2019-11-04 16:43 voidlinux-github
  2019-11-04 16:44 ` voidlinux-github
  2019-11-06 10:11 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-11-04 16:43 UTC (permalink / raw)
  To: ml

[-- 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
 }

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

* Re: docbook2mdoc: update to 1.1.0
  2019-11-04 16:43 [PR PATCH] docbook2mdoc: update to 1.1.0 voidlinux-github
@ 2019-11-04 16:44 ` voidlinux-github
  2019-11-06 10:11 ` [PR PATCH] [Merged]: " voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-11-04 16:44 UTC (permalink / raw)
  To: ml

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

New comment by ndowens on void-packages repository

https://github.com/void-linux/void-packages/pull/16114#issuecomment-549442091

Comment:
tested against the one dep that is listed to depend on this and it built fine

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

* Re: [PR PATCH] [Merged]: docbook2mdoc: update to 1.1.0
  2019-11-04 16:43 [PR PATCH] docbook2mdoc: update to 1.1.0 voidlinux-github
  2019-11-04 16:44 ` voidlinux-github
@ 2019-11-06 10:11 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-11-06 10:11 UTC (permalink / raw)
  To: ml

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

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

docbook2mdoc: update to 1.1.0
https://github.com/void-linux/void-packages/pull/16114

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

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

end of thread, other threads:[~2019-11-06 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 16:43 [PR PATCH] docbook2mdoc: update to 1.1.0 voidlinux-github
2019-11-04 16:44 ` voidlinux-github
2019-11-06 10:11 ` [PR PATCH] [Merged]: " voidlinux-github

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).