summaryrefslogtreecommitdiff
path: root/app-text/html2text/files/html2text-1.3.2a-compiler.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/html2text/files/html2text-1.3.2a-compiler.patch')
-rw-r--r--app-text/html2text/files/html2text-1.3.2a-compiler.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-text/html2text/files/html2text-1.3.2a-compiler.patch b/app-text/html2text/files/html2text-1.3.2a-compiler.patch
new file mode 100644
index 000000000000..19a1341209d4
--- /dev/null
+++ b/app-text/html2text/files/html2text-1.3.2a-compiler.patch
@@ -0,0 +1,13 @@
+--- a/configure
++++ b/configure
+@@ -38,8 +38,8 @@
+ return 0;
+ }
+ EOF
+-CXX=unknown;
+-for i in "CC" "g++" "cc" "$CC"; do
++CXX=${CXX-unknown}
++for i in "$CXX" "CC" "g++" "cc"; do
+ if $i -c $tmp_file.C 2>/dev/null; then
+ CXX="$i";
+ break;