Package: httest
Followup-For: Bug #1066672
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 httest-2.4.23/debian/patches/no-implicit-declarations.patch 
httest-2.4.23/debian/patches/no-implicit-declarations.patch
--- httest-2.4.23/debian/patches/no-implicit-declarations.patch 1969-12-31 
16:00:00.000000000 -0800
+++ httest-2.4.23/debian/patches/no-implicit-declarations.patch 2024-04-10 
13:45:54.000000000 -0700
@@ -0,0 +1,43 @@
+Description: add missing includes
+Author: Steve Langasek <steve.langa...@canonical.com>
+Bug-Debian: https://bugs.debian.org/1066672
+Last-Update: 2024-04-10
+Forwarded: no
+
+Index: httest-2.4.23/src/socks_module.c
+===================================================================
+--- httest-2.4.23.orig/src/socks_module.c
++++ httest-2.4.23/src/socks_module.c
+@@ -25,6 +25,8 @@
+ /************************************************************************
+  * Includes
+  ***********************************************************************/
++#include <stdlib.h>
++
+ #include "module.h"
+ #ifndef HAVE_NO_NETINET
+   #include <netinet/in.h>
+Index: httest-2.4.23/src/annotation_module.c
+===================================================================
+--- httest-2.4.23.orig/src/annotation_module.c
++++ httest-2.4.23/src/annotation_module.c
+@@ -25,6 +25,7 @@
+ /************************************************************************
+  * Includes
+  ***********************************************************************/
++#include <stdlib.h>
+ #include "module.h"
+ 
+ /************************************************************************
+Index: httest-2.4.23/src/dbg_module.c
+===================================================================
+--- httest-2.4.23.orig/src/dbg_module.c
++++ httest-2.4.23/src/dbg_module.c
+@@ -24,6 +24,7 @@
+ /************************************************************************
+  * Includes
+  ***********************************************************************/
++#include <stdlib.h>
+ #include "store.h"
+ #include "module.h"
+ 
diff -Nru httest-2.4.23/debian/patches/series 
httest-2.4.23/debian/patches/series
--- httest-2.4.23/debian/patches/series 2023-12-18 04:21:33.000000000 -0800
+++ httest-2.4.23/debian/patches/series 2024-04-10 13:45:05.000000000 -0700
@@ -4,3 +4,4 @@
 fix-gcc-10.patch
 autoconf-2.70.patch
 pcre2.patch
+no-implicit-declarations.patch

Reply via email to