summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-01-16 17:17:48 +0100
committerDavid Seifert <soap@gentoo.org>2016-01-16 17:21:04 +0100
commitf826b97ceef7a94f6df7a36e77b459c0e66f3f13 (patch)
tree054949b8f97864655dc2f74d73dfc2e645712a6b /media-sound/dagrab
parentapp-misc/carbon-c-relay: version bump to v1.5 (diff)
downloadgentoo-f826b97ceef7a94f6df7a36e77b459c0e66f3f13.tar.gz
gentoo-f826b97ceef7a94f6df7a36e77b459c0e66f3f13.tar.bz2
gentoo-f826b97ceef7a94f6df7a36e77b459c0e66f3f13.zip
media-sound/dagrab: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
Gentoo-Bug: 570732 Also bump ebuild to EAPI=6. Update patches for -p1. Package-Manager: portage-2.2.26
Diffstat (limited to 'media-sound/dagrab')
-rw-r--r--media-sound/dagrab/dagrab-0.513-r1.ebuild35
-rw-r--r--media-sound/dagrab/files/dagrab-0.513-freedb.patch8
2 files changed, 39 insertions, 4 deletions
diff --git a/media-sound/dagrab/dagrab-0.513-r1.ebuild b/media-sound/dagrab/dagrab-0.513-r1.ebuild
new file mode 100644
index 000000000000..e901d83ba7b3
--- /dev/null
+++ b/media-sound/dagrab/dagrab-0.513-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic
+
+MY_P="${PN}-S${PV}"
+DESCRIPTION="fixed point cd ripper"
+HOMEPAGE="http://vertigo.fme.vutbr.cz/~stibor/dagrab.html"
+SRC_URI="http://ashtray.jz.gts.cz/~smsti/archiv/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}/${P}-build.patch"
+ "${FILESDIR}/${P}-freedb.patch"
+)
+
+src_prepare() {
+ # fix #570732 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+
+ default
+}
+
+src_install() {
+ dobin dagrab
+ dodoc BUGS CHANGES FAQ grab TODO
+ doman dagrab.1
+}
diff --git a/media-sound/dagrab/files/dagrab-0.513-freedb.patch b/media-sound/dagrab/files/dagrab-0.513-freedb.patch
index 6a65576497d8..5725867a26e0 100644
--- a/media-sound/dagrab/files/dagrab-0.513-freedb.patch
+++ b/media-sound/dagrab/files/dagrab-0.513-freedb.patch
@@ -1,5 +1,5 @@
---- dagrab.1
-+++ dagrab.1
+--- dagrab-S0.513/dagrab.1
++++ dagrab-S0.513/dagrab.1
@@ -209,7 +209,7 @@
.B -H
.I [host][:port]
@@ -9,8 +9,8 @@
.RE
.B -D
---- const.h
-+++ const.h
+--- dagrab-S0.513/const.h
++++ dagrab-S0.513/const.h
@@ -18,9 +18,9 @@
#define BLEN 1024 /* length in chars of command/trackname */
#define OVERLAP 1 /* minimum number of sectors for overlapping */