diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-25 03:02:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-25 03:02:44 +0000 |
commit | 7f0b7329b3aa78ea82792fdf68ab48415fe4cc35 (patch) | |
tree | 5c9f3c3f65f2be496e4d9778fdeb4d0da2207c29 /app-laptop/hdapsd | |
parent | 530a5a826feeb71085fb8a01927f4d775a0b131b (diff) |
gentoo auto-resync : 25:11:2024 - 03:02:44
Diffstat (limited to 'app-laptop/hdapsd')
-rw-r--r-- | app-laptop/hdapsd/Manifest | 3 | ||||
-rw-r--r-- | app-laptop/hdapsd/files/hdapsd-20141203-usage-doesnt-take-args.patch | 23 | ||||
-rw-r--r-- | app-laptop/hdapsd/hdapsd-20141203-r3.ebuild | 5 |
3 files changed, 28 insertions, 3 deletions
diff --git a/app-laptop/hdapsd/Manifest b/app-laptop/hdapsd/Manifest index 6ace738bc122..68fdd5333717 100644 --- a/app-laptop/hdapsd/Manifest +++ b/app-laptop/hdapsd/Manifest @@ -1,5 +1,6 @@ +AUX hdapsd-20141203-usage-doesnt-take-args.patch 611 BLAKE2B e709a56d21066d797e013f79c5847158b39636d1b46579ef2c55c65d66adc32901d657358269797ff596e064f1fc7f52423d35a016715e7157ae7f4e6119ff52 SHA512 5db1c363aee76793563737ce8ba6ee77045653342d7818cf227107d9f64c6443d04147d5a77357e7574129aafc300dda1d7fc73f5d14d0a729f56a674fbeb613 AUX hdapsd.conf-20141024 739 BLAKE2B ebd52e9bc5d4849b842cb579ca4ea0892227c94c483d9ec0b9b1dbcf975bfdfb0079460a29dedb6e60236cf9a37814efdd900c6e8c8d4791deb2e81f37dfbbd6 SHA512 e03c7f02af2789a784284f10eed10e10edb82e2ad16d3794299cc9622c00a047f30df7f7d553ef572e265815684d1e783932e0f3b219cca44f0e1f74dc045944 AUX hdapsd.init-20141024 2177 BLAKE2B c790b9899ca67ecee13a3af54dc821020f551ec35e94866328e28b00ea79eb2f8ba88e618d6b1d854add6024abb75f7fdc1393bfff853f16e2ab4bfb16e03799 SHA512 e45b7e6fafd047c6fe7b172ad552c23b0000b90099a9a12e5a09133258e90d5f121bfa5e8a638f1dcd35110e54fc1da2462cdd501ebb65878286f623c7baa6dc DIST hdapsd-20141203.tar.gz 128818 BLAKE2B 0219e30e032032dfd729e97f526eb7402fe4cb72245589ef03cca28f75a6e1f2cbfa55c5aa5599b24f496bbe662467077415fbec47caa1db17d6108e07292daa SHA512 19c1a8b362f15864b71f4fb221c0993b43b3b2d965d5826af06fb9f6b0e345e5da99181493e13e230c7fe77060ae5b373027e8ec90a511566a6ccaef43998178 -EBUILD hdapsd-20141203-r3.ebuild 2268 BLAKE2B 410d74e14ce22c99d3bb4382e61abda8b84b8f5171538965fba256f0521284266168e3359594694fec6207a530665b9bdf0a0fc9f6c84fe67efcc7d143692a4c SHA512 87f86a996712bd05885653f8c5f11b60ce08300ce639e9090b962ab05f411b521ce8040e9ce2e3443e03799eb350c7a3568a136076f54e3cbad36a51021a451f +EBUILD hdapsd-20141203-r3.ebuild 2318 BLAKE2B 655bed1801f1b6f4bb7f0480361164ef8bf02d611cb7a35734cf0274b1eb94661a49f63e970e8e093f3ccafd97f2aa2ada668d5b7b4360961137a383660f7d6f SHA512 33a2875294e6310e79d6b83e96c3deb54f0e17278eb90503f3e7dff69d84952803f9da05e3c493a0aadac3a629c6ae826d681d64beb507f3bbc0b4a38fba0298 MISC metadata.xml 554 BLAKE2B 3bb86449e6f32b9c6eb3511aa2eb2de96d144baededfcb15de99b936cde40c532bfaaa77ddd3458667b0435c28100cc7cc71138055654d94096180c81c372027 SHA512 d3c70dd395e1075a3a6fb48e5a47fc7f972a0c9e0a37664e0a039c15e080bbe8615ee36b1702ff3213ccfcab0d58834d8d390f2b9490cb77dfc71919ea153494 diff --git a/app-laptop/hdapsd/files/hdapsd-20141203-usage-doesnt-take-args.patch b/app-laptop/hdapsd/files/hdapsd-20141203-usage-doesnt-take-args.patch new file mode 100644 index 000000000000..4723aeb543d6 --- /dev/null +++ b/app-laptop/hdapsd/files/hdapsd-20141203-usage-doesnt-take-args.patch @@ -0,0 +1,23 @@ +From f74b32c417af940dc1ebb64cde49503253064c28 Mon Sep 17 00:00:00 2001 +From: Evgeni Golov <evgeni@golov.de> +Date: Thu, 30 May 2024 17:32:56 +0200 +Subject: [PATCH] don't pass argv to usage, it doesn't take any params + +thanks clang! +--- + src/hdapsd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/hdapsd.c b/src/hdapsd.c +index 03d21a1..92c6f25 100644 +--- a/src/hdapsd.c ++++ b/src/hdapsd.c +@@ -1027,7 +1027,7 @@ int main (int argc, char** argv) + } + + if (disklist == NULL) +- usage(argv); ++ usage(); + + /* Let's see if we're on a ThinkPad or on an *Book */ + if (!position_interface) diff --git a/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild index dc97598dd6d8..e887d92dc008 100644 --- a/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild +++ b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,10 +13,11 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="libconfig" -BDEPEND="" DEPEND="libconfig? ( dev-libs/libconfig:= )" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-usage-doesnt-take-args.patch" ) + pkg_setup() { # We require the hdaps module which can either come from either the # kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package. |