add sw_64 support
This commit is contained in:
parent
0e765d7d12
commit
7673f592b7
50
add-support-sw_64.patch
Normal file
50
add-support-sw_64.patch
Normal file
@ -0,0 +1,50 @@
|
||||
From bd21d7b775c68a2c195785f4e5ec35e437e53a5e Mon Sep 17 00:00:00 2001
|
||||
From: mahailiang <mahailiang@uniontech.com>
|
||||
Date: Tue, 11 Feb 2025 14:11:43 +0800
|
||||
Subject: [PATCH] add support sw_64
|
||||
|
||||
---
|
||||
build-aux/config.guess | 3 +++
|
||||
build-aux/config.sub | 1 +
|
||||
data/cputable | 1 +
|
||||
3 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/build-aux/config.guess b/build-aux/config.guess
|
||||
index 7f76b62..f67c66a 100755
|
||||
--- a/build-aux/config.guess
|
||||
+++ b/build-aux/config.guess
|
||||
@@ -1039,6 +1039,9 @@ EOF
|
||||
loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
|
||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||
;;
|
||||
+ sw64:Linux:*:*)
|
||||
+ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||
+ ;;
|
||||
m32r*:Linux:*:*)
|
||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||
;;
|
||||
diff --git a/build-aux/config.sub b/build-aux/config.sub
|
||||
index dba16e8..1f8c5c3 100755
|
||||
--- a/build-aux/config.sub
|
||||
+++ b/build-aux/config.sub
|
||||
@@ -1209,6 +1209,7 @@ case $cpu-$vendor in
|
||||
| lm32 \
|
||||
| loongarch32 | loongarch64 | loongarchx32 \
|
||||
| m32c | m32r | m32rle \
|
||||
+ | sw_64 \
|
||||
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
|
||||
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
|
||||
| m88110 | m88k | maxq | mb | mcore | mep | metag \
|
||||
diff --git a/data/cputable b/data/cputable
|
||||
index 7b1ee2c..e4c8663 100644
|
||||
--- a/data/cputable
|
||||
+++ b/data/cputable
|
||||
@@ -54,4 +54,5 @@ sh4 sh4 sh4 32 little
|
||||
sh4eb sh4eb sh4eb 32 big
|
||||
sparc sparc sparc 32 big
|
||||
sparc64 sparc64 sparc64 64 big
|
||||
+sw_64 sw_64 sw_64 64 little
|
||||
tilegx tilegx tilegx 64 little
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -2,11 +2,12 @@
|
||||
|
||||
Name: dpkg
|
||||
Version: 1.21.22
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Package maintenance system for Debian Linux
|
||||
License: GPL-2.0-only and GPL-2.0-or-later and LGPL-2.0-or-later and Public Domain and BSD-2-Clause
|
||||
URL: https://tracker.debian.org/pkg/dpkg
|
||||
Source0: http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.xz
|
||||
Patch1: add-support-sw_64.patch
|
||||
|
||||
BuildRequires: zlib-devel bzip2-devel libselinux-devel gettext ncurses-devel
|
||||
BuildRequires: autoconf automake doxygen gettext-devel gcc-c++ libtool
|
||||
@ -250,6 +251,9 @@ chown root:root /var/log/dpkg.log 2>/dev/null || chown 0:0 /var/log/dpkg.log
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Mar 12 2025 mahailiang <mahailiang@uniontech.com> - 1.21.22-3
|
||||
- add sw_64 support
|
||||
|
||||
* Tue Feb 11 2025 mahailiang <mahailiang@uniontech.com> - 1.21.22-2
|
||||
- delete add-loongarch-support-for-dpkg.patch
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user