pod2mdoc: include correct header to avoid segfault.
This commit is contained in:
parent
b747ebb013
commit
4372f5071e
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pod2mdoc'
|
# Template file for 'pod2mdoc'
|
||||||
pkgname=pod2mdoc
|
pkgname=pod2mdoc
|
||||||
version=0.1
|
version=0.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Convert perl documentation (POD) into man pages (mdoc)"
|
short_desc="Convert perl documentation (POD) into man pages (mdoc)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
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"
|
distfiles="http://mdocml.bsd.lv/pod2mdoc/snapshots/${pkgname}-${version}.tgz"
|
||||||
checksum=ebde31b464356529f8fd04e87b5cd520d8a96710feb212c7a9b0029de35a8015
|
checksum=ebde31b464356529f8fd04e87b5cd520d8a96710feb212c7a9b0029de35a8015
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's,<sys/time.h>,<time.h>,g' pod2mdoc.c
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin pod2mdoc
|
vbin pod2mdoc
|
||||||
vman pod2mdoc.1
|
vman pod2mdoc.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue