pod2mdoc: include correct header to avoid segfault.

This commit is contained in:
Christian Neukirchen 2015-01-22 16:04:37 +01:00
parent b747ebb013
commit 4372f5071e

View file

@ -1,7 +1,7 @@
# Template file for 'pod2mdoc'
pkgname=pod2mdoc
version=0.1
revision=1
revision=2
build_style=gnu-makefile
short_desc="Convert perl documentation (POD) into man pages (mdoc)"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -10,6 +10,10 @@ homepage="http://mdocml.bsd.lv/pod2mdoc"
distfiles="http://mdocml.bsd.lv/pod2mdoc/snapshots/${pkgname}-${version}.tgz"
checksum=ebde31b464356529f8fd04e87b5cd520d8a96710feb212c7a9b0029de35a8015
post_extract() {
sed -i 's,<sys/time.h>,<time.h>,g' pod2mdoc.c
}
do_install() {
vbin pod2mdoc
vman pod2mdoc.1