13 Star 0 Fork 10

src-openEuler/time

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
time-1.9-sw.patch 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
wuzx 提交于 2022-07-22 16:59 . sw
diff -Naur time-1.9.org/config.in time-1.9.sw/config.in
--- time-1.9.org/config.in 2022-02-28 08:27:55.070000000 +0000
+++ time-1.9.sw/config.in 2022-02-28 08:31:36.570000000 +0000
@@ -13,6 +13,9 @@
#ifndef __alpha__
#undef __alpha__
#endif
+#ifndef __sw_64__
+#undef __sw_64__
+#endif
#ifndef __arm__
#undef __arm__
#endif
diff -Naur time-1.9.org/configure time-1.9.sw/configure
--- time-1.9.org/configure 2022-02-28 08:27:55.060000000 +0000
+++ time-1.9.sw/configure 2022-02-28 08:33:43.010000000 +0000
@@ -7989,6 +7989,10 @@
gl_cv_host_cpu_c_abi=alpha
;;
+ sw_64* )
+ gl_cv_host_cpu_c_abi=sw_64
+ ;;
+
arm* | aarch64 )
# Assume arm with EABI.
# On arm64 systems, the C compiler may be generating code in one of
diff -Naur time-1.9.org/lib/unistd.in.h time-1.9.sw/lib/unistd.in.h
--- time-1.9.org/lib/unistd.in.h 2022-02-28 08:27:55.070000000 +0000
+++ time-1.9.sw/lib/unistd.in.h 2022-02-28 08:30:24.650000000 +0000
@@ -871,7 +871,7 @@
# endif
/* This is for older VMS. */
# if !defined _gl_getpagesize && defined __VMS
-# ifdef __ALPHA
+# ifdef __ALPHA || defined __SW_64
# define _gl_getpagesize() 8192
# else
# define _gl_getpagesize() 512
diff -Naur time-1.9.org/m4/host-cpu-c-abi.m4 time-1.9.sw/m4/host-cpu-c-abi.m4
--- time-1.9.org/m4/host-cpu-c-abi.m4 2022-02-28 08:27:55.090000000 +0000
+++ time-1.9.sw/m4/host-cpu-c-abi.m4 2022-02-28 08:36:06.690000000 +0000
@@ -96,6 +96,12 @@
gl_cv_host_cpu_c_abi=alpha
;;
+changequote(,)dnl
+ sw_64* )
+changequote([,])dnl
+ gl_cv_host_cpu_c_abi=sw_64
+ ;;
+
arm* | aarch64 )
# Assume arm with EABI.
# On arm64 systems, the C compiler may be generating code in one of
@@ -304,6 +310,9 @@
#ifndef __alpha__
#undef __alpha__
#endif
+#ifndef __sw_64__
+#undef __sw_64__
+#endif
#ifndef __arm__
#undef __arm__
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/time.git
[email protected]:src-openeuler/time.git
src-openeuler
time
time
master

搜索帮助