* [gentoo-commits] gentoo-x86 commit in media-libs/libfame/files: libfame-0.9.1-mmx-configure.ac.patch
@ 2013-08-11 16:29 Alexis Ballier (aballier)
0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2013-08-11 16:29 UTC (permalink / raw
To: gentoo-commits
aballier 13/08/11 16:29:45
Added: libfame-0.9.1-mmx-configure.ac.patch
Log:
Convert to multilib. autoreconf it so that it honours ldflags. Port patches to configure to configure.in.
(Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Revision Changes Path
1.1 media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch?rev=1.1&content-type=text/plain
Index: libfame-0.9.1-mmx-configure.ac.patch
===================================================================
Index: libfame-0.9.1/configure.in
===================================================================
--- libfame-0.9.1.orig/configure.in
+++ libfame-0.9.1/configure.in
@@ -101,12 +101,9 @@ if test x$ac_cv_prog_gcc = xyes; then
CFLAGS="$CFLAGS -Wall -fexpensive-optimizations -funroll-loops -ffast-math"
dnl -fstrict-aliasing doesn't seem to be supported by gcc < 2.95
- gcc_major_version=`$CC --version | \
- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- gcc_minor_version=`$CC --version | \
- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- gcc_micro_version=`$CC --version | \
- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+ gcc_major_version=`${CC} -dumpversion | cut -f1 -d.`
+ gcc_minor_version=`${CC} -dumpversion | cut -f2 -d.`
+ gcc_micro_version=`${CC} -dumpversion | cut -f3 -d.`
dnl ok, I must admit I don't know how to do or/and ;)
if test $gcc_major_version -eq 2; then
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-11 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-11 16:29 [gentoo-commits] gentoo-x86 commit in media-libs/libfame/files: libfame-0.9.1-mmx-configure.ac.patch Alexis Ballier (aballier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox