diff --git a/sys-apps/coreutils/coreutils-9.3.recipe b/sys-apps/coreutils/coreutils-9.3.recipe index 0b7ec2749..0423d54a1 100644 --- a/sys-apps/coreutils/coreutils-9.3.recipe +++ b/sys-apps/coreutils/coreutils-9.3.recipe @@ -17,7 +17,7 @@ uptime users vdir wc who whoami yes" HOMEPAGE="https://www.gnu.org/software/coreutils/" COPYRIGHT="1994-2017 Free Software Foundation, Inc." LICENSE="GNU GPL v3" -REVISION="2" +REVISION="3" SOURCE_URI="https://ftpmirror.gnu.org/coreutils/coreutils-$portVersion.tar.xz https://ftp.gnu.org/gnu/coreutils/coreutils-$portVersion.tar.xz" CHECKSUM_SHA256="adbcfcfe899235b71e8768dcf07cd532520b7f54f9a8064843f8d199a904bbaa" diff --git a/sys-apps/coreutils/patches/coreutils-9.3.patchset b/sys-apps/coreutils/patches/coreutils-9.3.patchset index 8679763a1..3743d7dfc 100644 --- a/sys-apps/coreutils/patches/coreutils-9.3.patchset +++ b/sys-apps/coreutils/patches/coreutils-9.3.patchset @@ -1,4 +1,4 @@ -From 43034aff86264576c851188e3293fe2629080faf Mon Sep 17 00:00:00 2001 +From 8c27218d12e50d29143ee4478a649ab49ead6149 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 13 May 2014 17:18:52 +0000 Subject: define __USE_GNU for wempcpy @@ -22,7 +22,7 @@ index 32cfb48..50ddd73 100644 2.37.3 -From f798f2ebc9bfe8a141fcb51bb484c389cd78c11f Mon Sep 17 00:00:00 2001 +From 85c5da8a71d0e1257bbb4f035172ddfb94ffb1e3 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 13 May 2014 17:22:10 +0000 Subject: force declaration of rpl_inet_ntop @@ -45,7 +45,7 @@ index 80e6713..3b47607 100644 2.37.3 -From ea43cb0c3573e5519b4320c8273f9a896b7eb611 Mon Sep 17 00:00:00 2001 +From 1474c5e6e8dfce8e7e9970b9c57d87e065d0ec49 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 13 May 2014 17:32:36 +0000 Subject: Haiku defines mknod in unistd.h @@ -67,7 +67,7 @@ index 688f0fb..e007e73 100644 2.37.3 -From d8847e4f6c96f0cbc14b865a6f02ae5cce4e4e7d Mon Sep 17 00:00:00 2001 +From 93de6ff9a879ab474397e516b04f3688864c44e7 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 13 May 2014 17:35:25 +0000 Subject: protect the label, not used on Haiku @@ -99,7 +99,7 @@ index 6d38481..80648a1 100644 2.37.3 -From 013d89850468348be5edab7acb09a26305277dd9 Mon Sep 17 00:00:00 2001 +From f77b2c1593a5845be6c584200405c0dd40b10f81 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 15 May 2014 15:40:32 +0000 Subject: strchrnul needs __USE_GNU on Haiku @@ -138,7 +138,7 @@ index b6bf432..123822f 100644 2.37.3 -From a38548237701b354121565c32eba03d98f707d7e Mon Sep 17 00:00:00 2001 +From 9c008dffc70a06fd44a8b02a699c07268f7dc45e Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 15 May 2014 20:13:58 +0000 Subject: don't build hostid, nice, users, who @@ -172,7 +172,7 @@ index f26504c..63091a2 100644 2.37.3 -From 1d7f7bef64a1d062efa6ab38acdb0bb879d1d08b Mon Sep 17 00:00:00 2001 +From fa32a4ac99ec0d27d279114a0416cd4852460ebe Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 6 Feb 2015 20:24:12 +0000 Subject: import Haiku changes, fix warnings. @@ -571,7 +571,7 @@ index 921a881..10cfedb 100644 2.37.3 -From b159ee4f9f2c2102632fce389cdf17e39b64e68e Mon Sep 17 00:00:00 2001 +From 4e2fcb246b9ae5a417af873f938d6f4a954ab0b1 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 1 Nov 2021 21:08:55 +0100 Subject: ln: handle negative errno @@ -681,7 +681,7 @@ index 1c3307c..653db04 100644 2.37.3 -From 2febaf9bff542af24f6b7945dbf4f9337a67a873 Mon Sep 17 00:00:00 2001 +From 466cdffa0a76ea5acebc9167c9bb7a10dd04969e Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 16 Nov 2021 10:22:30 +0100 Subject: uptime: make utmp error not critical @@ -715,3 +715,29 @@ index 061b85c..8b94aa2 100644 -- 2.37.3 + +From 94a6b6e0d965407db1e8335749ebf8a8938ec701 Mon Sep 17 00:00:00 2001 +From: PulkoMandy +Date: Fri, 30 Jun 2023 20:14:30 +0200 +Subject: stty: fix sign extension in check_speed + +Ou speed_t is only 8 bits, and is unsigned, so there is no sign +expansion. So, if you set a speed_t to -1, it is converted to 255 and +doesn't compare equal to -1. + +diff --git a/src/stty.c b/src/stty.c +index 607a4e7..3bc0143 100644 +--- a/src/stty.c ++++ b/src/stty.c +@@ -2088,7 +2088,7 @@ display_all (struct termios *mode, char const *device_name) + static void + check_speed (struct termios *mode) + { +- if (last_ibaud != -1 && last_obaud != -1) ++ if (last_ibaud != (speed_t)-1 && last_obaud != (speed_t)-1) + { + if (cfgetispeed (mode) != last_ibaud + || cfgetospeed (mode) != last_obaud) +-- +2.37.3 +