Fixing FTBFS about undeclared PTHREAD_MUTEX_INITIALIZER by including missing pthread header.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f441dfdb18
commit
32c53547e5
2 changed files with 16 additions and 0 deletions
15
debian/patches/debian/0002-pthread.patch
vendored
Normal file
15
debian/patches/debian/0002-pthread.patch
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Author: Daniel Baumann <daniel@debian.org>
|
||||||
|
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 <cerrno>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
|
+#include <pthread.h>
|
||||||
|
+
|
||||||
|
#include "tarlz.h"
|
||||||
|
#include "common_mutex.h"
|
||||||
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -1 +1,2 @@
|
||||||
debian/0001-build.patch
|
debian/0001-build.patch
|
||||||
|
debian/0002-pthread.patch
|
||||||
|
|
Loading…
Add table
Reference in a new issue