* [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-sensors-applet/files/, mate-extra/mate-sensors-applet/
@ 2022-07-15 1:56 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-07-15 1:56 UTC (permalink / raw
To: gentoo-commits
commit: 1bd3fa116f8bbf209550c8bfef2bc4ffd72ccc2e
Author: brahmajit das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Sat Jul 2 18:50:28 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 01:51:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd3fa11
mate-extra/mate-sensors-applet: Removing unnecessary config checks
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: mate-desktop/mate-sensors-applet#123
Closes: https://bugs.gentoo.org/777375
Signed-off-by: brahmajit das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26197
Signed-off-by: Sam James <sam <AT> gentoo.org>
| 20 ++++++++++++++++++++
.../mate-sensors-applet-1.24.1.ebuild | 4 ++++
2 files changed, 24 insertions(+)
--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..fd9e54d09629 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
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-15 1:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-15 1:56 [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-sensors-applet/files/, mate-extra/mate-sensors-applet/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox