aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdocml/gcc6-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mdocml/gcc6-fix.patch')
-rw-r--r--main/mdocml/gcc6-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/mdocml/gcc6-fix.patch b/main/mdocml/gcc6-fix.patch
new file mode 100644
index 0000000000..01d5b2088a
--- /dev/null
+++ b/main/mdocml/gcc6-fix.patch
@@ -0,0 +1,15 @@
+--- mdocml-1.13.4/configure.orig
++++ mdocml-1.13.4/configure
+@@ -139,10 +139,10 @@
+ singletest() {
+ cat 1>&3 << __HEREDOC__
+ ${1}: testing...
+-${COMP} ${3} -o test-${1} test-${1}.c
++${COMP} -o test-${1} test-${1}.c ${3}
+ __HEREDOC__
+
+- 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
+ else
+ echo "${1}: ${CC} failed with $?" 1>&3