From 9a366969487696e4d8743cd198fef084924814b4 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 9 Aug 2018 08:52:11 +0200 Subject: [PATCH] mdocml: update to 1.14.4. --- srcpkgs/mdocml/patches/cross.patch | 22 ++++++++++++---------- srcpkgs/mdocml/template | 8 ++++---- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/srcpkgs/mdocml/patches/cross.patch b/srcpkgs/mdocml/patches/cross.patch index a074964984c..14f466520b7 100644 --- a/srcpkgs/mdocml/patches/cross.patch +++ b/srcpkgs/mdocml/patches/cross.patch @@ -1,25 +1,27 @@ --- configure.orig +++ configure -@@ -155,13 +155,6 @@ - - if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then - echo "${1}${3}: ${CC} succeeded" 1>&3 +@@ -162,14 +162,6 @@ + if ${COMP} -o "test-${1}" "${SOURCEDIR}/test-${1}.c" ${3} 1>&3 2>&3 + then + echo "partial result of ${1}${3}: ${CC} succeeded" 1>&3 - else -- echo "${1}${3}: ${CC} failed with $?" 1>&3 +- echo "result of ${1}${3}: ${CC} failed with exit status $?" 1>&3 +- echo "result of compiling ${1}${3}: no" 1>&3 - echo 1>&3 - return 1 - fi - - if ./test-${1} 1>&3 2>&3; then - echo "${1}${3}: yes" 1>&2 - echo "${1}${3}: yes" 1>&3 + echo "tested ${1}${3}: yes" 1>&2 + echo "result of running ${1}${3}: yes" 1>&3 echo 1>&3 -@@ -169,9 +162,8 @@ +@@ -177,10 +169,9 @@ rm "test-${1}" return 0 else -- echo "${1}${3}: execution failed with $?" 1>&3 -+ echo "${1}${3}: ${CC} failed with $?" 1>&3 +- echo "result of ${1}${3}: execution failed with exit status $?" 1>&3 ++ echo "result of ${1}${3}: ${CC} failed with exit status $?" 1>&3 + echo "result of running ${1}${3}: no" 1>&3 echo 1>&3 - rm "test-${1}" return 1 diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template index d3a47981327..0151de2248e 100644 --- a/srcpkgs/mdocml/template +++ b/srcpkgs/mdocml/template @@ -1,7 +1,7 @@ # Template file for 'mdocml' pkgname=mdocml -version=1.14.3 -revision=2 +version=1.14.4 +revision=1 wrksrc="mandoc-${version}" build_style=configure makedepends="zlib-devel" @@ -14,7 +14,7 @@ maintainer="Leah Neukirchen " license="ISC" homepage="http://mandoc.bsd.lv" distfiles="http://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz" -checksum=0b0c8f67958c1569ead4b690680c337984b879dfd2ad4648d96924332fd99528 +checksum=24eb72103768987dcc63b53d27fdc085796330782f44b3b40c4660b1e1ee9b9c alternatives=" man:man:/usr/bin/mandoc @@ -48,7 +48,7 @@ EOF } do_check() { - cd regress && ./regress.pl + make regress } post_install() { # Rename mans for alternatives