summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-03-02 19:40:16 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-03-02 19:40:16 +0000
commit1109d591ab8687da049323fa8f28cd2ceabe7f5d (patch)
tree58b160cc13277c623f762d4ed0ee0282f8197431 /net-misc/tipcutils
parentVersion bump KDE 4.4.1 (diff)
downloadgentoo-2-1109d591ab8687da049323fa8f28cd2ceabe7f5d.tar.gz
gentoo-2-1109d591ab8687da049323fa8f28cd2ceabe7f5d.tar.bz2
gentoo-2-1109d591ab8687da049323fa8f28cd2ceabe7f5d.zip
New cflags patch thanks to Malcolm Lashley <mlashley@gmail.com>. Fixes bug #298143
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/tipcutils')
-rw-r--r--net-misc/tipcutils/ChangeLog9
-rw-r--r--net-misc/tipcutils/files/tipcutils-1.0.4-cflags.patch2
-rw-r--r--net-misc/tipcutils/tipcutils-1.0.4.ebuild10
3 files changed, 13 insertions, 8 deletions
diff --git a/net-misc/tipcutils/ChangeLog b/net-misc/tipcutils/ChangeLog
index f97c014793e0..ccf616a449d0 100644
--- a/net-misc/tipcutils/ChangeLog
+++ b/net-misc/tipcutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/tipcutils
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tipcutils/ChangeLog,v 1.3 2008/01/21 16:41:27 drac Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tipcutils/ChangeLog,v 1.4 2010/03/02 19:40:15 hwoarang Exp $
+
+ 02 Mar 2010; Markos Chandras <hwoarang@gentoo.org> tipcutils-1.0.4.ebuild,
+ files/tipcutils-1.0.4-cflags.patch:
+ New cflags patch thanks to Malcolm Lashley <mlashley@gmail.com>. Fixes bug
+ #298143
21 Jan 2008; Samuli Suominen <drac@gentoo.org>
+files/tipcutils-1.0.4-cflags.patch, tipcutils-1.0.4.ebuild:
diff --git a/net-misc/tipcutils/files/tipcutils-1.0.4-cflags.patch b/net-misc/tipcutils/files/tipcutils-1.0.4-cflags.patch
index 4080aa70f7f3..32343809be9a 100644
--- a/net-misc/tipcutils/files/tipcutils-1.0.4-cflags.patch
+++ b/net-misc/tipcutils/files/tipcutils-1.0.4-cflags.patch
@@ -13,7 +13,7 @@ diff -ur tipcutils-1.0.4.orig/Makefile tipcutils-1.0.4/Makefile
VERSION = 1.0.4
-CFLAGS = -Wall -O2 -I${KERNELDIR}/include -D VERSION=\"${VERSION}\"
-+CFLAGS += -Wall -I${KERNEL_DIR}/include -D VERSION=\"${VERSION}\"
++CFLAGS += -Wall -D VERSION=\"${VERSION}\"
all: tipc-config
diff --git a/net-misc/tipcutils/tipcutils-1.0.4.ebuild b/net-misc/tipcutils/tipcutils-1.0.4.ebuild
index c7c76820beb2..2c9d68fb40d2 100644
--- a/net-misc/tipcutils/tipcutils-1.0.4.ebuild
+++ b/net-misc/tipcutils/tipcutils-1.0.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tipcutils/tipcutils-1.0.4.ebuild,v 1.3 2008/01/21 16:44:08 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tipcutils/tipcutils-1.0.4.ebuild,v 1.4 2010/03/02 19:40:15 hwoarang Exp $
+
+EAPI="2"
inherit eutils linux-info toolchain-funcs
@@ -16,9 +18,7 @@ IUSE=""
DEPEND=""
RDEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare(){
epatch "${FILESDIR}"/${P}-cflags.patch
}