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

28 lines
553 B
Diff

--- 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
- else
- echo "${1}${3}: ${CC} failed with $?" 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 1>&3
@@ -169,9 +162,8 @@
rm "test-${1}"
return 0
else
- echo "${1}${3}: execution failed with $?" 1>&3
+ echo "${1}${3}: ${CC} failed with $?" 1>&3
echo 1>&3
- rm "test-${1}"
return 1
fi
}