summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-10-22 22:37:30 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-10-22 22:37:30 +0000
commit89cb88935c31d36fa02cc349447d141003aa5c26 (patch)
tree2b4082644d896f2c8755efd6aab655ecafe0cbba /media-libs/exempi
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-89cb88935c31d36fa02cc349447d141003aa5c26.tar.gz
gentoo-2-89cb88935c31d36fa02cc349447d141003aa5c26.tar.bz2
gentoo-2-89cb88935c31d36fa02cc349447d141003aa5c26.zip
add missing patch, bug #243024.
(Portage version: 2.2_rc12/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
Diffstat (limited to 'media-libs/exempi')
-rw-r--r--media-libs/exempi/ChangeLog6
-rw-r--r--media-libs/exempi/exempi-2.0.2.ebuild4
-rw-r--r--media-libs/exempi/files/exempi-1.99.9-boost.m4.BOOST_FIND_LIB.patch35
3 files changed, 42 insertions, 3 deletions
diff --git a/media-libs/exempi/ChangeLog b/media-libs/exempi/ChangeLog
index 999e708969f2..3600f3dc18fd 100644
--- a/media-libs/exempi/ChangeLog
+++ b/media-libs/exempi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/exempi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/ChangeLog,v 1.1 2008/10/11 22:30:41 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/ChangeLog,v 1.2 2008/10/22 22:37:30 eva Exp $
+
+ 22 Oct 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/exempi-1.99.9-boost.m4.BOOST_FIND_LIB.patch, exempi-2.0.2.ebuild:
+ add missing patch, bug #243024.
*exempi-2.0.2 (11 Oct 2008)
diff --git a/media-libs/exempi/exempi-2.0.2.ebuild b/media-libs/exempi/exempi-2.0.2.ebuild
index b9048a8fd095..f2f70e6ee9bc 100644
--- a/media-libs/exempi/exempi-2.0.2.ebuild
+++ b/media-libs/exempi/exempi-2.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/exempi-2.0.2.ebuild,v 1.1 2008/10/11 22:30:41 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/exempi-2.0.2.ebuild,v 1.2 2008/10/22 22:37:30 eva Exp $
inherit autotools eutils
@@ -27,7 +27,7 @@ src_unpack() {
# don't waste time on autoreconf for those who don't want to run unit tests
if use test; then
epatch "${FILESDIR}/${PN}-1.99.9-boost.m4.BOOST_FIND_LIB.patch"
- AT_M4DIR="m4" eautoreconf
+ eautoreconf
fi
}
diff --git a/media-libs/exempi/files/exempi-1.99.9-boost.m4.BOOST_FIND_LIB.patch b/media-libs/exempi/files/exempi-1.99.9-boost.m4.BOOST_FIND_LIB.patch
new file mode 100644
index 000000000000..23592d36da2b
--- /dev/null
+++ b/media-libs/exempi/files/exempi-1.99.9-boost.m4.BOOST_FIND_LIB.patch
@@ -0,0 +1,35 @@
+--- orig/m4/boost.m4 2008-01-22 18:46:39.000000000 -0500
++++ new/m4/boost.m4 2008-01-26 01:53:00.000000000 -0500
+@@ -227,10 +227,15 @@
+ mt* | mt-*) boost_mt=-mt; boost_rtopt=`expr "X$2" : 'Xmt-*\(.*\)'`;; #(
+ *) boost_mt=; boost_rtopt=$2;;
+ esac
+- # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
++ # Find the proper debug variant depending on what we've been asked to find.
+ case $boost_rtopt in #(
+- *[[a-z0-9A-Z]]*) boost_rtopt="-$boost_rtopt";;
++ *d*) boost_rt_d="-$boost_rtopt";; #(
++ *[[sgpn]]*) # Insert the `d' at the right place (in between `sg' and `pn')
++ boost_rt_d=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/-\1d\2/'`;; #(
++ *) boost_rt_d='-d';;
+ esac
++ # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
++ test -n "$boost_rtopt" && boost_rtopt="-$boost_rtopt"
+ $boost_guess_use_mt && boost_mt=-mt
+ # Look for the abs path the static archive.
+ # $libext is computed by Libtool but let's make sure it's non empty.
+@@ -266,12 +271,11 @@
+ for boost_tag_ in -$boost_cv_lib_tag ''; do
+ for boost_ver_ in -$boost_cv_lib_version ''; do
+ for boost_mt_ in $boost_mt -mt ''; do
+-for boost_rtopt_ in $boost_rtopt '' -d; do
++for boost_rtopt_ in $boost_rtopt $boost_rt_d; do
+ for boost_lib in \
+ boost_$1$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
+- boost_$1$boost_tag_$boost_mt_$boost_ver_ \
+ boost_$1$boost_tag_$boost_rtopt_$boost_ver_ \
+- boost_$1$boost_tag_$boost_mt_ \
++ boost_$1$boost_tag_$boost_mt_$boost_ver_ \
+ boost_$1$boost_tag_$boost_ver_
+ do
+ # Avoid testing twice the same lib