From 565ad1f86882b797b570527d449eea8cbef997cb Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 26 Sep 2024 11:10:52 -0600 Subject: [PATCH] cherry-pick patch to fix FTBFS --- debian/changelog | 7 ++++++ debian/patches/more-includes.patch | 34 ++++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 42 insertions(+) create mode 100644 debian/patches/more-includes.patch diff --git a/debian/changelog b/debian/changelog index 2a5a1b57..e3222a5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +altos (1.9.19-2) unstable; urgency=medium + + * cherry-pick patch from master branch that fixes FTBFS due to needing + another include, closes: #1082677 + + -- Bdale Garbee Thu, 26 Sep 2024 11:08:46 -0600 + altos (1.9.19-1) unstable; urgency=medium [ Bdale Garbee ] diff --git a/debian/patches/more-includes.patch b/debian/patches/more-includes.patch new file mode 100644 index 00000000..3977652c --- /dev/null +++ b/debian/patches/more-includes.patch @@ -0,0 +1,34 @@ +From 9694440cd501a9b170fec7c85fe57f1e4fe749b3 Mon Sep 17 00:00:00 2001 +From: Keith Packard +Date: Thu, 26 Sep 2024 08:23:48 -0700 +Subject: [PATCH] src: Add more includes to ao.h + +This makes sure altos has all of the C library definitions it needs +rather than on relying on the C library to expose more than POSIX +says it should. + +Signed-off-by: Keith Packard +--- + src/kernel/ao.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/kernel/ao.h b/src/kernel/ao.h +index b3f780f5c..0437cb07f 100644 +--- a/src/kernel/ao.h ++++ b/src/kernel/ao.h +@@ -19,10 +19,11 @@ + #ifndef _AO_H_ + #define _AO_H_ + +-#include ++#include + #include + #include + #include ++#include + #include + #include + #include +-- +2.45.2 + diff --git a/debian/patches/series b/debian/patches/series index e69de29b..6f2a8a22 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -0,0 +1 @@ +more-includes.patch -- 2.47.2