summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2005-09-05 13:26:52 +0000
committerMichael Imhof <tantive@gentoo.org>2005-09-05 13:26:52 +0000
commit4fa6581785f4f483affbe6577faccfb6cf768a34 (patch)
tree2a3704929df9e1b3e1b62b707a0754a87b38fb2a /sys-cluster/openpbs/files
parentMissed ChangeLog. (diff)
downloadgentoo-2-4fa6581785f4f483affbe6577faccfb6cf768a34.tar.gz
gentoo-2-4fa6581785f4f483affbe6577faccfb6cf768a34.tar.bz2
gentoo-2-4fa6581785f4f483affbe6577faccfb6cf768a34.zip
Added missing patch. Added PROVIDE. Closes #101791.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-cluster/openpbs/files')
-rw-r--r--sys-cluster/openpbs/files/openpbs-2.3.16-r2-errno-fixup.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/openpbs/files/openpbs-2.3.16-r2-errno-fixup.patch b/sys-cluster/openpbs/files/openpbs-2.3.16-r2-errno-fixup.patch
new file mode 100644
index 000000000000..4c308261036f
--- /dev/null
+++ b/sys-cluster/openpbs/files/openpbs-2.3.16-r2-errno-fixup.patch
@@ -0,0 +1,36 @@
+diff -urN src-old/lib/Liblog/pbs_log.c src/lib/Liblog/pbs_log.c
+--- src-old/lib/Liblog/pbs_log.c 2003-07-30 17:04:55.000000000 -0500
++++ src/lib/Liblog/pbs_log.c 2003-07-30 17:04:00.000000000 -0500
+@@ -109,7 +109,7 @@
+
+ /* Global Data */
+
+-extern int errno;
++#include <errno.h>
+ char log_buffer[LOG_BUF_SIZE];
+ char log_directory[_POSIX_PATH_MAX/2];
+
+diff -urN src-old/scheduler.basl/af_resmom.c src/scheduler.basl/af_resmom.c
+--- src-old/scheduler.basl/af_resmom.c 2003-07-30 17:04:56.000000000 -0500
++++ src/scheduler.basl/af_resmom.c 2003-07-30 17:04:00.000000000 -0500
+@@ -103,7 +103,7 @@
+ static char ident[] = "@(#) $RCSfile: openpbs-2.3.16-r2-errno-fixup.patch,v $ $Revision: 1.1 $";
+
+ /* External Variables */
+-extern int errno;
++#include <errno.h>
+
+ /* External Functions */
+ extern int
+diff -urN src-old/server/svr_connect.c src/server/svr_connect.c
+--- src-old/server/svr_connect.c 2003-07-30 17:04:56.000000000 -0500
++++ src/server/svr_connect.c 2003-07-30 17:04:00.000000000 -0500
+@@ -113,7 +113,7 @@
+
+ struct connect_handle connection[PBS_NET_MAX_CONNECTIONS]; /* used by API */
+
+-extern int errno;
++#include <errno.h>
+
+ extern int pbs_errno;
+ extern unsigned int pbs_server_port_dis;