summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2004-08-27 22:56:24 +0000
committerJason Wever <weeve@gentoo.org>2004-08-27 22:56:24 +0000
commit23045f9980a983025d3cc3bb6ff6ef34bed5b0a5 (patch)
treef4f17361cbac744d52394db3ed66f0bcc970fcd9 /kde-base/kdeedu
parentBump to version 4.1, package.masked for now. I've probably screwed up porting... (diff)
downloadgentoo-2-23045f9980a983025d3cc3bb6ff6ef34bed5b0a5.tar.gz
gentoo-2-23045f9980a983025d3cc3bb6ff6ef34bed5b0a5.tar.bz2
gentoo-2-23045f9980a983025d3cc3bb6ff6ef34bed5b0a5.zip
Added ~sparc keywords for kde-3.3.0, yay
Diffstat (limited to 'kde-base/kdeedu')
-rw-r--r--kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch70
-rw-r--r--kde-base/kdeedu/kdeedu-3.3.0.ebuild10
2 files changed, 78 insertions, 2 deletions
diff --git a/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch b/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch
new file mode 100644
index 000000000000..3d7c0c5c5346
--- /dev/null
+++ b/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch
@@ -0,0 +1,70 @@
+Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
+===================================================================
+RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.cpp,v
+retrieving revision 1.3
+retrieving revision 1.3.2.1
+diff -u -p -r1.3 -r1.3.2.1
+--- kdeedu/kstars/kstars/indi/webcam/port.cpp 2004/07/06 21:19:01 1.3
++++ kdeedu/kstars/kstars/indi/webcam/port.cpp 2004/08/27 19:33:34 1.3.2.1
+@@ -38,7 +38,7 @@
+ #endif /* LOCKING */
+
+ #ifdef __linux__
+- #if defined(arm) || defined(__hppa__)
++ #if defined(arm) || defined(__hppa__) || defined(__sparc__) || defined(__ppc__) || defined(__powerpc__)
+ #include <fcntl.h>
+ #else
+ #include <sys/io.h>
+@@ -74,7 +74,7 @@ port_t::port_t(int iport) {
+ #endif /* LOCKING */
+
+ #ifdef LINUX
+-#if defined(arm) || defined(__hppa__)
++#if defined(arm) || defined(__hppa__) || defined(__sparc__) || defined(__ppc__) || defined(__powerpc__)
+ if ((devport = open("/dev/port", O_RDWR)) < 0) {
+ perror("open /dev/port");
+ return;
+@@ -118,7 +118,7 @@ port_t::~port_t(void) {
+ unlock(port);
+ #endif /* LOCKING */
+ #ifdef LINUX
+-#if defined(arm) || defined(__hppa__)
++#if defined(arm) || defined(__hppa__) || defined(__sparc__) || defined(__ppc__) || defined(__powerpc__)
+ if (devport >= 0)
+ close(devport);
+ #else
+Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
+===================================================================
+RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.h,v
+retrieving revision 1.3
+retrieving revision 1.3.2.1
+diff -u -p -r1.3 -r1.3.2.1
+--- kdeedu/kstars/kstars/indi/webcam/port.h 2004/07/06 21:19:01 1.3
++++ kdeedu/kstars/kstars/indi/webcam/port.h 2004/08/27 19:33:34 1.3.2.1
+@@ -35,7 +35,7 @@
+ #include <unistd.h>
+
+ #ifdef __linux__
+- #if !defined(arm) && !defined(__hppa__)
++ #if !defined(arm) && !defined(__hppa__) && !defined(__sparc__) && !defined(__ppc__) && !defined(__powerpc__)
+ #include <sys/io.h>
+ #endif /* !arm */
+ #elif defined(QNX)
+@@ -55,7 +55,7 @@
+ #error Please define a platform in the Makefile
+ #endif
+
+-#if defined(arm) || defined(__hppa__)
++#if defined(arm) || defined(__hppa__) || defined(__sparc__) || defined(__ppc__) || defined(__powerpc__)
+ static char ports_temp;
+
+ #ifdef inb
+@@ -114,7 +114,7 @@ private:
+ #ifdef FREEBSD
+ FILE *devio;
+ #endif
+-#if defined(__linux__) && (defined(arm) || defined(__hppa__))
++#if defined(__linux__) && (defined(arm) || defined(__hppa__) || defined(__sparc__) || defined(__ppc__) || defined(__powerpc__))
+ int devport;
+ #endif
+ };
diff --git a/kde-base/kdeedu/kdeedu-3.3.0.ebuild b/kde-base/kdeedu/kdeedu-3.3.0.ebuild
index 9477dcdadb36..2a9e91a4bb2d 100644
--- a/kde-base/kdeedu/kdeedu-3.3.0.ebuild
+++ b/kde-base/kdeedu/kdeedu-3.3.0.ebuild
@@ -1,10 +1,16 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-3.3.0.ebuild,v 1.1 2004/08/19 19:23:28 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-3.3.0.ebuild,v 1.2 2004/08/27 22:56:24 weeve Exp $
inherit kde-dist eutils
DESCRIPTION="KDE educational apps"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~x86 ~amd64 ~sparc"
IUSE=""
+
+src_unpack() {
+ kde_src_unpack
+ # Fix for SPARC compilation issues, may also work for PPC, PPC64
+ use sparc && epatch ${FILESDIR}/${P}-sparc.patch
+}