From 32c53547e5e9075c4f237deb89f5c423cbdd256e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 4 Mar 2025 07:46:19 +0100 Subject: [PATCH] Fixing FTBFS about undeclared PTHREAD_MUTEX_INITIALIZER by including missing pthread header. Signed-off-by: Daniel Baumann --- debian/patches/debian/0002-pthread.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/debian/0002-pthread.patch diff --git a/debian/patches/debian/0002-pthread.patch b/debian/patches/debian/0002-pthread.patch new file mode 100644 index 0000000..ea5f32e --- /dev/null +++ b/debian/patches/debian/0002-pthread.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Fixing FTBFS about undeclared PTHREAD_MUTEX_INITIALIZER by including missing pthread header. + +diff -Naurp tarlz.orig/extended.cc tarlz/extended.cc +--- tarlz.orig/extended.cc ++++ tarlz/extended.cc +@@ -21,6 +21,8 @@ + #include + #include + ++#include ++ + #include "tarlz.h" + #include "common_mutex.h" + diff --git a/debian/patches/series b/debian/patches/series index 655df63..abf2679 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ debian/0001-build.patch +debian/0002-pthread.patch