summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-31 02:20:58 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-31 02:20:58 +0000
commit89e6ac4ba93637c2c57fda26876902883684ce9a (patch)
tree7ce0c8ef057e9ee1c870a4efee7be35aa4a96d5e /sys-apps/initng
parentremove to CUPS from slp description, thanks to Markus <bugs@rennings.net> in ... (diff)
downloadgentoo-2-89e6ac4ba93637c2c57fda26876902883684ce9a.tar.gz
gentoo-2-89e6ac4ba93637c2c57fda26876902883684ce9a.tar.bz2
gentoo-2-89e6ac4ba93637c2c57fda26876902883684ce9a.zip
Fix building on ppc #145594 by jstrommer.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'sys-apps/initng')
-rw-r--r--sys-apps/initng/ChangeLog6
-rw-r--r--sys-apps/initng/files/initng-0.6.7-inotify-ppc.patch11
-rw-r--r--sys-apps/initng/initng-0.6.7.ebuild5
3 files changed, 20 insertions, 2 deletions
diff --git a/sys-apps/initng/ChangeLog b/sys-apps/initng/ChangeLog
index ede0c74f0ebe..ce1056d7873a 100644
--- a/sys-apps/initng/ChangeLog
+++ b/sys-apps/initng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/initng
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/ChangeLog,v 1.38 2006/06/11 19:05:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/ChangeLog,v 1.39 2006/08/31 02:20:58 vapier Exp $
+
+ 31 Aug 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/initng-0.6.7-inotify-ppc.patch, initng-0.6.7.ebuild:
+ Fix building on ppc #145594 by jstrommer.
*initng-0.6.7 (11 Jun 2006)
diff --git a/sys-apps/initng/files/initng-0.6.7-inotify-ppc.patch b/sys-apps/initng/files/initng-0.6.7-inotify-ppc.patch
new file mode 100644
index 000000000000..5371d0a800d8
--- /dev/null
+++ b/sys-apps/initng/files/initng-0.6.7-inotify-ppc.patch
@@ -0,0 +1,11 @@
+--- initng-0.6.7/plugins/fmon/inotify-syscalls.h
++++ initng-0.6.7/plugins/fmon/inotify-syscalls.h
+@@ -11,7 +11,7 @@
+ # define __NR_inotify_init 253
+ # define __NR_inotify_add_watch 254
+ # define __NR_inotify_rm_watch 255
+-#elif defined(__ppc__)
++#elif defined(__powerpc__)
+ # define __NR_inotify_init 275
+ # define __NR_inotify_add_watch 276
+ # define __NR_inotify_rm_watch 277
diff --git a/sys-apps/initng/initng-0.6.7.ebuild b/sys-apps/initng/initng-0.6.7.ebuild
index 7261641f7498..ea5ce9c975a7 100644
--- a/sys-apps/initng/initng-0.6.7.ebuild
+++ b/sys-apps/initng/initng-0.6.7.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-0.6.7.ebuild,v 1.3 2006/06/17 21:32:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-0.6.7.ebuild,v 1.4 2006/08/31 02:20:58 vapier Exp $
+
+inherit eutils
DESCRIPTION="A next generation init replacement"
HOMEPAGE="http://initng.org/"
@@ -32,6 +34,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-inotify-ppc.patch #145595
sed -i -e 's:-Werror::' CMakeLists.txt #136992
}