diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-04-30 14:29:12 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-04-30 14:29:12 +0000 |
commit | 393fc2635697839f38a536d14ecd7e51e4ec1c1a (patch) | |
tree | 70dabaea83700eaad416c00a2e129ab233960fea /dev-libs/glib | |
parent | Version bump. Adjust openresolv dependency, bug 467762 by Francisco Vazquez. (diff) | |
download | gentoo-2-393fc2635697839f38a536d14ecd7e51e4ec1c1a.tar.gz gentoo-2-393fc2635697839f38a536d14ecd7e51e4ec1c1a.tar.bz2 gentoo-2-393fc2635697839f38a536d14ecd7e51e4ec1c1a.zip |
On second thought, fix automake-1.13 compatibility properly, with patches.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'dev-libs/glib')
-rw-r--r-- | dev-libs/glib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/glib/files/glib-1.2.10-automake-1.13.patch | 23 | ||||
-rw-r--r-- | dev-libs/glib/files/glib-2.34.3-automake-1.13.patch | 23 | ||||
-rw-r--r-- | dev-libs/glib/glib-1.2.10-r5.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/glib/glib-2.32.4-r1.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/glib/glib-2.34.3.ebuild | 6 |
6 files changed, 65 insertions, 7 deletions
diff --git a/dev-libs/glib/ChangeLog b/dev-libs/glib/ChangeLog index 4bd2c8da0862..b88c038d1ee0 100644 --- a/dev-libs/glib/ChangeLog +++ b/dev-libs/glib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/glib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.557 2013/04/29 01:23:26 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.558 2013/04/30 14:29:12 tetromino Exp $ + + 30 Apr 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + glib-1.2.10-r5.ebuild, glib-2.32.4-r1.ebuild, glib-2.34.3.ebuild, + +files/glib-1.2.10-automake-1.13.patch, + +files/glib-2.34.3-automake-1.13.patch: + On second thought, fix automake-1.13 compatibility properly, with patches. 29 Apr 2013; Alexandre Rostovtsev <tetromino@gentoo.org> glib-1.2.10-r5.ebuild, glib-2.32.4-r1.ebuild, glib-2.34.3.ebuild: diff --git a/dev-libs/glib/files/glib-1.2.10-automake-1.13.patch b/dev-libs/glib/files/glib-1.2.10-automake-1.13.patch new file mode 100644 index 000000000000..abca1ed8db19 --- /dev/null +++ b/dev-libs/glib/files/glib-1.2.10-automake-1.13.patch @@ -0,0 +1,23 @@ +Replace macros deprecated in automake-1.13; fixed upstream in glib-2.36 + +diff --git a/configure.in b/configure.in +index e94cc77..d88d834 100644 +--- a/configure.in ++++ b/configure.in +@@ -60,7 +60,7 @@ PACKAGE=glib + AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) + + # Specify a configuration file +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + + AC_DEFINE_UNQUOTED(GLIB_MAJOR_VERSION, $GLIB_MAJOR_VERSION) + AC_DEFINE_UNQUOTED(GLIB_MINOR_VERSION, $GLIB_MINOR_VERSION) +@@ -151,7 +151,6 @@ AC_DEFINE_UNQUOTED(G_COMPILED_WITH_DEBUGGING, "${enable_debug}") + + # Checks for programs. + AC_PROG_CC +-AM_PROG_CC_STDC + AC_PROG_INSTALL + + changequote(,)dnl diff --git a/dev-libs/glib/files/glib-2.34.3-automake-1.13.patch b/dev-libs/glib/files/glib-2.34.3-automake-1.13.patch new file mode 100644 index 000000000000..5f4e7b6bbd32 --- /dev/null +++ b/dev-libs/glib/files/glib-2.34.3-automake-1.13.patch @@ -0,0 +1,23 @@ +Replace macros deprecated in automake-1.13; fixed upstream in glib-2.36 + +diff --git a/configure.ac b/configure.ac +index a3567b3..3e3d697 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -56,7 +56,7 @@ m4_define([glib_debug_default], + AC_INIT(glib, [glib_version], + [http://bugzilla.gnome.org/enter_bug.cgi?product=glib]) + +-AC_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_SRCDIR([glib/glib.h]) + AC_CONFIG_MACRO_DIR([m4macros]) + +@@ -291,7 +291,6 @@ AC_TRY_COMPILE(,[class a { int b; } c;], ,CXX=) + AM_CONDITIONAL(HAVE_CXX, [test "$CXX" != ""]) + AC_LANG_RESTORE + +-AM_PROG_CC_STDC + AM_PROG_CC_C_O + AC_PROG_INSTALL + diff --git a/dev-libs/glib/glib-1.2.10-r5.ebuild b/dev-libs/glib/glib-1.2.10-r5.ebuild index e08e0322535e..99e7bbb8c294 100644 --- a/dev-libs/glib/glib-1.2.10-r5.ebuild +++ b/dev-libs/glib/glib-1.2.10-r5.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.56 2013/04/29 01:23:26 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.57 2013/04/30 14:29:12 tetromino Exp $ EAPI="4" -WANT_AUTOMAKE="1.12" inherit autotools libtool flag-o-matic eutils portability @@ -32,6 +31,9 @@ src_prepare() { # Fix for -Wl,--as-needed (bug #133818) epatch "${DISTDIR}"/glib-1.2.10-r1-as-needed.patch.bz2 + # build failure with automake-1.13 + epatch "${FILESDIR}/${P}-automake-1.13.patch" + use ppc64 && use hardened && replace-flags -O[2-3] -O1 append-ldflags $(dlopen_lib) diff --git a/dev-libs/glib/glib-2.32.4-r1.ebuild b/dev-libs/glib/glib-2.32.4-r1.ebuild index 294bd321dbd1..d6e64a65e3a7 100644 --- a/dev-libs/glib/glib-2.32.4-r1.ebuild +++ b/dev-libs/glib/glib-2.32.4-r1.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.32.4-r1.ebuild,v 1.12 2013/04/29 01:23:26 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.32.4-r1.ebuild,v 1.13 2013/04/30 14:29:12 tetromino Exp $ EAPI="4" PYTHON_DEPEND="utils? 2" # Avoid runtime dependency on python when USE=test -WANT_AUTOMAKE="1.12" inherit autotools gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python toolchain-funcs virtualx linux-info @@ -110,6 +109,9 @@ src_prepare() { # https://bugzilla.gnome.org/show_bug.cgi?id=679306 epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-thread4.patch" + # build failure with automake-1.13; fixed upstream in 2.36 + epatch "${FILESDIR}/${PN}-2.34.3-automake-1.13.patch" + epatch_user # disable pyc compiling diff --git a/dev-libs/glib/glib-2.34.3.ebuild b/dev-libs/glib/glib-2.34.3.ebuild index 12922ce668a6..aab1cb2bdde6 100644 --- a/dev-libs/glib/glib-2.34.3.ebuild +++ b/dev-libs/glib/glib-2.34.3.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.34.3.ebuild,v 1.4 2013/04/29 01:23:26 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.34.3.ebuild,v 1.5 2013/04/30 14:29:12 tetromino Exp $ EAPI="5" PYTHON_DEPEND="utils? 2" # Avoid runtime dependency on python when USE=test -WANT_AUTOMAKE="1.12" inherit autotools gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python toolchain-funcs virtualx linux-info @@ -105,6 +104,9 @@ src_prepare() { # https://bugzilla.gnome.org/show_bug.cgi?id=679308 epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-gdbus-auth-tests.patch" + # build failure with automake-1.13; fixed upstream in 2.36 + epatch "${FILESDIR}/${PN}-2.34.3-automake-1.13.patch" + epatch_user # disable pyc compiling |