dmlb2000 pushed to torque (el5). "- fix missing NI_MAXSERV on fedora9"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 8 06:00:07 UTC 2015


>From ed9df90e24e95510fb94a250c234a7e75ba24cf3 Mon Sep 17 00:00:00 2001
From: Garrick Staples <garrick at fedoraproject.org>
Date: Thu, 14 Feb 2008 21:14:23 +0000
Subject: - fix missing NI_MAXSERV on fedora9


diff --git a/torque-2.1.10-NI_MAXSERV.patch b/torque-2.1.10-NI_MAXSERV.patch
new file mode 100644
index 0000000..a6df41f
--- /dev/null
+++ b/torque-2.1.10-NI_MAXSERV.patch
@@ -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;
diff --git a/torque.spec b/torque.spec
index bd8a9b1..a0ff68c 100644
--- a/torque.spec
+++ b/torque.spec
@@ -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 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
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/torque.git/commit/?h=el5&id=ed9df90e24e95510fb94a250c234a7e75ba24cf3


More information about the scm-commits mailing list