This is a multi-part MIME message sent by reportbug.
Package: st
Followup-For: Bug #1065797
User:
ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Control: tags -1 patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/02-implicit-declarations.patch: Fix an improper macro
feature check. (Closes #1065797, LP: #2060973).
* debian/patches/1032955_riscv_support.patch: Add support for RISC-V
CPU. Thanks to Steven Liu <
liuqi05@kuaishou.com>. (LP: #2061639).
Thanks for considering the patch.
-- System Information:
Debian Release: bookworm/sid
APT prefers jammy-updates
APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-27-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru st-1.9/debian/patches/02-implicit-declarations.patch st-1.9/debian/patches/02-implicit-declarations.patch
--- st-1.9/debian/patches/02-implicit-declarations.patch 1969-12-31 17:00:00.000000000 -0700
+++ st-1.9/debian/patches/02-implicit-declarations.patch 2024-04-15 10:06:57.000000000 -0600
@@ -0,0 +1,21 @@
+Description: Fix an improper macro feature check
+ This resolves the implicit declaration error on armhf
+Author: Zixing Liu <
zixing.liu@canonical.com>
+Bug-Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065797 +Bug-Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/st/+bug/2060973 +Forwarded: no
+Last-Update: 2024-04-15
+---
+Index: st/examples/res.c +===================================================================
+--- st.orig/examples/res.c
++++ st/examples/res.c
+@@ -82,7 +82,7 @@
+ #endif
+
+ /* New in Solaris 7 */
+-#if !defined(_getshort) && defined(ns_get16)
++#if !defined(_getshort) && defined(NS_GET16)
+ #define _getshort(cp) ns_get16(cp)
+ #endif
+
diff -Nru st-1.9/debian/patches/1032955_riscv_support.patch st-1.9/debian/patches/1032955_riscv_support.patch
---