summaryrefslogtreecommitdiff
path: root/mate-extra/mate-sensors-applet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-15 07:41:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-15 07:41:50 +0100
commitb3f2504c1d05b5999b74b2135860fc721e3adf68 (patch)
treee11656067365c7d474553833d6202ed04d3324a5 /mate-extra/mate-sensors-applet
parente0fdb8199de0e7a9b7c72d7f38d2e3ddaecdacd0 (diff)
gentoo auto-resync : 15:07:2022 - 07:41:50
Diffstat (limited to 'mate-extra/mate-sensors-applet')
-rw-r--r--mate-extra/mate-sensors-applet/Manifest3
-rw-r--r--mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch20
-rw-r--r--mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild6
3 files changed, 27 insertions, 2 deletions
diff --git a/mate-extra/mate-sensors-applet/Manifest b/mate-extra/mate-sensors-applet/Manifest
index f2e0bace9248..20b02f31eedf 100644
--- a/mate-extra/mate-sensors-applet/Manifest
+++ b/mate-extra/mate-sensors-applet/Manifest
@@ -1,3 +1,4 @@
+AUX mate-sensors-applet-1.24.1-dont-check-for-headers.patch 570 BLAKE2B c18fad14150782d0266d7f0bffa1c2794bc7186ed5047ac013c29d0cbaa9460f852c51a69e450a19e9239321ffb3da19b79d9b66df707ea828a9efad684a5098 SHA512 c81dda1f71047c8801f1166510eae0ff0bee1e8210df9e8458f13bf3e32317c90c570ac7be982a42cfe2360cd031cb2d8f990ec09057b8032647b8c5a88e8def
DIST mate-sensors-applet-1.24.1.tar.xz 578964 BLAKE2B e9a7eacb032738014c3e91595ae1f2673973b20c09fd02bd186aa5468773a1322022fbb245b9ec6e9c987405014b91e0f7c12e072f9c3ba6cd9df32c1ee99703 SHA512 3bf21d501e067a2ce002c5149f42161cc6917609ceb2396b705e905987cb4d989725ca825c6de7bbe4e950f7a01e755c2cd5b45532d6f65aef690f394741489a
-EBUILD mate-sensors-applet-1.24.1.ebuild 1307 BLAKE2B d706d9bd740131088e91f73201f57f560975872544a000f4a2ee66a2ce0f1e2f6fb08479497b72663fa8a8de3802335a8a4414e13a9af4238dbcf23172ee25f4 SHA512 8a9a5d20dfb7b0fbf1be42467786ef3c40f6651a7cdaffd8b5e1469268e9b485004f097a26c6d7caf9fbf58221b2a92779b836f00f5df8a484b667590a4521c8
+EBUILD mate-sensors-applet-1.24.1.ebuild 1377 BLAKE2B a6705c47d05e1cbb86a41cb3328e7b3374a8691890d91cabaa66d8518fcd3d2b9dbe3235505f4dc1d7b0dc19544c158c8e18341bf855ff5efdf9b242757cd984 SHA512 7b92239eb31d4dabd18ad1dc63fe48b169d2a7499cd94fcd111072e5e0878c707c990fee31b207b3c657aed9b43b96fb61b5f33d4b1a35c27945e6cc7e09b3a0
MISC metadata.xml 349 BLAKE2B 4576e875f56359cf193615e38e75b15a2f91e3727c1fae0c8c939a56c0ca93cbdba7ac7dbf4dbc8268901c8c62f3d0206a609d7bdbecfd6397f6032fa23f871f SHA512 22b33a8b3faf88d642cd3eebc15421c7b62511da5fdc1171aecc72074400c325ef3d91c2a4d380126c9d71edfc3c68cc48df9f8dae338f97c33389b3069d69c0
diff --git a/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch b/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
new file mode 100644
index 000000000000..98aba2e903d5
--- /dev/null
+++ b/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
@@ -0,0 +1,20 @@
+# Removing unnecessary HAVE_STDIO_H and HAVE_LOCALE_H config checks. The
+# HAVE_LOCALE_H also makes fails to build on musl system.
+# Upstream issue: https://github.com/mate-desktop/mate-sensors-applet/issues/123
+# Closes: https://bugs.gentoo.org/777375
+--- a/plugins/i2c-proc/i2c-proc-plugin.c
++++ b/plugins/i2c-proc/i2c-proc-plugin.c
+@@ -20,13 +20,8 @@
+ #include <config.h>
+ #endif /* HAVE_CONFIG_H */
+
+-#ifdef HAVE_STDIO_H
+ #include <stdio.h>
+-#endif /* HAVE_STDIO_H */
+-
+-#ifdef HAVE_LOCALE_H
+ #include <locale.h>
+-#endif
+
+ #include <glib.h>
+ #include <glib/gi18n.h>
diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild
index c6264e8b1b34..f6fce26db5c2 100644
--- a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild
+++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -43,6 +43,10 @@ DEPEND="${COMMON_DEPEND}
PDEPEND="hddtemp? ( dbus? ( sys-fs/udisks:2 ) )"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.24.1-dont-check-for-headers.patch"
+)
+
src_configure() {
local udisks