From 267e893f47803780cc077e71037fe184d356a184 Mon Sep 17 00:00:00 2001 From: Alexandru Barbur Date: Sun, 16 Jun 2024 10:36:44 -0400 Subject: [PATCH] spacenavd: update to 1.3. --- .../spacenavd/patches/v1.3-fix-header-defines.patch | 11 +++++++++++ srcpkgs/spacenavd/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/spacenavd/patches/v1.3-fix-header-defines.patch diff --git a/srcpkgs/spacenavd/patches/v1.3-fix-header-defines.patch b/srcpkgs/spacenavd/patches/v1.3-fix-header-defines.patch new file mode 100644 index 00000000000000..1b30ff7e4b0ce1 --- /dev/null +++ b/srcpkgs/spacenavd/patches/v1.3-fix-header-defines.patch @@ -0,0 +1,11 @@ +Fix header defines until fixed upstream: https://github.com/FreeSpacenav/spacenavd/issues/105 + +--- a/src/proto.h ++++ a/src/proto.h +@@ -6,1 +6,1 @@ else () +-#ifdef HAVE_STDINT_H_ ++#ifdef HAVE_STDINT_H + #include + #elif defined(HAVE_INTTYPES_H_) + #include + #endif diff --git a/srcpkgs/spacenavd/template b/srcpkgs/spacenavd/template index bc19b380ab6fb1..120585cc6ff023 100644 --- a/srcpkgs/spacenavd/template +++ b/srcpkgs/spacenavd/template @@ -1,6 +1,6 @@ # Template file for 'spacenavd' pkgname=spacenavd -version=1.2 +version=1.3 revision=1 build_style=gnu-configure makedepends="libX11-devel libXtst-devel" @@ -10,7 +10,7 @@ license="GPL-3.0-or-later" homepage="http://spacenav.sourceforge.net" changelog="https://github.com/FreeSpacenav/spacenavd/releases" distfiles="https://github.com/FreeSpacenav/spacenavd/archive/refs/tags/v${version}.tar.gz" -checksum="4b4096908f842f697a6410a5a873ff4927bd24bd041b6d60b111e90da1178840" +checksum="0ab698fb309a7df9c68f37a6e3d80dd6bbe4cb1038a56846b63342c2535bb551" conf_files="/etc/spnavrc" post_install() {