void-packages/srcpkgs/mdocml/patches/cross.patch

28 lines
625 B
Diff
Raw Normal View History

--- configure.orig 2014-12-13 18:15:59.590223371 +0100
+++ configure 2014-12-13 18:16:18.270172760 +0100
@@ -131,13 +131,6 @@ __HEREDOC__
if ${COMP} ${3} -o "test-${1}" "test-${1}.c" 1>&3 2>&3; then
echo "${1}: ${CC} succeeded" 1>&3
- else
- echo "${1}: ${CC} failed with $?" 1>&3
- echo 1>&3
- return 1
- fi
-
- if ./test-${1} 1>&3 2>&3; then
echo "${1}: yes" 1>&2
echo "${1}: yes" 1>&3
echo 1>&3
@@ -145,9 +138,8 @@ __HEREDOC__
rm "test-${1}"
return 0
else
- echo "${1}: execution failed with $?" 1>&3
+ echo "${1}: ${CC} failed with $?" 1>&3
echo 1>&3
- rm "test-${1}"
return 1
fi
}