From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-2630-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KPtZd-0001Gg-IH
	for garchives@archives.gentoo.org; Mon, 04 Aug 2008 06:29:41 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 11CC7E02D0;
	Mon,  4 Aug 2008 06:29:40 +0000 (UTC)
Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.250])
	by pigeon.gentoo.org (Postfix) with ESMTP id D7B05E02D0
	for <gentoo-embedded@lists.gentoo.org>; Mon,  4 Aug 2008 06:29:39 +0000 (UTC)
Received: by rv-out-0708.google.com with SMTP id b17so1598489rvf.46
        for <gentoo-embedded@lists.gentoo.org>; Sun, 03 Aug 2008 23:29:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:subject:from:to:content-type
         :date:message-id:mime-version:x-mailer:sender;
        bh=qFbSVPjSEirpYp1jEkj+kgxdADzNi4ejHyhD76Exb/s=;
        b=Ar7wx3Yi6L7pvw8ouOhqLr0pUXpi6xsrL5Obt31i+qviBsx1IUJ4DGCfyXHAEgsEGC
         rSPFmlQPYa/sYbl0JxXMsaXeMrYjZXs70BFPwiNZV1WfvZYmfKrIZ2Ep1WGu61wmrYYs
         NO5cb53bQJbXktuYif4X9xKgc7ANhM37Xc8X4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=subject:from:to:content-type:date:message-id:mime-version:x-mailer
         :sender;
        b=WexyimEajklqu5C+caHMyy/LVS4mJxPGwKHB+wfOlFsgpzHoncgDeH3MtNeulqZPp5
         YmRNwXjOG2VDno9YBCkBXUumqjyv967m3mTtMn1bEiBA3iB68Lylq340L51uvlFuqr5v
         r1FNkTN+oBy7jSFey2hJfyv2t+Q4VX8TEVNPU=
Received: by 10.141.13.13 with SMTP id q13mr7371640rvi.11.1217831379394;
        Sun, 03 Aug 2008 23:29:39 -0700 (PDT)
Received: from ?192.168.2.6? ( [196.205.217.178])
        by mx.google.com with ESMTPS id g31sm6608538rvb.2.2008.08.03.23.29.37
        (version=SSLv3 cipher=RC4-MD5);
        Sun, 03 Aug 2008 23:29:39 -0700 (PDT)
Subject: [gentoo-embedded] crossdev-wrappers openrc patch
From: Ahmed Ammar <b33fc0d3@gentoo.org>
To: gentoo-embedded <gentoo-embedded@lists.gentoo.org>
Content-Type: multipart/mixed; boundary="=-7KPPWHU/Emh2yJSXJPas"
Date: Mon, 04 Aug 2008 09:29:32 +0300
Message-Id: <1217831372.31472.10.camel@localhost.localdomain>
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.22.2 
Sender: Ahmed Ammar <b33fc0d3@gmail.com>
X-Archives-Salt: 80460268-4c9e-45e2-b6af-c963174b7f87
X-Archives-Hash: fdcb3add98f160b23429628512c2873f


--=-7KPPWHU/Emh2yJSXJPas
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

I have attached a small patch for the wrappers to fix compatibility with
openrc.

-- 
Ahmed Ammar (b33fc0d3 [at] gentoo.org)

--=-7KPPWHU/Emh2yJSXJPas
Content-Disposition: attachment; filename=crossdev-wrappers-20080622.ebuild.patch
Content-Type: text/x-patch; name=crossdev-wrappers-20080622.ebuild.patch; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

--- crossdev-wrappers-20080622.ebuild.orig	2008-06-22 23:21:58.000000000 +0300
+++ crossdev-wrappers-20080622.ebuild	2008-08-04 09:25:00.000000000 +0300
@@ -20,6 +20,10 @@
 src_unpack() {
 	unpack ${A}
 	cd "${S}"
+
+	if has_version 'sys-apps/openrc' ; then
+		epatch "$FILESDIR"/${PN}-openrc-fix.patch
+	fi
 }
 
 src_compile() {

--=-7KPPWHU/Emh2yJSXJPas
Content-Disposition: attachment; filename=crossdev-wrappers-openrc-fix.patch
Content-Type: text/x-patch; name=crossdev-wrappers-openrc-fix.patch; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

--- /var/tmp/portage/sys-devel/crossdev-wrappers-20080622/work/crossdev-wrappers/cross-fix-root	2008-06-19 07:56:02.000000000 +0300
+++ /usr/bin/cross-fix-root	2008-08-04 09:18:17.000000000 +0300
@@ -45,4 +45,4 @@
 fix_pc_files ${CROSS_ROOT}
 pc_count=$?
 :
-( . /sbin/functions.sh ; einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" )
+( . /lib/rc/sh/functions.sh ; /lib/rc/bin/einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" )

--=-7KPPWHU/Emh2yJSXJPas--