summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-28 01:07:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-28 01:07:55 +0000
commit3b6d7d70488e16e062d7a6e17fa9124f7a158ff5 (patch)
tree29ac5b9b0cf204679d88a558044a0d66f0217c89 /media-sound/aylet
parentFix dependency over glib-1.2. Thanks to Patrick Lauer in bug #153087. (diff)
downloadgentoo-2-3b6d7d70488e16e062d7a6e17fa9124f7a158ff5.tar.gz
gentoo-2-3b6d7d70488e16e062d7a6e17fa9124f7a158ff5.tar.bz2
gentoo-2-3b6d7d70488e16e062d7a6e17fa9124f7a158ff5.zip
Add patch to allow building with GCC 4. Thanks to Patrick Lauer for reporting in bug #153084.
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'media-sound/aylet')
-rw-r--r--media-sound/aylet/ChangeLog9
-rw-r--r--media-sound/aylet/aylet-0.3.ebuild12
-rw-r--r--media-sound/aylet/files/aylet-0.3-gcc41.patch15
-rw-r--r--media-sound/aylet/files/digest-aylet-0.32
4 files changed, 34 insertions, 4 deletions
diff --git a/media-sound/aylet/ChangeLog b/media-sound/aylet/ChangeLog
index 7f5a38d848e1..aacd97585773 100644
--- a/media-sound/aylet/ChangeLog
+++ b/media-sound/aylet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/aylet
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aylet/ChangeLog,v 1.7 2004/09/14 07:23:33 eradicator Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aylet/ChangeLog,v 1.8 2006/10/28 01:07:55 flameeyes Exp $
+
+ 28 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/aylet-0.3-gcc41.patch, aylet-0.3.ebuild:
+ Add patch to allow building with GCC 4. Thanks to Patrick Lauer for
+ reporting in bug #153084.
14 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> aylet-0.3.ebuild:
Stable amd64, sparc.
diff --git a/media-sound/aylet/aylet-0.3.ebuild b/media-sound/aylet/aylet-0.3.ebuild
index b138e62fb0cd..4359337ce280 100644
--- a/media-sound/aylet/aylet-0.3.ebuild
+++ b/media-sound/aylet/aylet-0.3.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aylet/aylet-0.3.ebuild,v 1.7 2004/09/14 07:23:33 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aylet/aylet-0.3.ebuild,v 1.8 2006/10/28 01:07:55 flameeyes Exp $
+
+inherit eutils
DESCRIPTION="Aylet plays music files in the .ay format"
HOMEPAGE="http://rus.members.beeb.net/aylet.html"
@@ -13,6 +15,12 @@ IUSE="gtk"
DEPEND="sys-libs/ncurses
gtk? ( =x11-libs/gtk+-1.2* )"
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gcc41.patch"
+}
+
src_compile() {
emake CFLAGS="${CFLAGS} -DDRIVER_OSS" aylet || die
use gtk && emake CFLAGS="${CFLAGS} -DDRIVER_OSS" xaylet || die
diff --git a/media-sound/aylet/files/aylet-0.3-gcc41.patch b/media-sound/aylet/files/aylet-0.3-gcc41.patch
new file mode 100644
index 000000000000..bacaa9441671
--- /dev/null
+++ b/media-sound/aylet/files/aylet-0.3-gcc41.patch
@@ -0,0 +1,15 @@
+Index: aylet-0.3/sound.c
+===================================================================
+--- aylet-0.3.orig/sound.c
++++ aylet-0.3/sound.c
+@@ -99,8 +99,9 @@ struct ay_change_tag
+ static struct ay_change_tag ay_change[AY_CHANGE_MAX];
+ static int ay_change_count;
+
++int fadetile;
+
+-static int fading=0,fadetime,fadetotal;
++static int fading=0,fadetotal;
+
+ #define STEREO_BUF_SIZE 1024
+
diff --git a/media-sound/aylet/files/digest-aylet-0.3 b/media-sound/aylet/files/digest-aylet-0.3
index 59edf419bc62..1a7cb6c628fd 100644
--- a/media-sound/aylet/files/digest-aylet-0.3
+++ b/media-sound/aylet/files/digest-aylet-0.3
@@ -1 +1,3 @@
MD5 83781f46278d6fd3e74f8fc6c695969f aylet-0.3.tar.gz 42554
+RMD160 c3d6cf9c25aaa7a7426fafc5800ab636e2253526 aylet-0.3.tar.gz 42554
+SHA256 536de642dddddc47c6e757433c01fc7b3354028bb953231276c3037e0fce2c00 aylet-0.3.tar.gz 42554