lynx/lynx2.8.9rel.1-sw.patch
wzx ef2cb40fc3 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
(cherry picked from commit 0775294ba9dbd40bbc7c2139199554db7ca22d1c)
2022-10-31 11:12:45 +08:00

19 lines
691 B
Diff
Executable File

diff -Nuar lynx2.8.9rel.1.org/src/LYCurses.c lynx2.8.9rel.1.sw/src/LYCurses.c
--- lynx2.8.9rel.1.org/src/LYCurses.c 2022-02-24 23:14:28.950000000 +0000
+++ lynx2.8.9rel.1.sw/src/LYCurses.c 2022-02-24 23:19:27.700000000 +0000
@@ -2764,6 +2764,14 @@
VAXC$ESTABLISH(DCLspawn_exception);
+#ifdef __SW_64 /** OpenVMS/AXP lacked the TRUSTED flag before v6.1 **/
+ if (VersionVMS[1] > '6' ||
+ (VersionVMS[1] == '6' && VersionVMS[2] == '.' &&
+ VersionVMS[3] >= '1'))
+#else
+ if (VersionVMS[1] >= '6')
+#endif /* __SW_64 */
+
#ifdef __ALPHA /** OpenVMS/AXP lacked the TRUSTED flag before v6.1 **/
if (VersionVMS[1] > '6' ||
(VersionVMS[1] == '6' && VersionVMS[2] == '.' &&