Hi,

在 2024/12/28 05:40, John Paul Adrian Glaubitz 写道:
> Hello Xiao Sheng,
>
> On Fri, 2024-12-27 at 10:59 +0100, John Paul Adrian Glaubitz wrote:
>> Hello,
>>
>> On Fri, 2024-12-27 at 11:02 +0800, xiao sheng wen(肖盛文) wrote:
>>> Hi,
>>>
>>> #1050486 loong64 patch for netw-ib-ox-ag [1]:
>>>
>>> --- netw-ib-ox-ag-5.39.0.orig/src/netwib-src/src/genemake
>>> +++ netw-ib-ox-ag-5.39.0/src/netwib-src/src/genemake
>>> @@ -130,6 +130,9 @@ case $unamem in
>>>    "riscv64" )
>>>      NETWIBDEF_SYSARCH="riscv64"
>>>      ;;
>>> +  "loongarch64" )
>>> +    NETWIBDEF_SYSARCH="loongarch64"
>>> +    ;;
>>>    * )
>>>      echo "Error: Could not guess NETWIBDEF_SYSARCH.";
>>>      echo "Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.";
>>>
>>> Is NETWIBDEF_SYSARCH should be "loong64"? not "loongarch64"?
>> It should be loongarch64, not loong64. The latter is Debian's architecture
>> name, not the generic GNU triplet arch name.
> Can you please fix your patch? The arch name "loong64" is specific to Debian
> and should not be used within source codes where the GNU triplet arch name
> is expected.
>
> Thanks,
> Adrian
>
I just fix the patch and upload DELAYED 10days.
Thanks!

diff -Nru netw-ib-ox-ag-5.39.0/debian/changelog 
netw-ib-ox-ag-5.39.0/debian/changelog
--- netw-ib-ox-ag-5.39.0/debian/changelog    2022-06-28 18:00:01.000000000 +0800
+++ netw-ib-ox-ag-5.39.0/debian/changelog    2024-12-28 10:18:29.000000000 +0800
@@ -1,3 +1,10 @@
+netw-ib-ox-ag (5.39.0-1.6) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * add loong64 support, Closes: #1050486
+
+ -- xiao sheng wen <atzli...@debian.org>  Sat, 28 Dec 2024 10:18:29 +0800
+
 netw-ib-ox-ag (5.39.0-1.5) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru netw-ib-ox-ag-5.39.0/debian/patches/09-add-loong64-support 
netw-ib-ox-ag-5.39.0/debian/patches/09-add-loong64-support
--- netw-ib-ox-ag-5.39.0/debian/patches/09-add-loong64-support    1970-01-01 
08:00:00.000000000 +0800
+++ netw-ib-ox-ag-5.39.0/debian/patches/09-add-loong64-support    2024-12-28 
10:16:54.000000000 +0800
@@ -0,0 +1,22 @@
+Description: add support for new arch Loongarch64
+ This patch adds platform detection support for the loong64 architecture.
+ .
+Author: yalingfang <fangyal...@loongson.cn>
+Forwarded: not-needed
+Bug-Debian:: #1050486
+
+---
+Last-Update: 2024-12-27
+
+--- netw-ib-ox-ag-5.39.0.orig/src/netwib-src/src/genemake
++++ netw-ib-ox-ag-5.39.0/src/netwib-src/src/genemake
+@@ -130,6 +130,9 @@ case $unamem in
+   "riscv64" )
+     NETWIBDEF_SYSARCH="riscv64"
+     ;;
++  "loongarch64" )
++    NETWIBDEF_SYSARCH="loongarch64"
++    ;;
+   * )
+     echo "Error: Could not guess NETWIBDEF_SYSARCH.";
+     echo "Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.";
diff -Nru netw-ib-ox-ag-5.39.0/debian/patches/series 
netw-ib-ox-ag-5.39.0/debian/patches/series
--- netw-ib-ox-ag-5.39.0/debian/patches/series    2022-06-28 18:00:01.000000000 
+0800
+++ netw-ib-ox-ag-5.39.0/debian/patches/series    2024-12-27 11:23:54.000000000 
+0800
@@ -6,3 +6,4 @@
 06-add-kfreebsd-support
 07-tcltk
 08-add-riscv64-support
+09-add-loong64-support


-- 
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB

Attachment: OpenPGP_0x00186602339240CB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to