diff options
author | Chema Alonso Josa <nimiux@gentoo.org> | 2018-01-28 16:21:20 +0100 |
---|---|---|
committer | Chema Alonso Josa <nimiux@gentoo.org> | 2018-01-28 16:21:46 +0100 |
commit | e626214cc3ff526e5ee87e2567d5fda930949726 (patch) | |
tree | 6e72e38310dc5f6682f361058bd08b574e253508 /app-emulation/libdsk | |
parent | dev-python/catkin_pkg: add missing pyparsing dep (diff) | |
download | gentoo-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')
-rw-r--r-- | app-emulation/libdsk/files/libdsk-1.5.6-include-sysmacros.patch | 22 | ||||
-rw-r--r-- | app-emulation/libdsk/libdsk-1.5.6.ebuild | 5 |
2 files changed, 27 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 + diff --git a/app-emulation/libdsk/libdsk-1.5.6.ebuild b/app-emulation/libdsk/libdsk-1.5.6.ebuild index b4491b531842..f3f60beebc78 100644 --- a/app-emulation/libdsk/libdsk-1.5.6.ebuild +++ b/app-emulation/libdsk/libdsk-1.5.6.ebuild @@ -12,6 +12,11 @@ SLOT="0" KEYWORDS="~amd64" IUSE="doc" +src_prepare() { + eapply "${FILESDIR}"/${P}-include-sysmacros.patch + eapply_user +} + src_install() { emake DESTDIR="${D}" install DOCS="doc/${PN}.txt doc/${PN}.pdf" einstalldocs |