diff options
author | joerg <joerg@pkgsrc.org> | 2013-03-24 16:55:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-03-24 16:55:48 +0000 |
commit | 54aae7b778eea455abd53abf91087f4ae53a9b77 (patch) | |
tree | 80a5e9218b1dd80e85c21d0e6a23775bed5736f0 /lang/moscow_ml/patches | |
parent | 77cde4ab50ca4281fd00be8b29ded96e30cd575b (diff) | |
download | pkgsrc-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_hasgot | 12 |
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 |