rpms/torque/devel torque-2.1.10-NI_MAXSERV.patch, NONE, 1.1 torque.spec, 1.30, 1.31
Garrick Staples (garrick)
fedora-extras-commits at redhat.com
Thu Feb 14 21:14:58 UTC 2008
Author: garrick
Update of /cvs/extras/rpms/torque/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13944
Modified Files:
torque.spec
Added Files:
torque-2.1.10-NI_MAXSERV.patch
Log Message:
* Thu Feb 14 2008 Garrick Staples <garrick at usc.edu> 2.1.10-5
- fix missing NI_MAXSERV on fedora9
torque-2.1.10-NI_MAXSERV.patch:
--- NEW FILE torque-2.1.10-NI_MAXSERV.patch ---
diff -pruN torque-2.1.10_orig/src/include/port_forwarding.h torque-2.1.10/src/include/port_forwarding.h
--- torque-2.1.10_orig/src/include/port_forwarding.h 2006-10-13 11:25:37.000000000 -0700
+++ torque-2.1.10/src/include/port_forwarding.h 2008-02-14 13:08:05.000000000 -0800
@@ -16,6 +16,10 @@
# endif
#endif /* X_UNIX_PATH */
+#ifndef NI_MAXSERV
+# define NI_MAXSERV 32
+#endif /* !NI_MAXSERV */
+
struct pfwdsock {
int sock;
Index: torque.spec
===================================================================
RCS file: /cvs/extras/rpms/torque/devel/torque.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- torque.spec 4 Jan 2008 00:58:00 -0000 1.30
+++ torque.spec 14 Feb 2008 21:14:23 -0000 1.31
@@ -3,7 +3,7 @@
%define name torque
%define version 2.1.10
#%%define snap 200604251602
-%define release 4
+%define release 5
# The following options are supported:
# --with server_name=hostname
@@ -101,6 +101,8 @@
Conflicts: pbspro, openpbs, openpbs-oscar
Obsoletes: torque-localhost
+Patch0: torque-2.1.10-NI_MAXSERV.patch
+
%if %use_tcl
BuildRequires: tcl-devel
%endif
@@ -120,6 +122,7 @@
%prep
%setup -q -n torque-%{version}%{?snap:-snap.%snap}
+%patch0 -p1
%__install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} .
@@ -405,6 +408,9 @@
%changelog
+* Thu Feb 14 2008 Garrick Staples <garrick at usc.edu> 2.1.10-5
+- fix missing NI_MAXSERV on fedora9
+
* Thu Jan 3 2008 Garrick Staples <garrick at usc.edu> 2.1.10-4
- correct pbs-config build typo
More information about the fedora-extras-commits
mailing list