update changelog

This commit is contained in:
Rewnosor 2024-08-15 12:09:26 +08:00 committed by openkylin-cibot
parent 7469f06eb6
commit 0d1fe89d73
3 changed files with 69 additions and 1 deletions

8
debian/changelog vendored
View File

@ -1,6 +1,12 @@
xutils-dev (1:7.7+ok1-ok2) nile; urgency=medium
* update changelog
-- liwenjun <liwenjun@kylinos.cn> Thu, 15 Aug 2024 12:08:49 +0800
xutils-dev (1:7.7+ok1-ok1) nile; urgency=medium
* Build for openKylin
* Add loong64 support.
-- liwenjun <liwenjun@kylinos.cn> Thu, 15 Aug 2024 11:27:07 +0800

View File

@ -0,0 +1,61 @@
From: Rewnosor <liwenjun@kylinos.cn>
Date: Thu, 15 Aug 2024 12:09:26 +0800
Subject: update changelog
---
xorg-cf-files/Imake.cf | 12 ++++++++++++
xorg-cf-files/linux.cf | 18 ++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/xorg-cf-files/Imake.cf b/xorg-cf-files/Imake.cf
index 21781dd..d154bb4 100644
--- a/xorg-cf-files/Imake.cf
+++ b/xorg-cf-files/Imake.cf
@@ -1042,6 +1042,18 @@ XCOMM Keep cpp from replacing path elements containing i486/i586/i686
# define AArch64Architecture
# undef __aarch64__
# endif
+# if defined(__loongarch__)
+# undef __loongarch__
+# if __loongarch_grlen == 64
+# undef __loongarch_grlen
+# undef __loongarch_lp64
+# define LoongArch64Architecture
+# endif
+# if __loongarch_grlen == 32
+# undef __loongarch_grlen
+# define LoongArch32Architecture
+# endif
+# endif
# if defined(__riscv) && (__riscv_xlen == 64)
# define RISCV64Architecture
# /* undef __riscv */
diff --git a/xorg-cf-files/linux.cf b/xorg-cf-files/linux.cf
index fb5924d..5f41ebb 100644
--- a/xorg-cf-files/linux.cf
+++ b/xorg-cf-files/linux.cf
@@ -1117,6 +1117,24 @@ InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
#endif /* AArch64Architecture */
+#ifdef LoongArch64Architecture
+# ifndef OptimizedCDebugFlags
+# define OptimizedCDebugFlags -O2 GccAliasingArgs
+# endif
+# define LinuxMachineDefines -D__loongarch__ -D__loongarch_grlen=64 -D__loongarch_lp64
+# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
+# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
+#endif /* LoongArch64Architecture */
+
+#ifdef LoongArch32Architecture
+# ifndef OptimizedCDebugFlags
+# define OptimizedCDebugFlags -O2 GccAliasingArgs
+# endif
+# define LinuxMachineDefines -D__loongarch__ -D__loongarch_grlen=32
+# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
+# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
+#endif /* LoongArch32Architecture */
+
#ifdef RISCV64Architecture
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags DefaultGcc2RISCV64Opt DefaultGcc2OptimizeOpt GccAliasingArgs

View File

@ -5,3 +5,4 @@
07_gnu_manpath.diff
08_support_riscv64.patch
09_ppc64el.diff
0008-update-changelog.patch