diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2006-12-23 00:56:35 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2006-12-23 00:56:35 +0000 |
commit | f650b2b397bc05e8b9dae87bb30925a86a045270 (patch) | |
tree | 23d532a12e70e56b010c41c9bfe988ee0dbf0c15 /media-libs/libmodplug | |
parent | Version bump. wxGTK 2.8 friendly, plus image printing should be working again. (diff) | |
download | gentoo-2-f650b2b397bc05e8b9dae87bb30925a86a045270.tar.gz gentoo-2-f650b2b397bc05e8b9dae87bb30925a86a045270.tar.bz2 gentoo-2-f650b2b397bc05e8b9dae87bb30925a86a045270.zip |
Portability fix for PPC64/64UL.
(Portage version: 2.1.2_rc3-r9)
Diffstat (limited to 'media-libs/libmodplug')
-rw-r--r-- | media-libs/libmodplug/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libmodplug/files/digest-libmodplug-0.8.4-r1 | 3 | ||||
-rw-r--r-- | media-libs/libmodplug/files/libmodplug-0.8.4-ppc64-64ul.patch | 12 | ||||
-rw-r--r-- | media-libs/libmodplug/libmodplug-0.8.4-r1.ebuild | 46 | ||||
-rw-r--r-- | media-libs/libmodplug/metadata.xml | 4 |
5 files changed, 69 insertions, 5 deletions
diff --git a/media-libs/libmodplug/ChangeLog b/media-libs/libmodplug/ChangeLog index be11ff2d2ebb..e58ce3886c22 100644 --- a/media-libs/libmodplug/ChangeLog +++ b/media-libs/libmodplug/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libmodplug # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/ChangeLog,v 1.27 2006/12/02 23:23:01 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/ChangeLog,v 1.28 2006/12/23 00:56:34 chainsaw Exp $ + +*libmodplug-0.8.4-r1 (23 Dec 2006) + + 23 Dec 2006; Tony Vroon <chainsaw@gentoo.org> + +files/libmodplug-0.8.4-ppc64-64ul.patch, metadata.xml, + +libmodplug-0.8.4-r1.ebuild: + Portability fix for PPC64/64UL. 02 Dec 2006; <blubb@gentoo.org> libmodplug-0.8-r1.ebuild: stable on amd64 diff --git a/media-libs/libmodplug/files/digest-libmodplug-0.8.4-r1 b/media-libs/libmodplug/files/digest-libmodplug-0.8.4-r1 new file mode 100644 index 000000000000..590a3cc7437e --- /dev/null +++ b/media-libs/libmodplug/files/digest-libmodplug-0.8.4-r1 @@ -0,0 +1,3 @@ +MD5 091bd1168a524a4f36fc61f95209e7e4 libmodplug-0.8.4.tar.gz 510758 +RMD160 0c4c179ebc32bf88cecb162c391e91a5d36ad834 libmodplug-0.8.4.tar.gz 510758 +SHA256 84890249b3ecf12ef040b9121b6238248fc8da0fee948661d70375049e5131ee libmodplug-0.8.4.tar.gz 510758 diff --git a/media-libs/libmodplug/files/libmodplug-0.8.4-ppc64-64ul.patch b/media-libs/libmodplug/files/libmodplug-0.8.4-ppc64-64ul.patch new file mode 100644 index 000000000000..3e86c10f45ab --- /dev/null +++ b/media-libs/libmodplug/files/libmodplug-0.8.4-ppc64-64ul.patch @@ -0,0 +1,12 @@ +diff -uNr libmodplug-0.8.4.ORIG/src/libmodplug/stdafx.h libmodplug-0.8.4/src/libmodplug/stdafx.h +--- libmodplug-0.8.4.ORIG/src/libmodplug/stdafx.h 2006-12-23 00:40:42.000000000 +0000 ++++ libmodplug-0.8.4/src/libmodplug/stdafx.h 2006-12-23 00:42:45.000000000 +0000 +@@ -21,7 +21,7 @@ + + inline void ProcessPlugins(int n) {} + +-#elif defined(__x86_64__) ++#elif defined(__x86_64__) || defined(__powerpc64__) + + #include <stdlib.h> + #include <stdio.h> diff --git a/media-libs/libmodplug/libmodplug-0.8.4-r1.ebuild b/media-libs/libmodplug/libmodplug-0.8.4-r1.ebuild new file mode 100644 index 000000000000..f5df77ebe1e4 --- /dev/null +++ b/media-libs/libmodplug/libmodplug-0.8.4-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/libmodplug-0.8.4-r1.ebuild,v 1.1 2006/12/23 00:56:34 chainsaw Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils autotools + +DESCRIPTION="Library for playing MOD-like music files" +SRC_URI="mirror://sourceforge/modplug-xmms/${P}.tar.gz" +HOMEPAGE="http://modplug-xmms.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +#-sparc: 1.0 - Bus Error on play +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh -sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="" +DEPEND="dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-0.7-amd64.patch" + epatch "${FILESDIR}/${PN}-0.8.4-timidity-patches.patch" + epatch "${FILESDIR}/${PN}-0.8.4-ppc64-64ul.patch" + + sed -i -e 's:-ffast-math::' "${S}/configure.in" + + eautoreconf +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README TODO +} + +pkg_postinst() { + elog "Since version 0.8.4 onward, libmodplug supports MIDI playback." + elog "unfortunately to work correctly, this needs timidity patches," + elog "but the code does not support the needed 'source' directive to" + elog "work with the patches currently in portage. For this reason it" + elog "will not work as intended yet." +} diff --git a/media-libs/libmodplug/metadata.xml b/media-libs/libmodplug/metadata.xml index a025c77c7636..e1774e3d9ad7 100644 --- a/media-libs/libmodplug/metadata.xml +++ b/media-libs/libmodplug/metadata.xml @@ -2,8 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sound</herd> -<maintainer> - <email>chainsaw@gentoo.org</email> - <name>Tony Vroon</name> -</maintainer> </pkgmetadata> |