Package: das-watchdog
Followup-For: Bug #1066286
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Control: tags -1 patch

Please find attached a patch for this issue, which has been uploaded to
Ubuntu.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru das-watchdog-0.9.0/debian/patches/no-implicit-declarations.patch 
das-watchdog-0.9.0/debian/patches/no-implicit-declarations.patch
--- das-watchdog-0.9.0/debian/patches/no-implicit-declarations.patch    
1969-12-31 16:00:00.000000000 -0800
+++ das-watchdog-0.9.0/debian/patches/no-implicit-declarations.patch    
2024-04-09 16:13:22.000000000 -0700
@@ -0,0 +1,18 @@
+Description: add missing unistd.h include
+Author: Steve Langasek <steve.langa...@canonical.com>
+Bug-Debian: https://bugs.debian.org/1066286
+Last-Update: 2024-04-09
+Forwarded: no
+
+Index: das-watchdog-0.9.0/test_rt.c
+===================================================================
+--- das-watchdog-0.9.0.orig/test_rt.c
++++ das-watchdog-0.9.0/test_rt.c
+@@ -4,6 +4,7 @@
+ #include <sys/time.h>
+ #include <time.h>
+ #include <sched.h>
++#include <unistd.h>
+ 
+ int main() {
+       struct sched_param params;
diff -Nru das-watchdog-0.9.0/debian/patches/series 
das-watchdog-0.9.0/debian/patches/series
--- das-watchdog-0.9.0/debian/patches/series    2023-09-19 01:59:37.000000000 
-0700
+++ das-watchdog-0.9.0/debian/patches/series    2024-04-09 16:11:24.000000000 
-0700
@@ -6,3 +6,4 @@
 0001-Remove-duplicate-check-for-temp-i-0.patch
 0003-The-result-of-fgetc-is-an-int-not-a-char.patch
 fix-memory-leak-on-realloc.patch
+no-implicit-declarations.patch

Reply via email to