- fix missing NI_MAXSERV on fedora9
This commit is contained in:
parent
6eb2c6dc8f
commit
ed9df90e24
14
torque-2.1.10-NI_MAXSERV.patch
Normal file
14
torque-2.1.10-NI_MAXSERV.patch
Normal file
@ -0,0 +1,14 @@
|
||||
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;
|
@ -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 @@ BuildRequires: desktop-file-utils, pam-devel, xauth, readline-devel, ncurses-dev
|
||||
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 @@ 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} .
|
||||
|
||||
@ -405,6 +408,9 @@ A simple PAM module to authorize users on PBS MOM nodes with a running job.
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 2.1.10-5
|
||||
- fix missing NI_MAXSERV on fedora9
|
||||
|
||||
* Thu Jan 3 2008 Garrick Staples <garrick@usc.edu> 2.1.10-4
|
||||
- correct pbs-config build typo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user