Source: libsmbclient-dev
Version: 2:4.9.5+dfsg-5+deb10u1
Severity: important
Tags: ftbfs patch
Justification: fails to build from source
X-Debbugs-Cc: sramac...@debian.org

Dear colleagues,

I encountered an old SMB client header bug trying to backport ffmpeg 4.3.2 to 
buster.
The build logs are identical to https://bugs.gentoo.org/666548 and the patch 
applied
from there (attached to this message) does resolve the build failure on 
buster-bpo for
amd64 and i386.

Is it possible to incorporate this low-risk fix to stable-updates / 
stable-security?

Regards,
Vasyl

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-66-generic (SMP w/6 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
>From 11e8c14b78e2423041f3846882f74cd6490a3e44 Mon Sep 17 00:00:00 2001
From: Joan Karadimov <j...@profuzdigital.com>
Date: Thu, 18 Oct 2018 18:16:17 +0300
Subject: [PATCH] Fix compatibility issues with the timespec struct

---
 source3/include/libsmbclient.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 5e4a1715402..6487ea7a8aa 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -78,6 +78,7 @@ extern "C" {
 #include <sys/statvfs.h>
 #include <stdint.h>
 #include <fcntl.h>
+#include <time.h>
 #include <utime.h>
 
   /* Debian bug #221618 */

Reply via email to