summaryrefslogtreecommitdiff
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
commit96a8673a17d76cef0c5cc47bacce85edfd7968e8 (patch)
tree80a5e9218b1dd80e85c21d0e6a23775bed5736f0
parent2e0259820cabe04db5b0aa8d76703f79e929f269 (diff)
downloadpkgsrc-96a8673a17d76cef0c5cc47bacce85edfd7968e8.tar.gz
Fix strerror detection to allow clang build to finish.
-rw-r--r--lang/moscow_ml/distinfo3
-rw-r--r--lang/moscow_ml/patches/patch-config_auto-aux_hasgot12
2 files changed, 14 insertions, 1 deletions
diff --git a/lang/moscow_ml/distinfo b/lang/moscow_ml/distinfo
index 2ed0e48eeda..80289e2f546 100644
--- a/lang/moscow_ml/distinfo
+++ b/lang/moscow_ml/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2011/11/08 12:41:30 dholland Exp $
+$NetBSD: distinfo,v 1.7 2013/03/24 16:55:48 joerg Exp $
SHA1 (mos201src.tar.gz) = eba58486b10f0359fafba488fa1bf366b2aabf8a
RMD160 (mos201src.tar.gz) = b2a9582d8c0bfdad2b8a74740e54ab33d3856637
@@ -16,4 +16,5 @@ SHA1 (patch-be) = 4742e5391e5ac9d7c5339c69b6d47d237659feed
SHA1 (patch-bf) = 3bafc00ea7b2fd8c7992f0dc36cb4467e6815de6
SHA1 (patch-bg) = 6ca89fb870ef066a2929b9cd7e38257c9380cd11
SHA1 (patch-bh) = e9a12cf9804e46379c9e97c567eef974a2f7ca62
+SHA1 (patch-config_auto-aux_hasgot) = 19120011fa3ec592fed1eebc443b9b94c81daf5b
SHA1 (patch-mosmlyac_main_c) = d9d6a624c33f96a25e866c64944d0f20cedea526
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