代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-os/man-db 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From ad2d12e1071ad93b932c04d87520536068d99ff2 Mon Sep 17 00:00:00 2001
From: wxiat <nijie@wxiat.com>
Date: Mon, 26 Jun 2023 17:19:38 +0800
Subject: [PATCH] add sw
Signed-off-by: wxiat <nijie@wxiat.com>
---
include/manconfig.h.in | 2 +-
src/zsoelim.l | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/manconfig.h.in b/include/manconfig.h.in
index 708341b..a07c10a 100644
--- a/include/manconfig.h.in
+++ b/include/manconfig.h.in
@@ -54,7 +54,7 @@
DEFAULT_MANROFFSEQ can be overridden by command line arguments to man, the
environment variable $MANROFFSEQ, and by the manual page being formatted. */
-#if defined (__hpux) || (defined (__alpha) && !defined(__GLIBC__))
+#if defined (__hpux) || ((defined (__alpha) ||defined (__sw_64))&& !defined(__GLIBC__))
# define DEFAULT_MANROFFSEQ "te"
#elif defined (__ultrix)
# define DEFAULT_MANROFFSEQ "t"
diff --git a/src/zsoelim.l b/src/zsoelim.l
index b3dc780..ac4ecc1 100644
--- a/src/zsoelim.l
+++ b/src/zsoelim.l
@@ -183,6 +183,11 @@ W [ \t]
_("%s:%d: warning: failed .so request"),
NAME, LINE);
printf (".so %s\n", yytext);
+#elif !defined __sw_64
+ error (OK, 0,
+ _("%s:%d: warning: failed .so request"),
+ NAME, LINE);
+ printf (".so %s\n", yytext);
#endif
BEGIN (end_request);
} else {
--
2.31.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。