[Pkg-openmpi-commits] r357 - in /openmpi/branches/experimental/debian/patches: build_hurd hppa.patch
mckinstry at users.alioth.debian.org
mckinstry at users.alioth.debian.org
Thu Jan 28 17:29:19 UTC 2016
Author: mckinstry
Date: Thu Jan 28 17:29:19 2016
New Revision: 357
URL: http://svn.debian.org/wsvn/pkg-openmpi/?sc=1&rev=357
Log:
Patch fixes
Modified:
openmpi/branches/experimental/debian/patches/build_hurd
openmpi/branches/experimental/debian/patches/hppa.patch
Modified: openmpi/branches/experimental/debian/patches/build_hurd
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/branches/experimental/debian/patches/build_hurd?rev=357&op=diff
==============================================================================
--- openmpi/branches/experimental/debian/patches/build_hurd (original)
+++ openmpi/branches/experimental/debian/patches/build_hurd Thu Jan 28 17:29:19 2016
@@ -220,3 +220,17 @@
return OPAL_ERR_NOT_FOUND;
}
}
+Index: openmpi-1.10.2/opal/mca/base/mca_base_var.c
+===================================================================
+--- openmpi-1.10.2.orig/opal/mca/base/mca_base_var.c
++++ openmpi-1.10.2/opal/mca/base/mca_base_var.c
+@@ -50,6 +50,9 @@
+ #include "opal/util/opal_environ.h"
+ #include "opal/runtime/opal.h"
+
++#ifndef MAXPATHLEN /* hurd */
++#define MAXPATHLEN 2048
++#endif
+ /*
+ * local variables
+ */
Modified: openmpi/branches/experimental/debian/patches/hppa.patch
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/branches/experimental/debian/patches/hppa.patch?rev=357&op=diff
==============================================================================
--- openmpi/branches/experimental/debian/patches/hppa.patch (original)
+++ openmpi/branches/experimental/debian/patches/hppa.patch Thu Jan 28 17:29:19 2016
@@ -112,19 +112,19 @@
+
+#define OPAL_HAVE_ATOMIC_CMPSET_32 1
+static inline int opal_atomic_cmpset_acq_32( volatile int32_t *addr,
-+ + int32_t oldval, int32_t newval)
++ int32_t oldval, int32_t newval)
+{
+ return __sync_bool_compare_and_swap(addr, oldval, newval);
+}
+
+
+static inline int opal_atomic_cmpset_rel_32( volatile int32_t *addr,
-+ + int32_t oldval, int32_t newval)
++ int32_t oldval, int32_t newval)
+{
+ return __sync_bool_compare_and_swap(addr, oldval, newval);}
+
+static inline int opal_atomic_cmpset_32( volatile int32_t *addr,
-+ + int32_t oldval, int32_t newval)
++ int32_t oldval, int32_t newval)
+{
+ return __sync_bool_compare_and_swap(addr, oldval, newval);
+}
More information about the Pkg-openmpi-commits
mailing list