diff options
-rw-r--r-- | x11-libs/libxcb/ChangeLog | 5 | ||||
-rwxr-xr-x | x11-libs/libxcb/files/xcb-rebuilder.sh | 5 |
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 '') ;; |