rpms/ois/devel ois-1.0-gcc43.patch,NONE,1.1 ois.spec,1.2,1.3
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Wed Jan 9 12:16:04 UTC 2008
Author: jwrdegoede
Update of /cvs/extras/rpms/ois/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9044
Modified Files:
ois.spec
Added Files:
ois-1.0-gcc43.patch
Log Message:
* Wed Jan 9 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-3
- Fix compilation gcc 4.3
ois-1.0-gcc43.patch:
--- NEW FILE ois-1.0-gcc43.patch ---
diff -up ois/src/linux/LinuxKeyboard.cpp~ ois/src/linux/LinuxKeyboard.cpp
--- ois/src/linux/LinuxKeyboard.cpp~ 2008-01-09 13:09:38.000000000 +0100
+++ ois/src/linux/LinuxKeyboard.cpp 2008-01-09 13:09:38.000000000 +0100
@@ -25,6 +25,7 @@ restrictions:
#include "OISException.h"
#include "OISEvents.h"
+#include <string.h>
#include <X11/keysym.h>
#include <X11/Xutil.h>
diff -up ois/src/linux/LinuxInputManager.cpp~ ois/src/linux/LinuxInputManager.cpp
--- ois/src/linux/LinuxInputManager.cpp~ 2008-01-09 13:08:52.000000000 +0100
+++ ois/src/linux/LinuxInputManager.cpp 2008-01-09 13:08:52.000000000 +0100
@@ -20,6 +20,7 @@ restrictions:
3. This notice may not be removed or altered from any source distribution.
*/
+#include <stdlib.h>
#include "linux/LinuxInputManager.h"
#include "linux/LinuxKeyboard.h"
#include "linux/LinuxJoyStickEvents.h"
diff -up ois/src/linux/EventHelpers.cpp~ ois/src/linux/EventHelpers.cpp
--- ois/src/linux/EventHelpers.cpp~ 2008-01-09 13:06:57.000000000 +0100
+++ ois/src/linux/EventHelpers.cpp 2008-01-09 13:06:57.000000000 +0100
@@ -27,6 +27,7 @@ restrictions:
#include "OISJoyStick.h"
#include <linux/input.h>
+#include <string.h>
//#define OIS_LINUX_JOY_DEBUG
Index: ois.spec
===================================================================
RCS file: /cvs/extras/rpms/ois/devel/ois.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ois.spec 15 Aug 2007 08:30:23 -0000 1.2
+++ ois.spec 9 Jan 2008 12:15:14 -0000 1.3
@@ -1,11 +1,12 @@
Name: ois
Version: 1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Open Input System, OO gaming input library
Group: System Environment/Libraries
License: zlib
URL: http://sourceforge.net/projects/wgois
Source0: http://downloads.sourceforge.net/wgois/%{name}-%{version}.tar.gz
+Patch0: ois-1.0-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool libXaw-devel
@@ -28,6 +29,7 @@
%prep
%setup -q -n %{name}
+%patch0 -p1
chmod -x `find includes -type f` `find src -type f` ReadMe.txt
./bootstrap
@@ -65,6 +67,9 @@
%changelog
+* Wed Jan 9 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-3
+- Fix compilation gcc 4.3
+
* Wed Aug 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-2
- Update License tag for new Licensing Guidelines compliance
More information about the fedora-extras-commits
mailing list