rpms/lineakd/devel lineakd-0.9-gcc43-2.patch, NONE, 1.1 lineakd.spec, 1.9, 1.10

Matt Domsch mdomsch at fedoraproject.org
Wed Sep 10 19:53:19 UTC 2008


Author: mdomsch

Update of /cvs/extras/rpms/lineakd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13676

Modified Files:
	lineakd.spec 
Added Files:
	lineakd-0.9-gcc43-2.patch 
Log Message:
fix FTBFS bug

lineakd-0.9-gcc43-2.patch:

--- NEW FILE lineakd-0.9-gcc43-2.patch ---
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal lineakd-0.9.orig/lineak/cdromctrl.cpp lineakd-0.9/lineak/cdromctrl.cpp
--- lineakd-0.9.orig/lineak/cdromctrl.cpp	2008-09-10 14:41:12.000000000 -0500
+++ lineakd-0.9/lineak/cdromctrl.cpp	2008-09-10 14:38:44.000000000 -0500
@@ -55,6 +55,7 @@ extern "C" {
 
 }
 #include <iostream>
+#include <cstring>
 
 extern bool verbose;
 //using namespace lineak_core_functions;
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal lineakd-0.9.orig/lineak/pluginmanager.cpp lineakd-0.9/lineak/pluginmanager.cpp
--- lineakd-0.9.orig/lineak/pluginmanager.cpp	2008-09-10 14:41:51.000000000 -0500
+++ lineakd-0.9/lineak/pluginmanager.cpp	2008-09-10 14:38:12.000000000 -0500
@@ -23,6 +23,8 @@
 #include <map>
 #include <iostream>
 #include <algorithm>
+#include <cstring>
+#include <cstdlib>
 
 #include <lineak/displayctrl.h>
 #include <lineak/lkbd.h>
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal lineakd-0.9.orig/lineak/xmgr.cpp lineakd-0.9/lineak/xmgr.cpp
--- lineakd-0.9.orig/lineak/xmgr.cpp	2008-09-10 14:41:38.000000000 -0500
+++ lineakd-0.9/lineak/xmgr.cpp	2008-09-10 14:36:49.000000000 -0500
@@ -15,6 +15,8 @@
  *                                                                         *
  ***************************************************************************/
 
+#include <cstring>
+#include <cstdlib>
 #include <lineak/xmgr.h>
 #include <lineak/lkbd.h>
 #include <lineak/lkey.h>


Index: lineakd.spec
===================================================================
RCS file: /cvs/extras/rpms/lineakd/devel/lineakd.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- lineakd.spec	6 Jun 2008 18:01:45 -0000	1.9
+++ lineakd.spec	10 Sep 2008 19:52:49 -0000	1.10
@@ -4,7 +4,7 @@
 
 Name:           lineakd
 Version:        0.9
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Linux support for Easy Access and Multimedia keyboards
 
 Group:          User Interface/Desktops
@@ -16,6 +16,7 @@
 Source:         http://dl.sourceforge.net/lineak/%{name}-%{version}.tar.gz
 Patch0:         install_dirs.patch
 Patch1:         lineakd-0.9-gcc43.patch
+Patch2:         lineakd-0.9-gcc43-2.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -54,6 +55,7 @@
 %setup -q
 %patch0
 %patch1 -p1
+%patch2 -p1
 
 ################################################################################
 
@@ -108,6 +110,9 @@
 ################################################################################
 
 %changelog
+* Wed Sep 10 2008 Matt Domsch <mdomsch at fedoraproject.org> - 0.9-8
+- fix FTBFS #434523
+
 * Fri Jun  6 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.9-7
 - fix license tag
 - fix compile with gcc 4.3




More information about the fedora-extras-commits mailing list