Package: vstream-client
Version: 1.2-7
Followup-For: Bug #1075628
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oracular ubuntu-patch
Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to fix the implicit
declarations.

  * d/p: fix implicit declarations (LP: #2079777)


Thanks for considering the patch.
diff -Nru vstream-client-1.2/debian/patches/fix-implicit-declarations.patch 
vstream-client-1.2/debian/patches/fix-implicit-declarations.patch
--- vstream-client-1.2/debian/patches/fix-implicit-declarations.patch   
1969-12-31 19:00:00.000000000 -0500
+++ vstream-client-1.2/debian/patches/fix-implicit-declarations.patch   
2024-09-05 23:29:45.000000000 -0400
@@ -0,0 +1,25 @@
+Description: Fix implicit declarations of ntohs et al
+Author: Nick Rosbrook <en...@ubuntu.com>
+Bug-Ubuntu: 
https://bugs.launchpad.net/ubuntu/+source/vstream-client/+bug/2079777
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075628
+Last-Update: 2024-09-05
+--- a/mfs.h
++++ b/mfs.h
+@@ -6,6 +6,8 @@
+ 
+ #define _GNU_SOURCE
+ 
++#include <arpa/inet.h>
++
+ #include <string.h>
+ #include <stdio.h>
+ #include <errno.h>
+--- a/test-client.c
++++ b/test-client.c
+@@ -1,5 +1,6 @@
+ #include <stdio.h>
+ #include <stdarg.h>
++#include <time.h>
+ #include "mfs.h"
+ #include "vstream-client.h"
+ 
diff -Nru vstream-client-1.2/debian/patches/series 
vstream-client-1.2/debian/patches/series
--- vstream-client-1.2/debian/patches/series    1969-12-31 19:00:00.000000000 
-0500
+++ vstream-client-1.2/debian/patches/series    2024-09-05 23:29:45.000000000 
-0400
@@ -0,0 +1 @@
+fix-implicit-declarations.patch

Reply via email to