summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-14 05:23:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-14 05:23:26 +0000
commitac8f4c7ab7e881faea4171aadd416f893ad45523 (patch)
treef395128b41d6bb86d54efd7111761907fa9b1aa6 /media-libs
parentVersion bump. (diff)
downloadhistorical-ac8f4c7ab7e881faea4171aadd416f893ad45523.tar.gz
historical-ac8f4c7ab7e881faea4171aadd416f893ad45523.tar.bz2
historical-ac8f4c7ab7e881faea4171aadd416f893ad45523.zip
old
Package-Manager: portage-2.1.6.1/cvs/Linux 2.6.27.7 i686
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libvorbis/Manifest20
-rw-r--r--media-libs/libvorbis/files/libvorbis-1.1.2-CVE-3106-4029.patch125
-rw-r--r--media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1419.patch15
-rw-r--r--media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1420.patch34
-rw-r--r--media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1423.patch15
-rw-r--r--media-libs/libvorbis/libvorbis-1.1.2-r1.ebuild76
-rw-r--r--media-libs/libvorbis/libvorbis-1.2.0-r1.ebuild60
-rw-r--r--media-libs/libvorbis/libvorbis-1.2.0.ebuild57
8 files changed, 0 insertions, 402 deletions
diff --git a/media-libs/libvorbis/Manifest b/media-libs/libvorbis/Manifest
index 0790723f2595..98904020eff2 100644
--- a/media-libs/libvorbis/Manifest
+++ b/media-libs/libvorbis/Manifest
@@ -1,26 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX libvorbis-1.1.2-CVE-3106-4029.patch 3973 RMD160 7006d0c3fe933a35a91e89ddbe57fc2ff09d81e1 SHA1 b26624f2c174777d95854140586e4b69f5be964b SHA256 4b71e4f85f3e558668ce36eaa3becb055ebd3554721f912fe9c31953538ae0d4
-AUX libvorbis-1.2.0-CVE-2008-1419.patch 528 RMD160 6b1d1b4f91aef28cb1a8bf6f9ec96f3ac9c7aca4 SHA1 37b20114d9e990e59818fd64a4d2f7ae8faeeeaf SHA256 4dd20065ca3c3fa592e0e7353547a6f01c2670c6a4644897c47efc6f2086d00d
-AUX libvorbis-1.2.0-CVE-2008-1420.patch 1082 RMD160 1e9535bf873cee8b373f0857470248b96a408ba9 SHA1 2f7ac858bc23d6e92bdcd3f49d4e2d75a62b041c SHA256 17782c76a555b68cc9488e693ea24f2c0ee8bed909e0a490022cb255de3f7b1f
-AUX libvorbis-1.2.0-CVE-2008-1423.patch 556 RMD160 93ea30241d08c7a68a448a533c1a0905cc708b7c SHA1 dbc8416893c3e47a267ea2da38c57aacde759462 SHA256 fba8c045717da841e7dbdb0a8078180701789dcb52748305262535a1589f483b
DIST aotuv-b5.5-1.2.1rc1.diff.bz2 41005 RMD160 37c15676ddbffea0a2590a23543e26e960d86a13 SHA1 0926698b909c895c86e7bffa54209cdaf0dc1cc6 SHA256 f1ebe88d5b6d4f2249effa215256bbe4755a9573dfcf10b3ebf02641daa48fac
-DIST aotuvb4.51-libvorbis-1.1.2.diff.bz2 23371 RMD160 df4f90ddd7e38069aff77674734d8d39c780c74a SHA1 5720046bdc603d35218beabb668a44a59cfb0ac5 SHA256 feaae2ed481635bf36e5eb18e966559f743e95e410c21560f961d42455b91560
-DIST libvorbis-1.1.2.tar.gz 1316434 RMD160 2f1c59ab8237fe3af28f9979cd96008cfa3567cb SHA1 26289fc41aa5436b1a277d726bb5cb106d675c35 SHA256 3f7135ccbda589c251017912f5f5ec9da626c976d2376bcfda19ad6b9c4a6050
-DIST libvorbis-1.2.0.tar.bz2 1214374 RMD160 4b2ceccb6bed6f367a49f3057ed4e4c0e3f0f302 SHA1 fd10558c7dc297887caf20f3ac2601e084715a6a SHA256 9ef4c57ab72081d31aa2cd256276c1c1b0081927cbf0e87b7f1066e1d112065b
DIST libvorbis-1.2.1rc1.tar.bz2 1175156 RMD160 f99900fdac5dcd91e7b3011eadda1cd499d8450e SHA1 25c8713fec0de238d56603812abd433115a8c091 SHA256 565d8b3565dfab1ca08c374c0ef1ba66d3cb47292537cdc40f86f227c51cf316
-EBUILD libvorbis-1.1.2-r1.ebuild 2078 RMD160 43a1e7fc754bf86ca371278a164d6ac56eddc68d SHA1 1970f5eb8a9da59af93cdb3cd421340f1a0cec08 SHA256 da97ec54a5bb6f95a7859f5735836cabb339faa03633417f1a7ea27785566c5b
-EBUILD libvorbis-1.2.0-r1.ebuild 1495 RMD160 e729945fc8528a869dbb63fab03c079e0d950278 SHA1 e3822704236a43a4400f5465611dc86bdca2b702 SHA256 5341d1627da4e74085c4bf46ad6c81b71a2bdc0a3db9471e3008927073a47b1a
-EBUILD libvorbis-1.2.0.ebuild 1341 RMD160 37df16631310910804e5a11b34fbba4ff321e0c2 SHA1 653317d5a7cfd3b89d448aee4f6e8e0f0e29b797 SHA256 b1740945f2341c1d000052e02c7f82a36a49e4fdf5a7c812020c34b41728c384
EBUILD libvorbis-1.2.1_rc1-r1.ebuild 1613 RMD160 b15d51f852e95c263c5438d3279aa9e47fd4b80b SHA1 1ccdd046540edf5ee6c89e8e5fcee98889687e82 SHA256 2e3ac6f8aeda43cba4956d77d823ce718643684f83a84d79dcd25ae8a22451b9
EBUILD libvorbis-1.2.1_rc1.ebuild 1376 RMD160 c75042a983eb2f0e2831d25734cf4718f8121381 SHA1 1937526567e2eb40fff0eed2e0800824bf523ce9 SHA256 e6887eeff15847a5a02e4f7358591738ae653c13242b5ba318a008aab701fb21
MISC ChangeLog 14951 RMD160 79c54d79849a510559bf651c87c9d8a6097e78d0 SHA1 f0899abbc419c98bc6e4350d457defdeda3f6e25 SHA256 7ffd0a284c2946ad37a84825f4c165e12951cc8a5f0b326f9b1c034222d33125
MISC metadata.xml 728 RMD160 c02aed6825c5e36bff858e8404816204a563c5c2 SHA1 45fb5800245f53ce40130dde19e44f6bbc084697 SHA256 58879305de6d2611c211af9b6db677e6fe39ba44aa17463b7f4afd76f7cb781e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkk7uTEACgkQ67wieSYcaxeckACeI2dlCmVhLsZXUMPrGjKKXglW
-ovUAoMu+WRGHLSR41ZQ+mkjMOmDQIiWQ
-=V4XV
------END PGP SIGNATURE-----
diff --git a/media-libs/libvorbis/files/libvorbis-1.1.2-CVE-3106-4029.patch b/media-libs/libvorbis/files/libvorbis-1.1.2-CVE-3106-4029.patch
deleted file mode 100644
index b490648d750b..000000000000
--- a/media-libs/libvorbis/files/libvorbis-1.1.2-CVE-3106-4029.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-Index: libvorbis-1.1.2.dfsg/lib/floor1.c
-===================================================================
---- libvorbis-1.1.2.dfsg.orig/lib/floor1.c 2007-08-15 14:04:50.000000000 -0700
-+++ libvorbis-1.1.2.dfsg/lib/floor1.c 2007-08-15 16:26:17.000000000 -0700
-@@ -358,7 +358,7 @@
- 0.82788260F, 0.88168307F, 0.9389798F, 1.F,
- };
-
--static void render_line(int x0,int x1,int y0,int y1,float *d){
-+static void render_line(int n, int x0,int x1,int y0,int y1,float *d){
- int dy=y1-y0;
- int adx=x1-x0;
- int ady=abs(dy);
-@@ -370,8 +370,12 @@
-
- ady-=abs(base*adx);
-
-+ if(n>x1)n=x1;
-+
-+ if(x<n)
- d[x]*=FLOOR1_fromdB_LOOKUP[y];
-- while(++x<x1){
-+
-+ while(++x<n){
- err=err+ady;
- if(err>=adx){
- err-=adx;
-@@ -1068,7 +1072,7 @@
- hy*=info->mult;
- hx=info->postlist[current];
-
-- render_line(lx,hx,ly,hy,out);
-+ render_line(n,lx,hx,ly,hy,out);
-
- lx=hx;
- ly=hy;
-Index: libvorbis-1.1.2.dfsg/lib/res0.c
-===================================================================
---- libvorbis-1.1.2.dfsg.orig/lib/res0.c 2007-08-15 14:04:50.000000000 -0700
-+++ libvorbis-1.1.2.dfsg/lib/res0.c 2007-08-15 16:26:17.000000000 -0700
-@@ -512,7 +512,7 @@
-
- #ifdef TRAIN_RES
- for(i=0;i<ch;i++)
-- for(j=info->begin;j<info->end;j++){
-+ for(j=info->begin;j<end;j++){
- if(in[i][j]>look->tmax)look->tmax=in[i][j];
- if(in[i][j]<look->tmin)look->tmin=in[i][j];
- }
-@@ -617,8 +617,11 @@
- /* move all this setup out later */
- int samples_per_partition=info->grouping;
- int partitions_per_word=look->phrasebook->dim;
-- int n=info->end-info->begin;
-+ int max=vb->pcmend>>1;
-+ int end=(info->end<max?info->end:max);
-+ int n=end-info->begin;
-
-+ if(n>0){
- int partvals=n/samples_per_partition;
- int partwords=(partvals+partitions_per_word-1)/partitions_per_word;
- int ***partword=alloca(ch*sizeof(*partword));
-@@ -655,7 +658,7 @@
- }
- }
- }
--
-+ }
- errout:
- eopbreak:
- return(0);
-@@ -833,8 +836,11 @@
- /* move all this setup out later */
- int samples_per_partition=info->grouping;
- int partitions_per_word=look->phrasebook->dim;
-- int n=info->end-info->begin;
-+ int max=(vb->pcmend*ch)>>1;
-+ int end=(info->end<max?info->end:max);
-+ int n=end-info->begin;
-
-+ if(n>0){
- int partvals=n/samples_per_partition;
- int partwords=(partvals+partitions_per_word-1)/partitions_per_word;
- int **partword=_vorbis_block_alloc(vb,partwords*sizeof(*partword));
-@@ -867,7 +873,7 @@
- }
- }
- }
--
-+ }
- errout:
- eopbreak:
- return(0);
-Index: libvorbis-1.1.2.dfsg/lib/info.c
-===================================================================
---- libvorbis-1.1.2.dfsg.orig/lib/info.c 2007-08-15 16:26:18.000000000 -0700
-+++ libvorbis-1.1.2.dfsg/lib/info.c 2007-08-15 16:27:27.000000000 -0700
-@@ -162,14 +162,23 @@
- if(ci->mode_param[i])_ogg_free(ci->mode_param[i]);
-
- for(i=0;i<ci->maps;i++) /* unpack does the range checking */
-- _mapping_P[ci->map_type[i]]->free_info(ci->map_param[i]);
-+ if(ci->map_param[i]) /* this may be cleaning up an aborted
-+ unpack, in which case the below type
-+ cannot be trusted */
-+ _mapping_P[ci->map_type[i]]->free_info(ci->map_param[i]);
-
- for(i=0;i<ci->floors;i++) /* unpack does the range checking */
-- _floor_P[ci->floor_type[i]]->free_info(ci->floor_param[i]);
-+ if(ci->floor_param[i]) /* this may be cleaning up an aborted
-+ unpack, in which case the below type
-+ cannot be trusted */
-+ _floor_P[ci->floor_type[i]]->free_info(ci->floor_param[i]);
-
- for(i=0;i<ci->residues;i++) /* unpack does the range checking */
-- _residue_P[ci->residue_type[i]]->free_info(ci->residue_param[i]);
--
-+ if(ci->residue_param[i]) /* this may be cleaning up an aborted
-+ unpack, in which case the below type
-+ cannot be trusted */
-+ _residue_P[ci->residue_type[i]]->free_info(ci->residue_param[i]);
-+
- for(i=0;i<ci->books;i++){
- if(ci->book_param[i]){
- /* knows if the book was not alloced */
diff --git a/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1419.patch b/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1419.patch
deleted file mode 100644
index dfa21833806f..000000000000
--- a/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1419.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://trac.xiph.org/changeset/14602
-https://bugzilla.redhat.com/show_bug.cgi?id=440700
-http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-1419
-
-Index: /trunk/vorbis/lib/codebook.c
-===================================================================
---- a/trunk/vorbis/lib/codebook.c (revision 13293)
-+++ b/trunk/vorbis/lib/codebook.c (revision 14602)
-@@ -226,5 +226,5 @@
- switch(s->maptype){
- case 1:
-- quantvals=_book_maptype1_quantvals(s);
-+ quantvals=(s->dim==0?0:_book_maptype1_quantvals(s));
- break;
- case 2:
diff --git a/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1420.patch b/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1420.patch
deleted file mode 100644
index f55a20fdb651..000000000000
--- a/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1420.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-1420
-https://bugzilla.redhat.com/show_bug.cgi?id=440706
-https://trac.xiph.org/changeset/14598
-
-Index: /trunk/vorbis/lib/res0.c
-===================================================================
---- a/trunk/vorbis/lib/res0.c (revision 13578)
-+++ b/trunk/vorbis/lib/res0.c (revision 14598)
-@@ -224,4 +224,18 @@
- if(info->booklist[j]>=ci->books)goto errout;
-
-+ /* verify the phrasebook is not specifying an impossible or
-+ inconsistent partitioning scheme. */
-+ {
-+ int entries = ci->book_param[info->groupbook]->entries;
-+ int dim = ci->book_param[info->groupbook]->dim;
-+ int partvals = 1;
-+ while(dim>0){
-+ partvals *= info->partitions;
-+ if(partvals > entries) goto errout;
-+ dim--;
-+ }
-+ if(partvals != entries) goto errout;
-+ }
-+
- return(info);
- errout:
-@@ -264,5 +278,5 @@
- }
-
-- look->partvals=rint(pow((float)look->parts,(float)dim));
-+ look->partvals=look->phrasebook->entries;
- look->stages=maxstage;
- look->decodemap=_ogg_malloc(look->partvals*sizeof(*look->decodemap));
diff --git a/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1423.patch b/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1423.patch
deleted file mode 100644
index 68ad424de16c..000000000000
--- a/media-libs/libvorbis/files/libvorbis-1.2.0-CVE-2008-1423.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-1423
-https://bugzilla.redhat.com/show_bug.cgi?id=440709
-https://trac.xiph.org/changeset/14604
-
-Index: /trunk/vorbis/lib/codebook.c
-===================================================================
---- a/trunk/vorbis/lib/codebook.c (revision 14602)
-+++ b/trunk/vorbis/lib/codebook.c (revision 14604)
-@@ -159,4 +159,6 @@
- s->entries=oggpack_read(opb,24);
- if(s->entries==-1)goto _eofout;
-+
-+ if(_ilog(s->dim)+_ilog(s->entries)>24)goto _eofout;
-
- /* codeword ordering.... length ordered or unordered? */
diff --git a/media-libs/libvorbis/libvorbis-1.1.2-r1.ebuild b/media-libs/libvorbis/libvorbis-1.1.2-r1.ebuild
deleted file mode 100644
index 6b6d4e4336c1..000000000000
--- a/media-libs/libvorbis/libvorbis-1.1.2-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.1.2-r1.ebuild,v 1.11 2007/12/13 16:20:29 drac Exp $
-
-inherit libtool flag-o-matic eutils toolchain-funcs
-
-DESCRIPTION="the Ogg Vorbis sound file format library"
-HOMEPAGE="http://xiph.org/vorbis/"
-SRC_URI="http://downloads.xiph.org/releases/vorbis/${P}.tar.gz
- aotuv? ( mirror://gentoo/aotuvb4.51-${P}.diff.bz2 )"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE="aotuv"
-
-RDEPEND=">=media-libs/libogg-1.0"
-DEPEND="${RDEPEND}
- sys-apps/sed"
-
-S="${WORKDIR}"/${P/_*/}
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd "${S}"
-
- # Security patch for bug 186716.
- epatch "${FILESDIR}"/${P}-CVE-3106-4029.patch
-
- # Fix a gcc crash. With the new atexit patch to gcc, it
- # seems it does not handle -mno-ieee-fp very well.
- sed -i -e "s:-mno-ieee-fp::g" configure
-
- use aotuv && epatch "${DISTDIR}"/aotuvb4.51-${P}.diff.bz2
-
- elibtoolize
-
- epunt_cxx #74493
-}
-
-src_compile() {
- # Cannot compile with sse2 support it would seem #36104
- use x86 && [[ $(gcc-major-version) == 3 ]] && append-flags -mno-sse2
-
- # take out -fomit-frame-pointer from CFLAGS if k6-2
- is-flag -march=k6-3 && filter-flags -fomit-frame-pointer
- is-flag -march=k6-2 && filter-flags -fomit-frame-pointer
- is-flag -march=k6 && filter-flags -fomit-frame-pointer
-
- # over optimization causes horrible audio artifacts #26463
- filter-flags -march=pentium?
-
- # gcc-3.4 and k6 with -ftracer causes code generation problems #49472
- if [[ "$(gcc-major-version)$(gcc-minor-version)" == "34" ]]; then
- is-flag -march=k6* && filter-flags -ftracer
- is-flag -mtune=k6* && filter-flags -ftracer
-
- replace-flags -Os -O2
- fi
-
- # gcc on hppa causes issues when assembling
- use hppa && replace-flags -march=2.0 -march=1.0
-
- econf || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- rm -rf "${D}"/usr/share/doc
- dodoc AUTHORS README todo.txt
- docinto txt
- dodoc doc/*.txt
- dohtml -r doc
-}
diff --git a/media-libs/libvorbis/libvorbis-1.2.0-r1.ebuild b/media-libs/libvorbis/libvorbis-1.2.0-r1.ebuild
deleted file mode 100644
index 07b460f39c2c..000000000000
--- a/media-libs/libvorbis/libvorbis-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.2.0-r1.ebuild,v 1.1 2008/05/17 10:51:30 aballier Exp $
-
-inherit libtool flag-o-matic eutils toolchain-funcs
-
-DESCRIPTION="the Ogg Vorbis sound file format library"
-HOMEPAGE="http://xiph.org/vorbis"
-SRC_URI="http://downloads.xiph.org/releases/vorbis/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="doc"
-
-RDEPEND=">=media-libs/libogg-1"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- elibtoolize
-
- epunt_cxx #74493
-
- # Insane.
- sed -i -e "s:-O20::g" -e "s:-mfused-madd::g" configure
- sed -i -e "s:-mcpu=750::g" configure
- epatch "${FILESDIR}/${P}-CVE-2008-1419.patch"
- epatch "${FILESDIR}/${P}-CVE-2008-1420.patch"
- epatch "${FILESDIR}/${P}-CVE-2008-1423.patch"
-}
-
-src_compile() {
- # gcc-3.4 and k6 with -ftracer causes code generation problems #49472
- if [[ "$(gcc-major-version)$(gcc-minor-version)" == "34" ]]; then
- is-flag -march=k6* && filter-flags -ftracer
- is-flag -mtune=k6* && filter-flags -ftracer
- replace-flags -Os -O2
- fi
-
- econf
- emake || die "emake failed."
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
-
- rm -rf "${D}"/usr/share/doc/${P}
-
- dodoc AUTHORS CHANGES README todo.txt
-
- if use doc; then
- docinto txt
- dodoc doc/*.txt
- dohtml -r doc
- fi
-}
diff --git a/media-libs/libvorbis/libvorbis-1.2.0.ebuild b/media-libs/libvorbis/libvorbis-1.2.0.ebuild
deleted file mode 100644
index 713af616f71c..000000000000
--- a/media-libs/libvorbis/libvorbis-1.2.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.2.0.ebuild,v 1.12 2008/03/10 21:37:59 lu_zero Exp $
-
-inherit libtool flag-o-matic eutils toolchain-funcs
-
-DESCRIPTION="the Ogg Vorbis sound file format library"
-HOMEPAGE="http://xiph.org/vorbis"
-SRC_URI="http://downloads.xiph.org/releases/vorbis/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE="doc"
-
-RDEPEND=">=media-libs/libogg-1"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- elibtoolize
-
- epunt_cxx #74493
-
- # Insane.
- sed -i -e "s:-O20::g" -e "s:-mfused-madd::g" configure
- sed -i -e "s:-mcpu=750::g" configure
-}
-
-src_compile() {
- # gcc-3.4 and k6 with -ftracer causes code generation problems #49472
- if [[ "$(gcc-major-version)$(gcc-minor-version)" == "34" ]]; then
- is-flag -march=k6* && filter-flags -ftracer
- is-flag -mtune=k6* && filter-flags -ftracer
- replace-flags -Os -O2
- fi
-
- econf
- emake || die "emake failed."
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
-
- rm -rf "${D}"/usr/share/doc/${P}
-
- dodoc AUTHORS CHANGES README todo.txt
-
- if use doc; then
- docinto txt
- dodoc doc/*.txt
- dohtml -r doc
- fi
-}