summaryrefslogtreecommitdiff
path: root/app-misc/logiops
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
commit81b8f20732954c4508baf2f77472b5435e3f851f (patch)
tree4180177cb7ba85eab50159ce96218c2419fb24a6 /app-misc/logiops
parent946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff)
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'app-misc/logiops')
-rw-r--r--app-misc/logiops/Manifest3
-rw-r--r--app-misc/logiops/files/logiops-0.2.3-musl-fixes.patch44
-rw-r--r--app-misc/logiops/logiops-0.2.3-r1.ebuild4
3 files changed, 50 insertions, 1 deletions
diff --git a/app-misc/logiops/Manifest b/app-misc/logiops/Manifest
index d3d139c74df6..434b2cade74b 100644
--- a/app-misc/logiops/Manifest
+++ b/app-misc/logiops/Manifest
@@ -1,4 +1,5 @@
AUX logid.initd 509 BLAKE2B 950294904989544d1dea65f516493a986cbe8556a17e66f7be0cd33f19d514b38e820c61241d32785d6f3607d6f2c6a2af4270ab60dc72dfcc5a5ffa7b91779f SHA512 bf98e11c87d9486dd3f59494eae7fda9536bc6a90166bf8fa5c4226d189a86bc83aa9192d0b8f6e962cdc7d0f76e295d50c7c345f9ae445926670ecfe3b6830b
+AUX logiops-0.2.3-musl-fixes.patch 1379 BLAKE2B 22e87ed2ee80d117557cf8693b100537cd092f866814f88e6eaac5a89f36350dcfd8b4f644262d2b45c353470728fee9bcae4ffe873e65c52cbd57639b21c5d4 SHA512 8fcb63b28fdce84a7248d515fb4669f082a540e19bdab88d87120fbc919e5c058d1f2b16395350cc5629ebc83d12ff42a26a6f71e2712f3daaa844556a8e0602
DIST logiops-0.2.3.tar.gz 69321 BLAKE2B f188c39bcf4a9d386a34a97612fed45db1bf93858717d4c6fc4ba08a78acd1ae020cef875421d4131cdc3f0219c848c67b7793888ac13e064539ebea293b4afd SHA512 5a7b7e76a89759a30e25da6117992e96d0a1a0db25af3d524d725e753fb5ce5fc67c8a5bdeb8b707a81f99eadfc8f24035a3a5e4544b1153bdedd2373a65173d
-EBUILD logiops-0.2.3-r1.ebuild 1019 BLAKE2B 23472783526173ae25e1a2881635639e64e7ca041c272afef9f303345fbb5516aaf728599e97c48848aeea6cf4e7e3d859da34f097a862040c8b28b8989590c0 SHA512 a640b855ecb0ccbccc972cca48d6007a2636ec47bac51b86201ff328ebaa93b5e5ce20e851a1a676980e45dfb6f5fb67142fb676c22a814f0d82b28d23b05754
+EBUILD logiops-0.2.3-r1.ebuild 1076 BLAKE2B 2792fd5656d339955057321c81cd5e65dd532ae864c5fbfe8982701ae9c64d3803bd5eb0d05de7b4a445f2dc29e5c6a00213d02c35c50bd3a522c0efff3cd3cb SHA512 2dfe06cb99ba3b54363979c58a08fcffc16c9e57756cfbf699787ec26172512209e17d2001a6efa7bcbe368e53a97b01c1f8e8839a67fa1723b835f03cae00ce
MISC metadata.xml 394 BLAKE2B 6ff8b462c12d3e99a5362e39bc7f9915d7ded195ade7e3006b49313722c69935dbf266154375d7438f7099f46b4773eee8093b8324304ab75fc26fd45090049c SHA512 31dd662e8c6b51205160dc491de0ce6f4b8665a435de337e2265ed7e846d2b3115eef0fc47473179127caa3aae8e663885f7aedf27ab1c905b432d293c6d9e71
diff --git a/app-misc/logiops/files/logiops-0.2.3-musl-fixes.patch b/app-misc/logiops/files/logiops-0.2.3-musl-fixes.patch
new file mode 100644
index 000000000000..de549591852e
--- /dev/null
+++ b/app-misc/logiops/files/logiops-0.2.3-musl-fixes.patch
@@ -0,0 +1,44 @@
+# timeval needs sys/time.h and uint in not a part of non glibc systems, and
+# uint in not available on musl.
+#
+# A pull request has been opened upstream. So, once that is merged we can
+# remove this patch. Please refer: https://github.com/PixlOne/logiops/pull/330
+#
+# Closes: https://bugs.gentoo.org/828859
+--- a/src/logid/actions/KeypressAction.cpp
++++ b/src/logid/actions/KeypressAction.cpp
+@@ -85,7 +85,7 @@ KeypressAction::Config::Config(Device* device, libconfig::Setting& config) :
+ }
+ }
+
+-std::vector<uint>& KeypressAction::Config::keys()
++std::vector<unsigned int>& KeypressAction::Config::keys()
+ {
+ return _keys;
+-}
+\ No newline at end of file
++}
+--- a/src/logid/actions/KeypressAction.h
++++ b/src/logid/actions/KeypressAction.h
+@@ -38,9 +38,9 @@ namespace actions {
+ {
+ public:
+ explicit Config(Device* device, libconfig::Setting& root);
+- std::vector<uint>& keys();
++ std::vector<unsigned int>& keys();
+ protected:
+- std::vector<uint> _keys;
++ std::vector<unsigned int> _keys;
+ };
+ protected:
+ Config _config;
+--- a/src/logid/backend/raw/RawDevice.cpp
++++ b/src/logid/backend/raw/RawDevice.cpp
+@@ -40,6 +40,7 @@ extern "C"
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <linux/hidraw.h>
++#include <sys/time.h>
+ }
+
+ using namespace logid::backend::raw;
diff --git a/app-misc/logiops/logiops-0.2.3-r1.ebuild b/app-misc/logiops/logiops-0.2.3-r1.ebuild
index 55057eb6fb40..9af5ed327f84 100644
--- a/app-misc/logiops/logiops-0.2.3-r1.ebuild
+++ b/app-misc/logiops/logiops-0.2.3-r1.ebuild
@@ -27,6 +27,10 @@ BDEPEND="virtual/pkgconfig"
DOCS=( "README.md" "TESTED.md" )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.3-musl-fixes.patch
+)
+
pkg_pretend() {
local CHECK_CONFIG="~HID_LOGITECH ~HID_LOGITECH_HIDPP"