NI_MAXSERV not needed.

This commit is contained in:
stevetraylen 2009-12-03 15:52:13 +00:00
parent e6f5e47dfc
commit a911b4bee4
2 changed files with 1 additions and 17 deletions

View File

@ -1,14 +0,0 @@
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;

View File

@ -103,8 +103,6 @@ Requires(preun): /usr/sbin/alternatives
Conflicts: pbspro, openpbs, openpbs-oscar
Obsoletes: torque-localhost
Patch0: torque-2.1.10-NI_MAXSERV.patch
%if %use_tcl
BuildRequires: tcl-devel
%endif
@ -124,7 +122,6 @@ This package holds just a few shared files and directories.
%prep
%setup -q -n torque-%{version}%{?snap:-snap.%snap}
%patch0 -p1
%__install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} .
@ -477,6 +474,7 @@ A simple PAM module to authorize users on PBS MOM nodes with a running job.
/usr/sbin/qnoded
/usr/sbin/qschedd
/usr/sbin/qserverd
- Remove torque-2.1.10-NI_MAXSERV.patch as not needed any more.
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild