summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2013-04-20 17:39:00 +0000
committerasau <asau@pkgsrc.org>2013-04-20 17:39:00 +0000
commitb68956a77e0672ae5c2fee358a47bfd48c98a2da (patch)
tree2d86a4ee7ab5746db639c2c467e4c7fd57bdaa0b /parallel/mpi-ch
parente53bec51947fb5e974a700c08a3324aa80ebfc92 (diff)
downloadpkgsrc-b68956a77e0672ae5c2fee358a47bfd48c98a2da.tar.gz
Make it use weak symbols with Clang.
Diffstat (limited to 'parallel/mpi-ch')
-rw-r--r--parallel/mpi-ch/distinfo3
-rw-r--r--parallel/mpi-ch/patches/patch-configure16
2 files changed, 18 insertions, 1 deletions
diff --git a/parallel/mpi-ch/distinfo b/parallel/mpi-ch/distinfo
index 7cacfcdac4e..f813906add4 100644
--- a/parallel/mpi-ch/distinfo
+++ b/parallel/mpi-ch/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.22 2013/04/15 21:40:17 adam Exp $
+$NetBSD: distinfo,v 1.23 2013/04/20 17:39:00 asau Exp $
SHA1 (mpich-3.0.3.tar.gz) = cf515e9779e292d42ca5ceff34ee7b57b8978da2
RMD160 (mpich-3.0.3.tar.gz) = 15ba7729108c39359624a937dd3857f3cdfacc0a
Size (mpich-3.0.3.tar.gz) = 11018114 bytes
SHA1 (patch-Makefile.in) = 32a78a384ecb94a30631a8a756e746edbe6e0060
+SHA1 (patch-configure) = 0e7fec4d30e33387d8b434c6b4e90bab1daa42ba
SHA1 (patch-src_mpid_ch3_channels_nemesis_include_mpidi_ch3_impl.h) = e0f3de9c7c229fee3de5e85e589b88987ef11a11
SHA1 (patch-src_pm_hydra_configure) = c8d25676499386e4a2616db5ab2d86443f29b1f7
diff --git a/parallel/mpi-ch/patches/patch-configure b/parallel/mpi-ch/patches/patch-configure
new file mode 100644
index 00000000000..049b93324ac
--- /dev/null
+++ b/parallel/mpi-ch/patches/patch-configure
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2013/04/20 17:39:01 asau Exp $
+
+Make it use weak symbols with Clang.
+
+--- configure.orig 2013-03-28 21:03:38.000000000 +0000
++++ configure
+@@ -27768,7 +27768,9 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
++#ifndef __clang__
+ extern int PFoo(int);
++#endif
+ #pragma weak PFoo = Foo
+ int Foo(int a) { return a; }
+