summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2018-01-28 16:21:20 +0100
committerChema Alonso Josa <nimiux@gentoo.org>2018-01-28 16:21:46 +0100
commite626214cc3ff526e5ee87e2567d5fda930949726 (patch)
tree6e72e38310dc5f6682f361058bd08b574e253508 /app-emulation/libdsk/files
parentdev-python/catkin_pkg: add missing pyparsing dep (diff)
downloadgentoo-e626214cc3ff526e5ee87e2567d5fda930949726.tar.gz
gentoo-e626214cc3ff526e5ee87e2567d5fda930949726.tar.bz2
gentoo-e626214cc3ff526e5ee87e2567d5fda930949726.zip
app-emulation/libdsk: Adds sysmacros includes.
Closes: https://bugs.gentoo.org/603326 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-emulation/libdsk/files')
-rw-r--r--app-emulation/libdsk/files/libdsk-1.5.6-include-sysmacros.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-emulation/libdsk/files/libdsk-1.5.6-include-sysmacros.patch b/app-emulation/libdsk/files/libdsk-1.5.6-include-sysmacros.patch
new file mode 100644
index 000000000000..e52b92bf2e33
--- /dev/null
+++ b/app-emulation/libdsk/files/libdsk-1.5.6-include-sysmacros.patch
@@ -0,0 +1,22 @@
+diff -Nuar a/lib/compress.c b/lib/compress.c
+--- a/lib/compress.c 2017-02-13 20:34:21.000000000 +0100
++++ b/lib/compress.c 2018-01-28 15:22:15.571892254 +0100
+@@ -23,6 +23,7 @@
+ #include "drvi.h" /* For LINUXFLOPPY and WIN32FLOPPY */
+ #include "compi.h"
+ #include "comp.h"
++#include <sys/sysmacros.h>
+ /* LibDsk generalised compression support */
+ #ifdef HAVE_SYS_STAT_H
+ #include <sys/stat.h>
+diff -Nuar a/lib/drvlinux.c b/lib/drvlinux.c
+--- a/lib/drvlinux.c 2017-02-26 01:43:39.000000000 +0100
++++ b/lib/drvlinux.c 2018-01-28 15:22:08.661892284 +0100
+@@ -26,6 +26,7 @@
+
+ #include "drvi.h"
+ #include "drvlinux.h"
++#include <sys/sysmacros.h>
+
+ #ifdef LINUXFLOPPY
+