Change 14100 by ams@lustre on 2002/01/06 01:56:59
Subject: [PATCH] Correct several Stratus VOS build issues
From: "Green, Paul" <[EMAIL PROTECTED]>
Date: Sat, 5 Jan 2002 21:30:56 -0500
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
.... //depot/perl/ext/Time/HiRes/HiRes.xs#25 edit
.... //depot/perl/hints/vos.sh#5 edit
.... //depot/perl/perl.h#432 edit
.... //depot/perl/vos/vosish.h#7 edit
Differences ...
==== //depot/perl/ext/Time/HiRes/HiRes.xs#25 (text) ====
Index: perl/ext/Time/HiRes/HiRes.xs
--- perl/ext/Time/HiRes/HiRes.xs.~1~ Sat Jan 5 19:00:06 2002
+++ perl/ext/Time/HiRes/HiRes.xs Sat Jan 5 19:00:06 2002
@@ -9,6 +9,11 @@
#else
#include <sys/time.h>
#endif
+#ifdef HAS_SELECT
+# ifdef I_SYS_SELECT
+# include <sys/select.h>
+# endif
+#endif
#ifdef __cplusplus
}
#endif
==== //depot/perl/hints/vos.sh#5 (text) ====
Index: perl/hints/vos.sh
--- perl/hints/vos.sh.~1~ Sat Jan 5 19:00:06 2002
+++ perl/hints/vos.sh Sat Jan 5 19:00:06 2002
@@ -10,7 +10,7 @@
# C compiler and default options.
cc=gcc
-ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=199509L -I."
+ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=199509L"
# Make command.
make="/system/gnu_library/bin/gmake"
==== //depot/perl/perl.h#432 (text) ====
Index: perl/perl.h
--- perl/perl.h.~1~ Sat Jan 5 19:00:06 2002
+++ perl/perl.h Sat Jan 5 19:00:06 2002
@@ -1789,7 +1789,7 @@
#endif
#if defined(__VOS__)
-# include "vos/vosish.h"
+# include "./vos/vosish.h"
# define ISHISH "vos"
#endif
==== //depot/perl/vos/vosish.h#7 (text) ====
Index: perl/vos/vosish.h
--- perl/vos/vosish.h.~1~ Sat Jan 5 19:00:06 2002
+++ perl/vos/vosish.h Sat Jan 5 19:00:06 2002
@@ -1,4 +1,4 @@
-#include "unixish.h"
+#include "../unixish.h"
/* The following declaration is an avoidance for posix-950. */
extern int ioctl (int fd, int request, ...);
End of Patch.