antimicrox: update to 3.3.2

This commit is contained in:
Pascal Huber 2022-12-27 14:11:25 +01:00 committed by Michal Vasilek
parent 87e077ffdc
commit 317a246ec2
2 changed files with 3 additions and 23 deletions

View File

@ -1,20 +0,0 @@
--- a/src/haptictriggerps5.cpp
+++ b/src/haptictriggerps5.cpp
@@ -27,7 +27,7 @@ constexpr u16 u16tole(u16 x)
{
#if __BYTE_ORDER == __LITTLE_ENDIAN
return x;
-#elif __BYTE_ORDER == _BIG_ENDIAN
+#elif __BYTE_ORDER == __BIG_ENDIAN
return ((x << 8) & 0xFF00) | ((x >> 8) & 0x00FF);
#else
#error "Target machine has unknown endianness!"
@@ -38,7 +38,7 @@ constexpr u32 u32tole(u32 x)
{
#if __BYTE_ORDER == __LITTLE_ENDIAN
return x;
-#elif __BYTE_ORDER == _BIG_ENDIAN
+#elif __BYTE_ORDER == __BIG_ENDIAN
return ((x << 24) & 0xFF000000) | ((x << 8) & 0x00FF0000) | ((x >> 8) & 0x0000FF00) | ((x >> 24) & 0x000000FF);
#else
#error "Target machine has unknown endianness!"

View File

@ -1,6 +1,6 @@
# Template file for 'antimicrox'
pkgname=antimicrox
version=3.3.1
version=3.3.2
revision=1
build_style=cmake
hostmakedepends="pkg-config extra-cmake-modules itstool gettext qt5-qmake
@ -12,8 +12,8 @@ maintainer="fosslinux <fosslinux@aussies.space>"
license="GPL-3.0-or-later"
homepage="https://github.com/AntiMicroX/antimicrox"
changelog="https://raw.githubusercontent.com/AntiMicroX/antimicrox/master/CHANGELOG.md"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=df1df587691568190a1cfa024f85e842c3883f9c58e6a7e883d42976584f728d
distfiles="https://github.com/AntiMicroX/antimicrox/archive/${version}.tar.gz"
checksum=9f5b51655fb5bac9259e553bc3f001f4d31088f83ee0f90f0c136e58c10e9724
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"