代码拉取完成,页面将自动刷新
diff -Naur e2fsprogs-1.46.0.org/aclocal.m4 e2fsprogs-1.46.0.sw/aclocal.m4
--- e2fsprogs-1.46.0.org/aclocal.m4 2021-01-30 06:02:31.000000000 +0800
+++ e2fsprogs-1.46.0.sw/aclocal.m4 2023-05-15 10:30:36.732214747 +0800
@@ -978,6 +978,13 @@
;;
changequote(,)dnl
+ sw_64* )
+changequote([,])dnl
+ gl_cv_host_cpu_c_abi=sw_64
+ ;;
+
+
+changequote(,)dnl
alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] )
changequote([,])dnl
gl_cv_host_cpu_c_abi=alpha
@@ -1242,6 +1249,9 @@
#ifndef __x86_64__
#undef __x86_64__
#endif
+#ifndef __sw_64__
+#undef __sw_64__
+#endif
#ifndef __alpha__
#undef __alpha__
#endif
@@ -1355,7 +1365,7 @@
case "$gl_cv_host_cpu_c_abi" in
i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
gl_cv_host_cpu_c_abi_32bit=yes ;;
- x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
+ x86_64 | alpha | sw_64 | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
gl_cv_host_cpu_c_abi_32bit=no ;;
*)
gl_cv_host_cpu_c_abi_32bit=unknown ;;
@@ -1385,7 +1395,7 @@
# CPUs that only support a 64-bit ABI.
changequote(,)dnl
- alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
+ alpha | sw_64 | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
| mmix )
changequote([,])dnl
gl_cv_host_cpu_c_abi_32bit=no
diff -Naur e2fsprogs-1.46.0.org/configure e2fsprogs-1.46.0.sw/configure
--- e2fsprogs-1.46.0.org/configure 2021-01-30 06:02:31.000000000 +0800
+++ e2fsprogs-1.46.0.sw/configure 2023-05-15 10:32:13.884627483 +0800
@@ -4452,7 +4452,7 @@
if test "$GCC" = yes
then
case "$host_cpu" in
- alpha) addcflags="-mieee" ;;
+ alpha | sw_64) addcflags="-mieee" ;;
esac
fi
if test "x$addcflags" != x
@@ -7542,7 +7542,7 @@
case "$gl_cv_host_cpu_c_abi" in
i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
gl_cv_host_cpu_c_abi_32bit=yes ;;
- x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
+ x86_64 | alpha | sw_64 | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
gl_cv_host_cpu_c_abi_32bit=no ;;
*)
gl_cv_host_cpu_c_abi_32bit=unknown ;;
diff -Naur e2fsprogs-1.46.0.org/configure.ac e2fsprogs-1.46.0.sw/configure.ac
--- e2fsprogs-1.46.0.org/configure.ac 2021-01-30 06:02:31.000000000 +0800
+++ e2fsprogs-1.46.0.sw/configure.ac 2023-05-15 10:30:56.830920770 +0800
@@ -113,7 +113,7 @@
if test "$GCC" = yes
then
case "$host_cpu" in
- alpha) addcflags="-mieee" ;;
+ alpha | sw_64) addcflags="-mieee" ;;
esac
fi
if test "x$addcflags" != x
diff -Naur e2fsprogs-1.46.0.org/debian/attic/libs/rules e2fsprogs-1.46.0.sw/debian/attic/libs/rules
--- e2fsprogs-1.46.0.org/debian/attic/libs/rules 2021-01-30 06:02:31.000000000 +0800
+++ e2fsprogs-1.46.0.sw/debian/attic/libs/rules 2023-05-15 10:34:10.450722173 +0800
@@ -33,6 +33,14 @@
installdoc = install -m 644
installbin = install -m 755
+ifeq ($(ARCH),sw_64)
+CCOPTS = -g -O2 -fsigned-char -DHAVE_NETINET_IN_H
+LIBC-DEV = libc6.1-dev
+else
+CCOPTS = -g -O2 -fsigned-char
+LIBC-DEV = libc6-dev
+endif
+
ifeq ($(ARCH),alpha)
CCOPTS = -g -O2 -fsigned-char -DHAVE_NETINET_IN_H
LIBC-DEV = libc6.1-dev
diff -Naur e2fsprogs-1.46.0.org/lib/blkid/llseek.c e2fsprogs-1.46.0.sw/lib/blkid/llseek.c
--- e2fsprogs-1.46.0.org/lib/blkid/llseek.c 2021-01-30 06:02:31.000000000 +0800
+++ e2fsprogs-1.46.0.sw/lib/blkid/llseek.c 2023-05-15 10:31:23.610861491 +0800
@@ -88,7 +88,7 @@
return (retval == -1 ? (blkid_loff_t) retval : result);
}
-#endif /* __alpha__ || __ia64__ */
+#endif /* __alpha__ || __sw_64__ || __ia64__ */
#endif /* HAVE_LLSEEK */
diff -Naur e2fsprogs-1.46.0.org/lib/ext2fs/unix_io.c e2fsprogs-1.46.0.sw/lib/ext2fs/unix_io.c
--- e2fsprogs-1.46.0.org/lib/ext2fs/unix_io.c 2021-01-30 06:02:31.000000000 +0800
+++ e2fsprogs-1.46.0.sw/lib/ext2fs/unix_io.c 2023-05-15 10:34:28.790366402 +0800
@@ -742,7 +742,7 @@
#ifdef __linux__
#undef RLIM_INFINITY
-#if (defined(__alpha__) || ((defined(__sparc__) || defined(__mips__)) && (SIZEOF_LONG == 4)))
+#if (defined(__alpha__) || defined(__sw_64__) || ((defined(__sparc__) || defined(__mips__)) && (SIZEOF_LONG == 4)))
#define RLIM_INFINITY ((unsigned long)(~0UL>>1))
#else
#define RLIM_INFINITY (~0UL)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。