summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-21 09:42:18 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-21 09:42:18 +0000
commita8107de8ae5db3f5b931f22fe248598eb4a4f7c6 (patch)
tree406804e24c678bcfd5addb64b939c5bebbbb8669 /x11-libs
parentStable for HPPA (bug #532914). (diff)
downloadgentoo-2-a8107de8ae5db3f5b931f22fe248598eb4a4f7c6.tar.gz
gentoo-2-a8107de8ae5db3f5b931f22fe248598eb4a4f7c6.tar.bz2
gentoo-2-a8107de8ae5db3f5b931f22fe248598eb4a4f7c6.zip
Use sys-apps/gentoo-functions in xcb-rebuilder, bug #504420.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libxcb/ChangeLog5
-rwxr-xr-xx11-libs/libxcb/files/xcb-rebuilder.sh5
2 files changed, 8 insertions, 2 deletions
diff --git a/x11-libs/libxcb/ChangeLog b/x11-libs/libxcb/ChangeLog
index fcac79246cfd..da96d6e64efc 100644
--- a/x11-libs/libxcb/ChangeLog
+++ b/x11-libs/libxcb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/libxcb
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/ChangeLog,v 1.146 2014/10/22 17:27:57 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/ChangeLog,v 1.147 2014/12/21 09:42:18 mgorny Exp $
+
+ 21 Dec 2014; Michał Górny <mgorny@gentoo.org> files/xcb-rebuilder.sh:
+ Use sys-apps/gentoo-functions in xcb-rebuilder, bug #504420.
*libxcb-1.11 (22 Oct 2014)
diff --git a/x11-libs/libxcb/files/xcb-rebuilder.sh b/x11-libs/libxcb/files/xcb-rebuilder.sh
index f5be0c1d17ed..43625622303b 100755
--- a/x11-libs/libxcb/files/xcb-rebuilder.sh
+++ b/x11-libs/libxcb/files/xcb-rebuilder.sh
@@ -3,7 +3,10 @@
# To use something besides `emerge` to install packages, set
# XCB_REBUILDER_INSTALL to that binary.
-. /etc/init.d/functions.sh
+if ! . /lib/gentoo/functions.sh 2>/dev/null; then
+ echo 'Please install sys-apps/gentoo-functions and rerun this script.'
+ exit 1
+fi
case ${1} in
'') ;;