summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0002-libc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/0002-libc.patch')
-rw-r--r--debian/patches/debian/0002-libc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/debian/0002-libc.patch b/debian/patches/debian/0002-libc.patch
new file mode 100644
index 0000000..01b0ed8
--- /dev/null
+++ b/debian/patches/debian/0002-libc.patch
@@ -0,0 +1,25 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Adding missing libc headers for makedev definitions.
+
+diff -Naurp tarlz.orig/create.cc tarlz/create.cc
+--- tarlz.orig/create.cc
++++ tarlz/create.cc
+@@ -26,6 +26,7 @@
+ #include <vector>
+ #include <stdint.h>
+ #include <unistd.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <ftw.h>
+ #include <grp.h>
+diff -Naurp tarlz.orig/extract.cc tarlz/extract.cc
+--- tarlz.orig/extract.cc
++++ tarlz/extract.cc
+@@ -26,6 +26,7 @@
+ #include <stdint.h>
+ #include <unistd.h>
+ #include <utime.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <lzlib.h>
+