mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
mdocml: update to 1.14.1.
This commit is contained in:
parent
a7cead1c85
commit
dd593b3654
3 changed files with 17 additions and 59 deletions
|
@ -1,25 +1,25 @@
|
||||||
--- configure.orig 2014-12-13 18:15:59.590223371 +0100
|
--- configure.orig
|
||||||
+++ configure 2014-12-13 18:16:18.270172760 +0100
|
+++ configure
|
||||||
@@ -131,13 +131,6 @@ __HEREDOC__
|
@@ -155,13 +155,6 @@
|
||||||
|
|
||||||
if ${COMP} ${3} -o "test-${1}" "test-${1}.c" 1>&3 2>&3; then
|
if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then
|
||||||
echo "${1}: ${CC} succeeded" 1>&3
|
echo "${1}${3}: ${CC} succeeded" 1>&3
|
||||||
- else
|
- else
|
||||||
- echo "${1}: ${CC} failed with $?" 1>&3
|
- echo "${1}${3}: ${CC} failed with $?" 1>&3
|
||||||
- echo 1>&3
|
- echo 1>&3
|
||||||
- return 1
|
- return 1
|
||||||
- fi
|
- fi
|
||||||
-
|
-
|
||||||
- if ./test-${1} 1>&3 2>&3; then
|
- if ./test-${1} 1>&3 2>&3; then
|
||||||
echo "${1}: yes" 1>&2
|
echo "${1}${3}: yes" 1>&2
|
||||||
echo "${1}: yes" 1>&3
|
echo "${1}${3}: yes" 1>&3
|
||||||
echo 1>&3
|
echo 1>&3
|
||||||
@@ -145,9 +138,8 @@ __HEREDOC__
|
@@ -169,9 +162,8 @@
|
||||||
rm "test-${1}"
|
rm "test-${1}"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
- echo "${1}: execution failed with $?" 1>&3
|
- echo "${1}${3}: execution failed with $?" 1>&3
|
||||||
+ echo "${1}: ${CC} failed with $?" 1>&3
|
+ echo "${1}${3}: ${CC} failed with $?" 1>&3
|
||||||
echo 1>&3
|
echo 1>&3
|
||||||
- rm "test-${1}"
|
- rm "test-${1}"
|
||||||
return 1
|
return 1
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
--- main.c.orig
|
|
||||||
+++ main.c
|
|
||||||
@@ -551,10 +551,10 @@
|
|
||||||
|
|
||||||
/* Stop here until moved to the foreground. */
|
|
||||||
|
|
||||||
- tc_pgid = tcgetpgrp(STDIN_FILENO);
|
|
||||||
+ tc_pgid = tcgetpgrp(tag_files->ofd);
|
|
||||||
if (tc_pgid != man_pgid) {
|
|
||||||
if (tc_pgid == pager_pid) {
|
|
||||||
- (void)tcsetpgrp(STDIN_FILENO,
|
|
||||||
+ (void)tcsetpgrp(tag_files->ofd,
|
|
||||||
man_pgid);
|
|
||||||
if (signum == SIGTTIN)
|
|
||||||
continue;
|
|
||||||
@@ -567,7 +567,7 @@
|
|
||||||
/* Once in the foreground, activate the pager. */
|
|
||||||
|
|
||||||
if (pager_pid) {
|
|
||||||
- (void)tcsetpgrp(STDIN_FILENO, pager_pid);
|
|
||||||
+ (void)tcsetpgrp(tag_files->ofd, pager_pid);
|
|
||||||
kill(pager_pid, SIGCONT);
|
|
||||||
} else
|
|
||||||
pager_pid = spawn_pager(tag_files);
|
|
||||||
@@ -1082,7 +1082,7 @@
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
(void)setpgid(pager_pid, 0);
|
|
||||||
- (void)tcsetpgrp(STDIN_FILENO, pager_pid);
|
|
||||||
+ (void)tcsetpgrp(tag_files->ofd, pager_pid);
|
|
||||||
#if HAVE_PLEDGE
|
|
||||||
if (pledge("stdio rpath tmppath tty proc", NULL) == -1)
|
|
||||||
err((int)MANDOCLEVEL_SYSERR, "pledge");
|
|
||||||
@@ -1100,7 +1100,7 @@
|
|
||||||
|
|
||||||
/* Do not start the pager before controlling the terminal. */
|
|
||||||
|
|
||||||
- while (tcgetpgrp(STDIN_FILENO) != getpid())
|
|
||||||
+ while (tcgetpgrp(STDOUT_FILENO) != getpid())
|
|
||||||
nanosleep(&timeout, NULL);
|
|
||||||
|
|
||||||
execvp(argv[0], argv);
|
|
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'mdocml'
|
# Template file for 'mdocml'
|
||||||
pkgname=mdocml
|
pkgname=mdocml
|
||||||
version=1.13.4
|
version=1.14.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
makedepends="sqlite-devel zlib-devel"
|
makedepends="zlib-devel"
|
||||||
depends="less"
|
depends="less"
|
||||||
provides="man-0_1"
|
provides="man-0_1"
|
||||||
conf_files="/etc/man.conf"
|
conf_files="/etc/man.conf"
|
||||||
short_desc="The mandoc UNIX manpage compiler toolset"
|
short_desc="The mandoc UNIX manpage compiler toolset"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="http://mdocml.bsd.lv"
|
homepage="http://mdocml.bsd.lv"
|
||||||
distfiles="${homepage}/snapshots/mdocml-$version.tar.gz"
|
distfiles="${homepage}/snapshots/mdocml-${version}.tar.gz"
|
||||||
checksum=0a55c1addb188071d6f784599303656b8465e98ec6b2f4f264e12fb96d79e0ef
|
checksum=356954f141ec6f5635e938c826f2e16e4619bb361c64d84a31f6775d030a615b
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
man:man:/usr/bin/mandoc
|
man:man:/usr/bin/mandoc
|
||||||
|
|
Loading…
Add table
Reference in a new issue