summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2006-05-19 11:26:50 +0000
committerChris Bainbridge <chrb@gentoo.org>2006-05-19 11:26:50 +0000
commit766030d94c3e8e5c2168be0959e13b71ecbeb1fc (patch)
treee2fab33c5ab2b6e19ecd629549de7ce0e4259fe5 /app-misc
parentbump to rsbac 1.2.6 (diff)
downloadgentoo-2-766030d94c3e8e5c2168be0959e13b71ecbeb1fc.tar.gz
gentoo-2-766030d94c3e8e5c2168be0959e13b71ecbeb1fc.tar.bz2
gentoo-2-766030d94c3e8e5c2168be0959e13b71ecbeb1fc.zip
compile fix thanks to Matheus Izvekov #133070
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/linuxspa/ChangeLog8
-rw-r--r--app-misc/linuxspa/files/digest-linuxspa-0.7.12
-rw-r--r--app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch12
-rw-r--r--app-misc/linuxspa/linuxspa-0.7.1.ebuild6
4 files changed, 24 insertions, 4 deletions
diff --git a/app-misc/linuxspa/ChangeLog b/app-misc/linuxspa/ChangeLog
index 1274951de029..5ceac027ea77 100644
--- a/app-misc/linuxspa/ChangeLog
+++ b/app-misc/linuxspa/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/linuxspa
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/linuxspa/ChangeLog,v 1.1 2005/10/26 14:54:28 chrb Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/linuxspa/ChangeLog,v 1.2 2006/05/19 11:26:50 chrb Exp $
+
+ 19 May 2006; <chrb@gentoo.org> +files/linuxspa-0.7.1-compile-fix.patch,
+ linuxspa-0.7.1.ebuild:
+ compile fix thanks to Matheus Izvekov #133070
*linuxspa-0.7.1 (26 Oct 2005)
diff --git a/app-misc/linuxspa/files/digest-linuxspa-0.7.1 b/app-misc/linuxspa/files/digest-linuxspa-0.7.1
index 83dfa5fc3732..ee709ef00823 100644
--- a/app-misc/linuxspa/files/digest-linuxspa-0.7.1
+++ b/app-misc/linuxspa/files/digest-linuxspa-0.7.1
@@ -1 +1,3 @@
MD5 93087979d94f6d9bb2914c57d5e785d9 LinuxSPA-0.7.1.tgz 45448
+RMD160 3128d43e2558082805bedbb220bcd1ac15ea985e LinuxSPA-0.7.1.tgz 45448
+SHA256 7acef814174e2007d201f8b14a432075ede3709317c4632916dcca04187c97d1 LinuxSPA-0.7.1.tgz 45448
diff --git a/app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch b/app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch
new file mode 100644
index 000000000000..d8a3c858647b
--- /dev/null
+++ b/app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch
@@ -0,0 +1,12 @@
+diff -ur a/std232.c b/std232.c
+--- a/std232.c 2003-07-18 22:08:33.000000000 -0300
++++ b/std232.c 2006-05-11 21:31:33.000000000 -0300
+@@ -89,7 +89,7 @@
+ {
+ unsigned int index;
+
+- (unsigned int) index = strtol(temp, NULL, 16);
++ index = strtol(temp, NULL, 16);
+ if (index < 256)
+ return (&cmatrix[index][0]);
+ else return (&dmatrix[0]);
diff --git a/app-misc/linuxspa/linuxspa-0.7.1.ebuild b/app-misc/linuxspa/linuxspa-0.7.1.ebuild
index a72c36abc4a1..fed9e77973a8 100644
--- a/app-misc/linuxspa/linuxspa-0.7.1.ebuild
+++ b/app-misc/linuxspa/linuxspa-0.7.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/linuxspa/linuxspa-0.7.1.ebuild,v 1.1 2005/10/26 14:54:28 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/linuxspa/linuxspa-0.7.1.ebuild,v 1.2 2006/05/19 11:26:50 chrb Exp $
inherit eutils
DESCRIPTION="Linux Serial Protocol Analyser"
@@ -17,6 +17,8 @@ S=${WORKDIR}/${MY_PN}
src_unpack() {
unpack ${A}
sed -i -e "s/CFLAGS\W*=.*/CFLAGS = ${CFLAGS}/" ${S}/Makefile
+ cd ${S}
+ epatch ${FILESDIR}/${P}-compile-fix.patch
}
src_compile() {