ois: update to 1.4.

Closes #14964.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
Piotr Wójcik 2018-06-06 22:53:54 +02:00 committed by Enno Boland
parent 3777161531
commit 26761bbe28
No known key found for this signature in database
GPG key ID: D09964719BDE9971
3 changed files with 36 additions and 38 deletions

View file

@ -1,40 +1,40 @@
--- src/linux/LinuxForceFeedback.cpp 2010-04-01 05:06:55.000000000 +0200
+++ src/linux/LinuxForceFeedback.cpp 2015-08-03 13:47:54.690123238 +0200
@@ -24,6 +24,7 @@
#include "OISException.h"
#include <cstdlib>
+#include <unistd.h>
#include <errno.h>
#include <memory.h>
#include "OISException.h"
#include <cstdlib>
+#include <unistd.h>
#include <errno.h>
#include <memory.h>
--- src/linux/LinuxJoyStickEvents.cpp 2010-07-26 03:28:41.000000000 +0200
+++ src/linux/LinuxJoyStickEvents.cpp 2015-08-03 13:48:14.720124682 +0200
@@ -30,6 +30,7 @@
#include "OISEvents.h"
#include "OISException.h"
+#include <unistd.h>
#include <fcntl.h> //Needed to Open a file descriptor
#include <cassert>
#include <linux/input.h>
#include "OISEvents.h"
#include "OISException.h"
+#include <unistd.h>
#include <fcntl.h> //Needed to Open a file descriptor
#include <cassert>
#include <linux/input.h>
--- demos/OISConsole.cpp 2010-08-16 00:51:34.000000000 +0200
+++ demos/OISConsole.cpp 2015-08-03 13:52:09.446141604 +0200
@@ -9,6 +9,7 @@
//Advanced Usage
#include "OISForceFeedback.h"
+#include <unistd.h>
#include <iostream>
#include <vector>
#include <sstream>
//Advanced Usage
#include "OISForceFeedback.h"
+#include <unistd.h>
#include <iostream>
#include <vector>
#include <sstream>
--- demos/FFConsoleDemo.cpp 2010-04-01 05:38:04.000000000 +0200
+++ demos/FFConsoleDemo.cpp 2015-08-03 13:53:47.366148664 +0200
@@ -1,6 +1,7 @@
#include "OIS.h"
#include <math.h>
+#include <unistd.h>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include "OIS.h"
#include <math.h>
+#include <unistd.h>
#include <cstdlib>
#include <iostream>
#include <iomanip>

View file

@ -1,23 +1,23 @@
# Template file for 'ois'
pkgname=ois
version=1.3
revision=2
wrksrc=${pkgname}-v${version/./-}
version=1.4
revision=1
wrksrc="OIS-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libXaw-devel"
short_desc="Object oriented input system"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="ZLIB"
homepage="http://sourceforge.net/projects/wgois/"
distfiles="${SOURCEFORGE_SITE}/project/wgois/Source%20Release/${version}/${pkgname}_v${version/./-}.tar.gz"
checksum=50fa76d827e119a80e2c86a5196ac4354e556f80b0a4fa440f69e1057b37faa1
license="Zlib"
homepage="https://wgois.github.io/OIS/"
distfiles="https://github.com/wgois/OIS/archive/v${version}.tar.gz"
checksum=aaa9289a0cc0bffbb03e894b1d10e65eac14572a2282d539afe48aec1ae35c75
pre_configure() {
. bootstrap
}
post_install() {
vlicense ReadMe.txt
vlicense README.md
}
ois-devel_package() {

View file

@ -1,2 +0,0 @@
site=http://sourceforge.net/projects/wgois/rss?limit=200
pattern='Source Release/\K[\d]+\.[\d]+'