diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-11-10 11:57:53 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-11-10 11:57:53 +0000 |
commit | 79fd261981a596a2ed4cfb7b516d1dbb10abd19b (patch) | |
tree | d1f435b9336893485501314ee512abe27ccd5571 /media-libs/alsa-lib | |
parent | New release. (diff) | |
download | historical-79fd261981a596a2ed4cfb7b516d1dbb10abd19b.tar.gz historical-79fd261981a596a2ed4cfb7b516d1dbb10abd19b.tar.bz2 historical-79fd261981a596a2ed4cfb7b516d1dbb10abd19b.zip |
Added patch to not link tests statically (should fix bug #99764) and patch to remove omixer test and fix code.c for GCC4 (bug #112025).
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'media-libs/alsa-lib')
-rw-r--r-- | media-libs/alsa-lib/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/alsa-lib/Manifest | 12 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.0.10_rc3.ebuild | 13 | ||||
-rw-r--r-- | media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-hardened.patch | 12 | ||||
-rw-r--r-- | media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-test.patch | 70 |
5 files changed, 107 insertions, 8 deletions
diff --git a/media-libs/alsa-lib/ChangeLog b/media-libs/alsa-lib/ChangeLog index 61bf19c1c2da..789eef8f4ddc 100644 --- a/media-libs/alsa-lib/ChangeLog +++ b/media-libs/alsa-lib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/alsa-lib # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.128 2005/11/08 12:19:12 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.129 2005/11/10 11:57:53 flameeyes Exp $ + + 10 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/alsa-lib-1.0.10_rc3-hardened.patch, + +files/alsa-lib-1.0.10_rc3-test.patch, alsa-lib-1.0.10_rc3.ebuild: + Added patch to not link tests statically (should fix bug #99764) and patch + to remove omixer test and fix code.c for GCC4 (bug #112025). *alsa-lib-1.0.10_rc3 (08 Nov 2005) diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest index 3423eb49442a..f017425b442a 100644 --- a/media-libs/alsa-lib/Manifest +++ b/media-libs/alsa-lib/Manifest @@ -1,13 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 318a334004250310dc77498281960f15 ChangeLog 18993 +MD5 d45fc624a7251afd0bcc1d921e354db8 ChangeLog 19301 MD5 9c272add7e13dc69bac9eaf8c2cd0771 alsa-lib-0.9.8.ebuild 1558 MD5 77c3e00bc7cdcc58844ba5f9229343b4 alsa-lib-1.0.10_rc2.ebuild 1869 -MD5 8df77ba1a7df7763ff24e5e8b169ad98 alsa-lib-1.0.10_rc3.ebuild 1867 +MD5 3c09fd456ab9e7e045f6043024c05077 alsa-lib-1.0.10_rc3.ebuild 2011 MD5 255565a888541274148ccb6e1b226eb5 alsa-lib-1.0.7.ebuild 2051 MD5 51ae1bb8d288687265e0dc774e2b377c alsa-lib-1.0.8.ebuild 1581 MD5 a8445caff5c6c234b3b9886b51b6f74e alsa-lib-1.0.9.ebuild 1802 +MD5 9830a2c761b8398d52f1ad7b9bf98a6b files/alsa-lib-1.0.10_rc3-hardened.patch 454 +MD5 67f0da0c0ffbbe55bcac7636ef64c592 files/alsa-lib-1.0.10_rc3-test.patch 2122 MD5 ff6b3f2ba9f419d2e31c55f93da0e170 files/alsa-lib-1.0.7-pcm_wait.patch 342 MD5 d832d735aa8fa9959ff66276eb648cef files/alsa-lib-1.0.8-gcc4.patch 1656 MD5 afc44aabeb36448990c19eaa9b3dfce0 files/alsa-lib-mixer.patch 264 @@ -22,7 +24,7 @@ MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDcJfMj5H05b2HAEkRAmKEAJ0ZJ9Dd7OTOhP7V5Uvg08yVNmoMVgCffQ0k -EIZW48qm6/cgIl34s+zhBok= -=eRI9 +iD8DBQFDczXnj5H05b2HAEkRAhTDAJ9jRnZKek3w3oQHbfau9nlpbBgeGgCdG19+ +jCXxHMGcX15/ecL2ya8pQPM= +=Yegc -----END PGP SIGNATURE----- diff --git a/media-libs/alsa-lib/alsa-lib-1.0.10_rc3.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.10_rc3.ebuild index bb5b268b0f75..252caf27c102 100644 --- a/media-libs/alsa-lib/alsa-lib-1.0.10_rc3.ebuild +++ b/media-libs/alsa-lib/alsa-lib-1.0.10_rc3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.10_rc3.ebuild,v 1.1 2005/11/08 12:19:12 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.10_rc3.ebuild,v 1.2 2005/11/10 11:57:53 flameeyes Exp $ -inherit eutils +inherit eutils autotools MY_P="${P/_rc/rc}" S="${WORKDIR}/${MY_P}" @@ -25,6 +25,15 @@ DEPEND="${RDEPEND} PDEPEND="jack? ( =media-plugins/alsa-jack-${PV/_rc*/}* )" +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${P}-hardened.patch" + epatch "${FILESDIR}/${P}-test.patch" + + eautoreconf +} + src_compile() { # needed to avoid gcc looping internaly use hppa && export CFLAGS="-O1 -pipe" diff --git a/media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-hardened.patch b/media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-hardened.patch new file mode 100644 index 000000000000..a064c702dc4a --- /dev/null +++ b/media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-hardened.patch @@ -0,0 +1,12 @@ +Index: alsa-lib-1.0.10rc3/test/Makefile.am +=================================================================== +--- alsa-lib-1.0.10rc3.orig/test/Makefile.am ++++ alsa-lib-1.0.10rc3/test/Makefile.am +@@ -16,6 +16,6 @@ queue_timer_LDADD=../src/libasound.la + code_CFLAGS=-Wall -pipe -g -O2 + + INCLUDES=-I$(top_srcdir)/include +-AM_CFLAGS=-static -Wall -pipe -g ++AM_CFLAGS=-Wall -pipe -g + + EXTRA_DIST=seq-decoder.c seq-sender.c midifile.h midifile.c midifile.3 diff --git a/media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-test.patch b/media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-test.patch new file mode 100644 index 000000000000..6c2e706ef107 --- /dev/null +++ b/media-libs/alsa-lib/files/alsa-lib-1.0.10_rc3-test.patch @@ -0,0 +1,70 @@ +Index: alsa-lib-1.0.10rc3/test/Makefile.am +=================================================================== +--- alsa-lib-1.0.10rc3.orig/test/Makefile.am ++++ alsa-lib-1.0.10rc3/test/Makefile.am +@@ -1,6 +1,6 @@ + check_PROGRAMS=control pcm latency seq \ + playmidi1 timer rawmidi midiloop \ +- omixer code oldapi queue_timer ++ code oldapi queue_timer + + control_LDADD=../src/libasound.la + pcm_LDADD=../src/libasound.la +@@ -10,7 +10,6 @@ playmidi1_LDADD=../src/libasound.la + timer_LDADD=../src/libasound.la + rawmidi_LDADD=../src/libasound.la + midiloop_LDADD=../src/libasound.la +-omixer_LDADD=../src/libasound.la + oldapi_LDADD=../src/libasound.la + queue_timer_LDADD=../src/libasound.la + code_CFLAGS=-Wall -pipe -g -O2 +Index: alsa-lib-1.0.10rc3/test/code.c +=================================================================== +--- alsa-lib-1.0.10rc3.orig/test/code.c ++++ alsa-lib-1.0.10rc3/test/code.c +@@ -96,8 +96,8 @@ void mix_areas_srv(unsigned int size, + { + while (size-- > 0) { + atomic_add(sum, *src); +- ((char*)src) += src_step; +- ((char*)sum) += sum_step; ++ src = (((char*)src) + src_step); ++ sum = (((char*)sum) + sum_step); + } + } + +@@ -113,8 +113,8 @@ void saturate(unsigned int size, + *dst = 0x7fff; + else + *dst = sample; +- ((char*)dst) += dst_step; +- ((char*)sum) += sum_step; ++ dst = (((char*)dst) + dst_step); ++ sum = (((char*)sum) + sum_step); + } + } + +@@ -133,9 +133,9 @@ void mix_areas0(unsigned int size, + *dst = 0x7fff; + else + *dst = sample; +- ((char *)dst) += dst_step; +- ((char *)src) += src_step; +- ((char *)sum) += sum_step; ++ dst = (((char*)dst) + dst_step); ++ src = (((char*)src) + src_step); ++ sum = (((char*)sum) + sum_step); + } + } + +@@ -167,8 +167,8 @@ void mix_areas2(unsigned int size, + *dst = sample; + } while (unlikely(sample != *sum)); + sum++; +- ((char *)dst) += dst_step; +- ((char *)src) += src_step; ++ dst = (((char*)dst) + dst_step); ++ src = (((char*)src) + src_step); + } + } + |