- Update to 0.84

- Pass maintainership to submitter

PR:		165947
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
Feature safe:	yes
This commit is contained in:
Martin Wilke 2012-03-24 16:04:09 +00:00
parent 58ba93d1ac
commit dc9f536245
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293746
3 changed files with 27 additions and 4 deletions

View File

@ -6,12 +6,12 @@
#
PORTNAME= mpiexec
PORTVERSION= 0.83
PORTVERSION= 0.84
CATEGORIES= sysutils parallel
MASTER_SITES= http://www.osc.edu/~djohnson/mpiexec/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
MAINTAINER= 5u623l20@gmail.com
COMMENT= A tool to run a parallel job from within a PBS environment
LIB_DEPENDS= torque.2:${PORTSDIR}/sysutils/torque

View File

@ -1,2 +1,2 @@
SHA256 (mpiexec-0.83.tgz) = 4485c6f5ced0889ea7fb88b49af001904348dee24a23cd85dd8402f606e2128d
SIZE (mpiexec-0.83.tgz) = 207619
SHA256 (mpiexec-0.84.tgz) = 119619c035453718dc98c2eb72799ad1fa9a8a240336bc0481d2063cb5a88fc3
SIZE (mpiexec-0.84.tgz) = 229323

View File

@ -0,0 +1,23 @@
--- psm.c.orig 2012-03-12 02:52:24.120253238 +0600
+++ psm.c 2012-03-12 02:53:17.264235224 +0600
@@ -209,8 +209,7 @@
#include <netdb.h>
#include <sys/socket.h>
#include <sys/time.h>
-#include <endian.h>
-#include <byteswap.h>
+#include <sys/endian.h>
#include "mpiexec.h"
#ifdef HAVE_POLL
@@ -221,8 +220,8 @@
# define ntohu64(x) (x)
# define htonu64(x) (x)
#elif __BYTE_ORDER == __LITTLE_ENDIAN
-# define ntohu64(x) __bswap_64(x)
-# define htonu64(x) __bswap_64(x)
+# define ntohu64(x) bswap64(x)
+# define htonu64(x) bswap64(x)
#endif
#define EPID_INFO_GLOBAL 2