fix eqawarn to always return 0; this matches portage behaviour which annoyingly,...
authorBrian Harring <ferringb@gentoo.org>
Fri, 2 Dec 2011 10:22:41 +0000 (10:22 +0000)
committerBrian Harring <ferringb@gentoo.org>
Fri, 2 Dec 2011 10:22:41 +0000 (10:22 +0000)
eclass/ChangeLog
eclass/eutils.eclass

index 718dde05e094a3eb1799d5651e2c87dd46a873e6..fa1590abd0be85e0789314a1e2c1c40173651edc 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.30 2011/11/27 09:57:20 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.31 2011/12/02 10:22:41 ferringb Exp $
+
+  02 Dec 2011; Brian Harring <ferringb@gentoo.org> eutils.eclass:
+  Fix eqawarn to match portage's return code; this fixes sporadic failures
+  in alternate managers for packages like freetype that bleed the
+  return code through.
 
   27 Nov 2011; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
   Revert making pushd/popd fatal due to humongous breakage. Add a warning
index 2e0ea1a2238724725742d9a317ef23fc147c52c7..32c19a65bd46fb309175cbbd46a3cf5f944ec42e 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.369 2011/12/02 03:27:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.370 2011/12/02 10:22:41 ferringb Exp $
 
 # @ECLASS: eutils.eclass
 # @MAINTAINER:
@@ -72,6 +72,7 @@ fi
 if ! declare -F eqawarn >/dev/null ; then
        eqawarn() {
                has qa ${PORTAGE_ELOG_CLASSES} && ewarn "$@"
+               :
        }
 fi