rpms/bbkeys/devel bbkeys-0.9.0-gcc43.patch, NONE, 1.1 bbkeys.spec, 1.18, 1.19

Matthias Saou (thias) fedora-extras-commits at redhat.com
Sun Feb 24 08:34:17 UTC 2008


Author: thias

Update of /cvs/extras/rpms/bbkeys/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7405

Modified Files:
	bbkeys.spec 
Added Files:
	bbkeys-0.9.0-gcc43.patch 
Log Message:
Include patch to fix build failure with gcc 4.3.


bbkeys-0.9.0-gcc43.patch:

--- NEW FILE bbkeys-0.9.0-gcc43.patch ---
diff -Naupr bbkeys-0.9.0.orig/src/actions.cc bbkeys-0.9.0/src/actions.cc
--- bbkeys-0.9.0.orig/src/actions.cc	2005-02-20 22:03:43.000000000 +0100
+++ bbkeys-0.9.0/src/actions.cc	2008-02-24 09:26:30.000000000 +0100
@@ -25,7 +25,8 @@
 #include "actions.hh"
 
 #include <iostream>
-#include <string>
+#include <cstring>
+#include <cstdlib>
 #include <sstream>
 
 Action::Action(enum ActionType type, Display * display, KeyCode keycode, 
diff -Naupr bbkeys-0.9.0.orig/src/Config.cpp bbkeys-0.9.0/src/Config.cpp
--- bbkeys-0.9.0.orig/src/Config.cpp	2004-09-03 03:08:00.000000000 +0200
+++ bbkeys-0.9.0/src/Config.cpp	2008-02-24 09:29:55.000000000 +0100
@@ -24,7 +24,7 @@
 
 
 #include "Config.h"
-#include <string>
+#include <cstring>
 
 #include <iostream>
 using std::cout;
diff -Naupr bbkeys-0.9.0.orig/src/KeyClient.cpp bbkeys-0.9.0/src/KeyClient.cpp
--- bbkeys-0.9.0.orig/src/KeyClient.cpp	2004-09-26 04:27:46.000000000 +0200
+++ bbkeys-0.9.0/src/KeyClient.cpp	2008-02-24 09:26:14.000000000 +0100
@@ -58,6 +58,7 @@ extern "C" {
 #include <iostream>
 #include <algorithm>
 #include <vector>
+#include <cstring>
 
 //--------------------------------------------------------
 // Constructor/Destructor
diff -Naupr bbkeys-0.9.0.orig/src/main.cpp bbkeys-0.9.0/src/main.cpp
--- bbkeys-0.9.0.orig/src/main.cpp	2004-09-16 02:53:51.000000000 +0200
+++ bbkeys-0.9.0/src/main.cpp	2008-02-24 09:31:38.000000000 +0100
@@ -27,6 +27,8 @@
 
 #include "main.h"
 
+#include <cstring>
+
 //--------------------------------------------------------
 // parseOptions
 //--------------------------------------------------------
diff -Naupr bbkeys-0.9.0.orig/src/Netclient.cpp bbkeys-0.9.0/src/Netclient.cpp
--- bbkeys-0.9.0.orig/src/Netclient.cpp	2004-09-26 04:27:46.000000000 +0200
+++ bbkeys-0.9.0/src/Netclient.cpp	2008-02-24 09:30:41.000000000 +0100
@@ -25,6 +25,7 @@
 // Methods, ideas, implementations taken from Openbox's XAtom class *sigh*
 
 #include "Netclient.h"
+#include <cstring>
 
 Netclient::Netclient (const bt::Display &display)
   : bt::EWMH(display), _display(display)


Index: bbkeys.spec
===================================================================
RCS file: /cvs/extras/rpms/bbkeys/devel/bbkeys.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- bbkeys.spec	20 Feb 2008 03:58:04 -0000	1.18
+++ bbkeys.spec	24 Feb 2008 08:33:29 -0000	1.19
@@ -6,6 +6,7 @@
 Group: User Interface/Desktops
 URL: http://bbkeys.sourceforge.net/
 Source: http://downloads.sf.net/bbkeys/bbkeys-%{version}.tar.gz
+Patch0: bbkeys-0.9.0-gcc43.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: blackbox-devel
 BuildRequires: libX11-devel, libXext-devel
@@ -20,6 +21,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc43
 
 
 %build
@@ -51,7 +53,10 @@
 
 
 %changelog
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.9.0-10
+* Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 0.9.0-11
+- Include patch to fix build failure with gcc 4.3.
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org>
 - Autorebuild for GCC 4.3
 
 * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 0.9.0-9




More information about the fedora-extras-commits mailing list