rpms/ktechlab/devel ktechlab-0.3-ppc-includes.patch, NONE, 1.1 ktechlab.spec, 1.1, 1.2
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Fri Oct 13 14:27:48 UTC 2006
- Previous message (by thread): rpms/clisp/FC-5 .cvsignore, 1.7, 1.8 clisp.spec, 1.18, 1.19 sources, 1.8, 1.9
- Next message (by thread): rpms/ktechlab/devel ktechlab-0.3-ppc-includes.patch, 1.1, 1.2 ktechlab.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/ktechlab/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5659
Modified Files:
ktechlab.spec
Added Files:
ktechlab-0.3-ppc-includes.patch
Log Message:
try to fix compilation on ppc
ktechlab-0.3-ppc-includes.patch:
--- NEW FILE ktechlab-0.3-ppc-includes.patch ---
--- ktechlab-0.3/src/electronics/port.cpp.headers 2006-01-01 22:51:37.000000000 +0900
+++ ktechlab-0.3/src/electronics/port.cpp 2006-10-13 23:17:27.000000000 +0900
@@ -13,10 +13,9 @@
#include <kdebug.h>
#include <errno.h>
-#include <fcntl.h>
+#include <linux/fcntl.h>
#include <linux/ppdev.h>
-#include <sys/ioctl.h>
-#include <sys/io.h>
+#include <linux/ioctl.h>
#include <unistd.h>
//BEGIN class Port
Index: ktechlab.spec
===================================================================
RCS file: /cvs/extras/rpms/ktechlab/devel/ktechlab.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ktechlab.spec 27 Sep 2006 17:22:50 -0000 1.1
+++ ktechlab.spec 13 Oct 2006 14:27:48 -0000 1.2
@@ -1,6 +1,6 @@
Name: ktechlab
Version: 0.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Development and simulation of microcontrollers and electronic circuits
License: GPL
@@ -11,6 +11,7 @@
Patch0: ktechlab-0.3-pic.patch
Patch1: ktechlab-0.3.desktop.patch
+Patch2: ktechlab-0.3-ppc-includes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -42,6 +43,9 @@
%patch0 -p0 -b pic14.h
%patch1 -p0 -b ktechlab.desktop
+%ifarch ppc
+%patch2 -p1 -b .ppc-includes
+%endif
%build
%configure --disable-rpath
@@ -93,6 +97,9 @@
%Changelog
+* Fri Oct 13 2006 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.3-4
+- Try to fix compilation on ppc.
+
* Mon Sep 25 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-3
- Added gputils as requires
- Previous message (by thread): rpms/clisp/FC-5 .cvsignore, 1.7, 1.8 clisp.spec, 1.18, 1.19 sources, 1.8, 1.9
- Next message (by thread): rpms/ktechlab/devel ktechlab-0.3-ppc-includes.patch, 1.1, 1.2 ktechlab.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list