summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-03-24 16:55:48 +0000
committerjoerg <joerg@pkgsrc.org>2013-03-24 16:55:48 +0000
commit54aae7b778eea455abd53abf91087f4ae53a9b77 (patch)
tree80a5e9218b1dd80e85c21d0e6a23775bed5736f0 /lang/moscow_ml/patches
parent77cde4ab50ca4281fd00be8b29ded96e30cd575b (diff)
downloadpkgsrc-54aae7b778eea455abd53abf91087f4ae53a9b77.tar.gz
Fix strerror detection to allow clang build to finish.
Diffstat (limited to 'lang/moscow_ml/patches')
-rw-r--r--lang/moscow_ml/patches/patch-config_auto-aux_hasgot12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/moscow_ml/patches/patch-config_auto-aux_hasgot b/lang/moscow_ml/patches/patch-config_auto-aux_hasgot
new file mode 100644
index 00000000000..24d769a1446
--- /dev/null
+++ b/lang/moscow_ml/patches/patch-config_auto-aux_hasgot
@@ -0,0 +1,12 @@
+$NetBSD: patch-config_auto-aux_hasgot,v 1.1 2013/03/24 16:55:49 joerg Exp $
+
+--- config/auto-aux/hasgot.orig 2013-03-23 15:54:44.000000000 +0000
++++ config/auto-aux/hasgot
+@@ -1,5 +1,6 @@
+ #!/bin/sh
+-(echo "main() {"
++(for f in $*; do echo "extern int $f();"; done
++ echo "main() {"
+ for f in $*; do echo " $f();"; done
+ echo "}") > hasgot.c
+ exec $cc -o tst hasgot.c > /dev/null 2>/dev/null