summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2018-03-01 09:21:04 +0100
committerChema Alonso Josa <nimiux@gentoo.org>2018-03-01 09:21:32 +0100
commit98a282097f2f364cd652c8f961c2acd5559c9ff8 (patch)
tree56803725cb665f4500400ad2c9abb9f50d0bbc00 /app-emulation/libdsk
parentdev-perl/Test-LeakTrace: Bump to version 0.160.0 (diff)
downloadgentoo-98a282097f2f364cd652c8f961c2acd5559c9ff8.tar.gz
gentoo-98a282097f2f364cd652c8f961c2acd5559c9ff8.tar.bz2
gentoo-98a282097f2f364cd652c8f961c2acd5559c9ff8.zip
app-emulation/libdsk: Bumps version to 1.5.8
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-emulation/libdsk')
-rw-r--r--app-emulation/libdsk/Manifest1
-rw-r--r--app-emulation/libdsk/files/libdsk-1.5.8-include-sysmacros.patch22
-rw-r--r--app-emulation/libdsk/libdsk-1.5.8.ebuild23
3 files changed, 46 insertions, 0 deletions
diff --git a/app-emulation/libdsk/Manifest b/app-emulation/libdsk/Manifest
index 34d0066a8655..f11c32f1455f 100644
--- a/app-emulation/libdsk/Manifest
+++ b/app-emulation/libdsk/Manifest
@@ -1 +1,2 @@
DIST libdsk-1.5.6.tar.gz 1212346 BLAKE2B 4b456fa4cba759898e045706ee13b3b7a8b520adc559d28541217e208788aaddee79bde949b71d2af4100c2696768e9568d73faaa7d900dc8ad52a58f593b922 SHA512 042d876dbc7598ea54a8acec44ad3417ddf69e96000219fd3effc5e0f76a9571839fbd15107578e312759cca732b86e68bc9fd2cef28cc41b0ae094ea9667a89
+DIST libdsk-1.5.8.tar.gz 1212684 BLAKE2B 52a2687d8ade0378096215d362df21b6eb477b3304910bb98c56264fb05bec6ad2d2b7254dd132fe50e60d5179b4875a1a91088f8ed93f68886054bf1df060f4 SHA512 6bb332dcd58b88272130a950ed686852f66a1e97030aaa280db3bc65a7f82513d57055c2cc3e653e1e06843c453e46a52ce280b45b42c0bb671d1e0f6d7c9520
diff --git a/app-emulation/libdsk/files/libdsk-1.5.8-include-sysmacros.patch b/app-emulation/libdsk/files/libdsk-1.5.8-include-sysmacros.patch
new file mode 100644
index 000000000000..e52b92bf2e33
--- /dev/null
+++ b/app-emulation/libdsk/files/libdsk-1.5.8-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.8.ebuild b/app-emulation/libdsk/libdsk-1.5.8.ebuild
new file mode 100644
index 000000000000..f3f60beebc78
--- /dev/null
+++ b/app-emulation/libdsk/libdsk-1.5.8.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="LIBDSK is a library for accessing discs and disc image files"
+HOMEPAGE="http://www.seasip.info/Unix/LibDsk/"
+SRC_URI="http://www.seasip.info/Unix/LibDsk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+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
+}