Providence SALUMU avatar Providence SALUMU committed 8aa2373

dev-games/ois patch includes unistd.h

Comments (0)

Files changed (5)

dev-games/ois/ChangeLog

+# ChangeLog for dev-games/ois
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ois/ChangeLog,v 1.6 2010/05/22 15:02:23 pacho Exp $
+
+  22 May 2010; Pacho Ramos <pacho@gentoo.org> ois-1.2.0.ebuild:
+  stable amd64, bug 303471
+
+  02 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> ois-1.2.0.ebuild:
+  x86 stable wrt bug #303471
+
+  15 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org> ois-1.2.0.ebuild:
+  EAPI=2
+
+*ois-1.2.0 (06 Apr 2008)
+
+  06 Apr 2008; Tristan Heaven <nyhm@gentoo.org> +ois-1.2.0.ebuild:
+  Version bump
+
+  22 Sep 2007; Christoph Mende <angelos@gentoo.org> ois-1.0.ebuild:
+  Added ~amd64 wrt bug #193247
+
+*ois-1.0 (24 Aug 2007)
+
+  24 Aug 2007; Tristan Heaven <nyhm@gentoo.org> +metadata.xml,
+  +ois-1.0.ebuild:
+  Initial commit, bug #129365
+

dev-games/ois/Manifest

+AUX ois-1.2.0-unistd.patch 1091 RMD160 760ce8b1d20afdfc4c9b8a7f0228914c698d41dc SHA1 e61b21f76b53f2e51ee66d3c0648eee1a3a0a62f SHA256 3a5d1147799b40d41502d94daa7328ef29d4055432badcc45d7e858b0f055b6c
+DIST ois_1.2.0.tar.gz 109768 RMD160 52a7ba443ede07c71509daaae984c00d8c4e899f SHA1 ad5f110dfeb8e65d909a87d5ceb901519f8909f6 SHA256 175414df5d7b924779fa513ea614081ae55ae708a5e29473e74911297e4be708
+EBUILD ois-1.2.0.ebuild 696 RMD160 e5b99ca1db0b7cc08744493ed0cb7319eb2421f8 SHA1 bb76b1c77f2510a68e6e04fe9c3221f77479e7ea SHA256 6c2eff38fb52be93611270ee14eb09702fae296dbf6bcf81778becdd2640fdbe
+MISC ChangeLog 822 RMD160 5adac53a97e25d8b6e2abb68efad4ddff83e2819 SHA1 76f1c3aa2937126c02e6cbf293ac1a0cfc3d3de5 SHA256 c96684b72a575af298689ca4af0c625e03e49c4611cdcba902856ab6c8066252
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

dev-games/ois/files/ois-1.2.0-unistd.patch

+diff --git a/ois/demos/FFConsoleDemo.cpp b/ois/demos/FFConsoleDemo.cpp
+index c573754..f32f894 100644
+--- a/ois/demos/FFConsoleDemo.cpp
++++ b/ois/demos/FFConsoleDemo.cpp
+@@ -7,6 +7,7 @@
+ #include <iostream>
+ #include <vector>
+ #include <sstream>
++#include <unistd.h>
+ 
+ ////////////////////////////////////Needed Windows Headers////////////
+ #if defined OIS_WIN32_PLATFORM
+diff --git a/ois/demos/OISConsole.cpp b/ois/demos/OISConsole.cpp
+index b736e0f..a1ab746 100755
+--- a/ois/demos/OISConsole.cpp
++++ b/ois/demos/OISConsole.cpp
+@@ -12,6 +12,7 @@
+ #include <iostream>
+ #include <vector>
+ #include <sstream>
++#include <unistd.h>
+ 
+ ////////////////////////////////////Needed Windows Headers////////////
+ #if defined OIS_WIN32_PLATFORM
+diff --git a/ois/src/linux/LinuxJoyStickEvents.cpp b/ois/src/linux/LinuxJoyStickEvents.cpp
+index 0dc4bc2..edfaf3d 100755
+--- a/ois/src/linux/LinuxJoyStickEvents.cpp
++++ b/ois/src/linux/LinuxJoyStickEvents.cpp
+@@ -34,7 +34,7 @@ restrictions:
+ #include <cassert>	
+ #include <linux/input.h>
+ 
+-
++#include <unistd.h>
+ #include <sstream>
+ 
+ using namespace OIS;

dev-games/ois/metadata.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>

dev-games/ois/ois-1.2.0.ebuild

+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ois/ois-1.2.0.ebuild,v 1.4 2010/05/22 15:02:23 pacho Exp $
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="Object-oriented Input System - A cross-platform C++ input handling library"
+HOMEPAGE="http://www.wreckedgames.com/"
+SRC_URI="mirror://sourceforge/wgois/${P/-/_}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="x11-libs/libXaw
+	x11-libs/libX11"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+	eautoreconf
+	epatch "${FILESDIR}"/${PF}-unistd.patch
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "emake install failed"
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.