[Buildroot] [PATCH 6/6] package/foot: bump version to 1.22.3

Adam Duskett adam.duskett at amarulasolutions.com
Wed May 14 13:43:14 UTC 2025


  - Requires libxkbcommon >= 1.8.0 as of commit 34d3f466
  - Drop upstream 0001-box-drawings-handle-architecture-with-soft-float.patch

Tested by building an image with sway and opening foot with win + return.

Signed-off-by: Adam Duskett <adam.duskett at amarulasolutions.com>
---
 ...-handle-architecture-with-soft-float.patch | 42 -------------------
 package/foot/foot.hash                        |  2 +-
 package/foot/foot.mk                          |  2 +-
 3 files changed, 2 insertions(+), 44 deletions(-)
 delete mode 100644 package/foot/0001-box-drawings-handle-architecture-with-soft-float.patch

diff --git a/package/foot/0001-box-drawings-handle-architecture-with-soft-float.patch b/package/foot/0001-box-drawings-handle-architecture-with-soft-float.patch
deleted file mode 100644
index 1120fa44c1..0000000000
--- a/package/foot/0001-box-drawings-handle-architecture-with-soft-float.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 9443ac7e2937bb4f26cf44c73bb8150860c5df45 Mon Sep 17 00:00:00 2001
-From: Thomas Bonnefille <thomas.bonnefille at bootlin.com>
-Date: Tue, 4 Feb 2025 09:48:13 +0100
-Subject: [PATCH] box-drawings: handle architecture with soft-float
-
-Currently, architecture using soft-floats doesn't support instructions
-FE_INVALID, FE_DIVBYZERO, FE_OVERFLOW and FE_UNDERFLOW and so building
-on those architectures results with a build error.
-As the sqrt math function should set errno to EDOM if an error occurs,
-fetestexcept shouldn't be mandatory.
-
-This commit removes the float environment error handling.
-
-Upstream: https://codeberg.org/dnkl/foot/commit/9443ac7e2937bb4f26cf44c73bb8150860c5df45
-Signed-off-by: Thomas Bonnefille <thomas.bonnefille at bootlin.com>
----
- box-drawing.c | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/box-drawing.c b/box-drawing.c
-index 1c613051..421ff54d 100644
---- a/box-drawing.c
-+++ b/box-drawing.c
-@@ -1462,14 +1462,12 @@ draw_box_drawings_light_arc(struct buf *buf, char32_t wc)
-      */
-     for (double i = y_min*16; i <= y_max*16; i++) {
-         errno = 0;
--        feclearexcept(FE_ALL_EXCEPT);
- 
-         double y = i / 16.;
-         double x = circle_hemisphere * sqrt(c_r2 - (y - c_y) * (y - c_y)) + c_x;
- 
-         /* See math_error(7) */
--        if (errno != 0 ||
--            fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW))
-+        if (errno != 0)
-         {
-             continue;
-         }
--- 
-2.48.1
-
diff --git a/package/foot/foot.hash b/package/foot/foot.hash
index 9a4335f2c6..a48fe74b22 100644
--- a/package/foot/foot.hash
+++ b/package/foot/foot.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  ff81bca86178ef326588176f8bdf817bb3e0fbc891d026960144f69c8a74eb4d  foot-1.16.2-git4.tar.gz
+sha256  1ae0f56a375342a88e94ee540b87dc77147737b24a21f77c92c84fed788e2942  foot-1.22.3-git4.tar.gz
 sha256  d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a  LICENSE
diff --git a/package/foot/foot.mk b/package/foot/foot.mk
index e300d04d0a..a09b61d717 100644
--- a/package/foot/foot.mk
+++ b/package/foot/foot.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FOOT_VERSION = 1.16.2
+FOOT_VERSION = 1.22.3
 FOOT_SITE = https://codeberg.org/dnkl/foot.git
 FOOT_SITE_METHOD = git
 FOOT_LICENSE = MIT
-- 
2.49.0



More information about the buildroot mailing list