public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] crossdev-wrappers openrc patch
@ 2008-08-04  6:29 Ahmed Ammar
  2008-08-04  6:51 ` Roy Marples
  0 siblings, 1 reply; 5+ messages in thread
From: Ahmed Ammar @ 2008-08-04  6:29 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 133 bytes --]

Hello,

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

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

[-- Attachment #2: crossdev-wrappers-20080622.ebuild.patch --]
[-- Type: text/x-patch, Size: 330 bytes --]

--- 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() {

[-- Attachment #3: crossdev-wrappers-openrc-fix.patch --]
[-- Type: text/x-patch, Size: 471 bytes --]

--- /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" )

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-04  8:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04  6:29 [gentoo-embedded] crossdev-wrappers openrc patch Ahmed Ammar
2008-08-04  6:51 ` Roy Marples
2008-08-04  7:49   ` Ahmed Ammar
2008-08-04  8:00     ` Roy Marples
2008-08-04  8:19       ` Ahmed Ammar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox