From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/gstreamer/files: gstreamer-0.10.21-bison241.patch |
Date: | Wed, 24 Dec 2008 11:53:05 |
Message-Id: | E1LFSIR-0007fG-IO@stork.gentoo.org |
1 | ssuominen 08/12/24 11:53:03 |
2 | |
3 | Added: gstreamer-0.10.21-bison241.patch |
4 | Log: |
5 | Patch configure to support three components in bisons versioning. Use versionator not to show bad example to our new developers. Speed up build time by disabling both static libs and examples. Use EAPI=2 functions which will be required for -r2. |
6 | (Portage version: 2.1.6.2/cvs/Linux 2.6.27.7 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-libs/gstreamer/files/gstreamer-0.10.21-bison241.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gstreamer/files/gstreamer-0.10.21-bison241.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gstreamer/files/gstreamer-0.10.21-bison241.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: gstreamer-0.10.21-bison241.patch |
15 | =================================================================== |
16 | --- common/m4/gst-parser.m4 2008/07/20 19:55:14 1.12 |
17 | +++ common/m4/gst-parser.m4 2008/12/15 07:06:26 1.13 |
18 | @@ -15,10 +15,7 @@ |
19 | bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d' ' -f1` |
20 | AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version]) |
21 | |
22 | - if perl -w <<EOF |
23 | - exit ($bison_version < $bison_min_version) ? 0 : 1; |
24 | -EOF |
25 | - then |
26 | + if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then |
27 | AC_MSG_RESULT([yes]) |
28 | else |
29 | AC_MSG_ERROR([no]) |