From: Diego Elio Pettenò Date: Sun, 18 Jun 2006 13:23:45 +0000 (+0000) Subject: Add patch to fix strict-aliasing breakage. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e9b968a81a5b21d41ab8c292bb9cfdf04b674a4;p=gentoo.git Add patch to fix strict-aliasing breakage. Package-Manager: portage-2.1.1_pre1 --- diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog index 9d65b7ecdb07..e5ef9ce74095 100644 --- a/media-libs/flac/ChangeLog +++ b/media-libs/flac/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/flac # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.88 2006/05/29 00:14:30 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.89 2006/06/18 13:23:45 flameeyes Exp $ + +*flac-1.1.2-r7 (18 Jun 2006) + + 18 Jun 2006; Diego Pettenò +flac-1.1.2-r7.ebuild: + Add patch to fix strict-aliasing breakage. *flac-1.1.2-r6 (29 May 2006) diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index a8d19eb122c2..e6f4eaa9b0cb 100644 --- a/media-libs/flac/Manifest +++ b/media-libs/flac/Manifest @@ -15,6 +15,7 @@ DIST flac-1.1.2.tar.gz 1516235 RMD160 58656837b02e211eaed5010d84c4ed59841c82d3 S DIST flac-patches-1.tar.bz2 4083 RMD160 859ec8552b285a7e1eb21692c423b0f5c4262b7d SHA256 96f8a55fb220164c3d0a09467947a50b5d6ab475fdd7304c099e6416d37963d7 DIST flac-patches-3.tar.bz2 5210 RMD160 44992428e32a31abace836d6a7d3b58513fbefef SHA1 878dc1d649a10ece5ae6eb23e7bb0b52636101c5 SHA256 a4e5f7146f8f7ba75ea6a9e760890c1fbc378c77415a5f8e7a87f3afc5055436 DIST flac-patches-6.tar.bz2 6902 RMD160 bdceb952a30a28729cf0400516c209d0b99e03fb SHA1 8cbe60b7717329a626d919b354b2fea8fc094f2a SHA256 65c71e294ac521c5f1b6cb7dfc9df7a69e716711d79ea3a58bbbeaa43862b419 +DIST flac-patches-7.tar.bz2 7151 RMD160 f1a4b07588026928ec66ae68fd94ed21ba944bb9 SHA1 d400aefc171f04a0f2a50be0630af912d70d52fd SHA256 78e024d1d2598a9fb1735db55ae9497aec58b70eea4be9f876a727d553f13630 EBUILD flac-1.1.1.ebuild 1688 RMD160 3598eb48f04ae1a175638ea098b601005112bf24 SHA1 810009a56a7d865ecc51d89c5e5148a60f16e87b SHA256 6e6841883977b43220c2e583631026d89ec12e56b7a680313bd9d141d91ebf8b MD5 362483021f51dc2248f95b0ffda1aaf4 flac-1.1.1.ebuild 1688 RMD160 3598eb48f04ae1a175638ea098b601005112bf24 flac-1.1.1.ebuild 1688 @@ -31,10 +32,14 @@ EBUILD flac-1.1.2-r6.ebuild 1956 RMD160 bd23d996ae5e2d779bc0fd5ffb209bee78b39a3e MD5 ba892d6322947f4e3bb373643b8f1b49 flac-1.1.2-r6.ebuild 1956 RMD160 bd23d996ae5e2d779bc0fd5ffb209bee78b39a3e flac-1.1.2-r6.ebuild 1956 SHA256 92dcbad099db052b6e80083376ed4be36a6e6b4becda6eeb1139636cf7b4c714 flac-1.1.2-r6.ebuild 1956 -MISC ChangeLog 12407 RMD160 391151f121c6d3d10e32bf42ee766336243a0a6a SHA1 3f162c1969dfce8abc5088fbbda088bf6cdb7a78 SHA256 fb33e482acb0cd7667789864ab5c496980831518e9393d1e978a0a263c6f24c3 -MD5 4161024dfc3f8a3363904e8c78fefa09 ChangeLog 12407 -RMD160 391151f121c6d3d10e32bf42ee766336243a0a6a ChangeLog 12407 -SHA256 fb33e482acb0cd7667789864ab5c496980831518e9393d1e978a0a263c6f24c3 ChangeLog 12407 +EBUILD flac-1.1.2-r7.ebuild 1942 RMD160 187a2bf5a1becaf5fd518ad2de69736edad7f81b SHA1 4d9b51bc6a29861cc6aea3728b2aadc6d6717631 SHA256 8547416e7f4143eb2057b6a4077db0b662d78e25cdcdc419269d776daeec0504 +MD5 6af5ab85a453686d0521ed978d2e655c flac-1.1.2-r7.ebuild 1942 +RMD160 187a2bf5a1becaf5fd518ad2de69736edad7f81b flac-1.1.2-r7.ebuild 1942 +SHA256 8547416e7f4143eb2057b6a4077db0b662d78e25cdcdc419269d776daeec0504 flac-1.1.2-r7.ebuild 1942 +MISC ChangeLog 12559 RMD160 db53e20d0247b2fe7595637b56444393761d1087 SHA1 4b3811609df448e14da875bef5e96b1a9a3b4a08 SHA256 a51324e5124c87463f4501ecdd26c3a4a19e620f09a999b959064d3cccd98f32 +MD5 02bee9a066eca6c0f19e5e7732912c2d ChangeLog 12559 +RMD160 db53e20d0247b2fe7595637b56444393761d1087 ChangeLog 12559 +SHA256 a51324e5124c87463f4501ecdd26c3a4a19e620f09a999b959064d3cccd98f32 ChangeLog 12559 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 @@ -51,10 +56,13 @@ SHA256 7c4fedcf63476ab168d8ca96abdf7c8e50cf8be873fb4a85f2e12185fdbc8549 files/di MD5 da0013e62175cb5892ee96097825842d files/digest-flac-1.1.2-r6 476 RMD160 f32afe6f8dd6b648cd5b9b5206c66af7c0727455 files/digest-flac-1.1.2-r6 476 SHA256 46ef7bc46233aa1a54d707db6f95c12e6fc529d1efc56a381af68b13c82e8c94 files/digest-flac-1.1.2-r6 476 +MD5 01cbd09d219268d6cd59de8ddc4d9aa4 files/digest-flac-1.1.2-r7 476 +RMD160 fe237652ef51b5ca8a381383be92330a46b5ee06 files/digest-flac-1.1.2-r7 476 +SHA256 adc4a73bd3ead2878287ed8fb713f824f110744445857ca78116e8fd0d3bb9da files/digest-flac-1.1.2-r7 476 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEejz0AiZjviIA2XgRAuUkAJ9GEF0JfErBg/N7vzmjQ6EE3YvF0ACeJXT3 -2S0dq+KPOgqvP1gKYY2weNo= -=KpEd +iD8DBQFElVPqAiZjviIA2XgRAmypAKCQ2AwRV3WDwsBKBy3Rq/mbn7I/zgCaA9tB +y8keQogwA8LJIzwxh+DKBso= +=tlAZ -----END PGP SIGNATURE----- diff --git a/media-libs/flac/files/digest-flac-1.1.2-r7 b/media-libs/flac/files/digest-flac-1.1.2-r7 new file mode 100644 index 000000000000..96a6c12b64d8 --- /dev/null +++ b/media-libs/flac/files/digest-flac-1.1.2-r7 @@ -0,0 +1,6 @@ +MD5 2bfc127cdda02834d0491ab531a20960 flac-1.1.2.tar.gz 1516235 +RMD160 58656837b02e211eaed5010d84c4ed59841c82d3 flac-1.1.2.tar.gz 1516235 +SHA256 ce4f7d11b3c04a7368c916ca4abc284dd0c0256f461dfb7f07df1ab445e7a5c0 flac-1.1.2.tar.gz 1516235 +MD5 9a5bd47cf9349988bbfe2096c445ae1b flac-patches-7.tar.bz2 7151 +RMD160 f1a4b07588026928ec66ae68fd94ed21ba944bb9 flac-patches-7.tar.bz2 7151 +SHA256 78e024d1d2598a9fb1735db55ae9497aec58b70eea4be9f876a727d553f13630 flac-patches-7.tar.bz2 7151 diff --git a/media-libs/flac/flac-1.1.2-r7.ebuild b/media-libs/flac/flac-1.1.2-r7.ebuild new file mode 100644 index 000000000000..e7e156fcbd9f --- /dev/null +++ b/media-libs/flac/flac-1.1.2-r7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.1.2-r7.ebuild,v 1.1 2006/06/18 13:23:45 flameeyes Exp $ + +inherit libtool eutils flag-o-matic autotools + +PATCHLEVEL="7" +DESCRIPTION="free lossless audio encoder which includes an XMMS plugin" +HOMEPAGE="http://flac.sourceforge.net/" +SRC_URI="mirror://sourceforge/flac/${P}.tar.gz + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="3dnow debug doc ogg sse xmms" + +RDEPEND="ogg? ( >=media-libs/libogg-1.0_rc2 ) + xmms? ( media-sound/xmms )" +DEPEND="${RDEPEND} + x86? ( dev-lang/nasm ) + sys-apps/gawk + doc? ( app-doc/doxygen ) + dev-util/pkgconfig" + +RESTRICT="test" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Enable only for GCC 4.1 and later + [[ $(gcc-major-version)$(gcc-minor-version) -ge 41 ]] || \ + export EPATCH_EXCLUDE="130_all_visibility.patch" + + EPATCH_SUFFIX="patch" \ + epatch "${WORKDIR}/patches" + AT_M4DIR="m4" eautoreconf + elibtoolize +} + +src_compile() { + econf \ + $(use_enable ogg) \ + $(use_enable sse) \ + $(use_enable 3dnow) \ + $(use_enable debug) \ + $(use_enable doc) \ + --disable-dependency-tracking || die + + # the man page ebuild requires docbook2man... yick! + sed -i -e 's:include man:include:g' Makefile + + # FIXME parallel make seems to mess up the building of the xmms input plugin + local makeopts + use xmms && makeopts="-j1" + + emake ${makeopts} || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \ + install || die "make install failed" + dodoc AUTHORS README + + doman man/{flac,metaflac}.1 +} + +pkg_postinst() { + ewarn "If you've upgraded from a previous version of flac, you may need to re-emerge" + ewarn "packages that linked against flac by running:" + ewarn "revdep-rebuild" +}