Package: mlpcap Followup-For: Bug #1066654 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu noble ubuntu-patch Control: tags -1 patch
Please find attached a patch for this issue that 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 mlpcap-0.9/debian/patches/no-implicit-declarations.patch mlpcap-0.9/debian/patches/no-implicit-declarations.patch --- mlpcap-0.9/debian/patches/no-implicit-declarations.patch 1969-12-31 16:00:00.000000000 -0800 +++ mlpcap-0.9/debian/patches/no-implicit-declarations.patch 2024-04-10 16:59:47.000000000 -0700 @@ -0,0 +1,22 @@ +Description: add missing prototype + This function is code generated by camlidl from the .idl input file; + unfortunately it does not emit a header including the prototype. +Author: Steve Langasek <steve.langa...@canonical.com> +Bug-Debian: https://bugs.debian.org/1066654 +Last-Update: 2024-04-10 +Forwarded: no + +Index: mlpcap-0.9/utils.c +=================================================================== +--- mlpcap-0.9.orig/utils.c ++++ mlpcap-0.9/utils.c +@@ -33,6 +33,9 @@ + #include <pcap.h> + #include "utils.h" + ++extern void camlidl_ml2c_pcap_pcap_handle(value _v1, pcap_handle * _c2, ++ camlidl_ctx _ctx); ++ + void + _pcap_callback (void *cback, va_alist alist) + { diff -Nru mlpcap-0.9/debian/patches/series mlpcap-0.9/debian/patches/series --- mlpcap-0.9/debian/patches/series 2023-09-11 22:50:01.000000000 -0700 +++ mlpcap-0.9/debian/patches/series 2024-04-10 16:57:47.000000000 -0700 @@ -5,3 +5,4 @@ 03_correct_META.diff 07_dll_with_camlidl.diff 08_ffcall.diff +no-implicit-declarations.patch