summaryrefslogtreecommitdiff
path: root/sys-cluster/maui/files/maui-3.3.1-torque_4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/maui/files/maui-3.3.1-torque_4.patch')
-rw-r--r--sys-cluster/maui/files/maui-3.3.1-torque_4.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-cluster/maui/files/maui-3.3.1-torque_4.patch b/sys-cluster/maui/files/maui-3.3.1-torque_4.patch
new file mode 100644
index 000000000000..1e0631555736
--- /dev/null
+++ b/sys-cluster/maui/files/maui-3.3.1-torque_4.patch
@@ -0,0 +1,14 @@
+diff -ur maui-3.3.1.orig/src/moab/MPBSI.c maui-3.3.1/src/moab/MPBSI.c
+--- maui-3.3.1.orig/src/moab/MPBSI.c 2013-07-31 09:36:31.831849229 -0700
++++ maui-3.3.1/src/moab/MPBSI.c 2013-07-31 09:37:12.951107957 -0700
+@@ -174,8 +174,8 @@
+
+ extern int pbs_errno;
+
+-extern int get_svrport(const char *,char *,int);
+-extern int openrm(char *,int);
++extern unsigned int get_svrport(char *,char *,unsigned int);
++extern int openrm(char *,unsigned int);
+ extern int addreq(int,char *);
+ extern int closerm(int);
+ extern int pbs_stagein(int,char *,char *,char *);