mate-extra/mate-sensors-applet: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34481
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2023-12-26 10:48:36 +01:00
committed by Conrad Kostecki
parent 2a14a224c1
commit 09db16c49d

View File

@@ -1,130 +0,0 @@
From 3ff9fb450aa2a28221fcd863bf7913e84eeeb7ba Mon Sep 17 00:00:00 2001
From: listout <brahmajit.xyz@gmail.com>
Date: Fri, 5 May 2023 11:07:20 +0530
Subject: [PATCH] unconditionally include stdio.h and locale.h
On musl mate-sensor-applet fails to build with error message saying
"LC_NUMERIC undeclared". As suggested in issue mate-desktop#123, removing the include
guards around #include <local.h> and #include <stdio.h>
Upstream commit: https://patch-diff.githubusercontent.com/raw/mate-desktop/mate-sensors-applet/pull/128.patch
Bug: https://bugs.gentoo.org/896200
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,6 @@ AC_SUBST(LIBS)
AC_CHECK_HEADERS(
stdlib.h \
string.h \
- stdio.h \
sys/types.h \
sys/socket.h \
netinet/in.h \
--- a/plugins/acpi/acpi-plugin.c
+++ b/plugins/acpi/acpi-plugin.c
@@ -21,10 +21,7 @@
#include <config.h>
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "acpi-plugin.h"
--- a/plugins/i2c-proc/i2c-proc-plugin.c
+++ b/plugins/i2c-proc/i2c-proc-plugin.c
@@ -21,14 +21,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>
#include "i2c-proc-plugin.h"
--- a/plugins/i2c-sys/i2c-sys-plugin.c
+++ b/plugins/i2c-sys/i2c-sys-plugin.c
@@ -21,10 +21,7 @@
#include <config.h>
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "i2c-sys-plugin.h"
--- a/plugins/i8k/i8k-plugin.c
+++ b/plugins/i8k/i8k-plugin.c
@@ -21,10 +21,7 @@
#include <config.h>
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "i8k-plugin.h"
--- a/plugins/ibm-acpi/ibm-acpi-plugin.c
+++ b/plugins/ibm-acpi/ibm-acpi-plugin.c
@@ -21,10 +21,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "ibm-acpi-plugin.h"
--- a/plugins/omnibook/omnibook-plugin.c
+++ b/plugins/omnibook/omnibook-plugin.c
@@ -21,10 +21,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "omnibook-plugin.h"
--- a/plugins/pmu-sys/pmu-sys-plugin.c
+++ b/plugins/pmu-sys/pmu-sys-plugin.c
@@ -21,10 +21,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "pmu-sys-plugin.h"
--- a/plugins/smu-sys/smu-sys-plugin.c
+++ b/plugins/smu-sys/smu-sys-plugin.c
@@ -21,10 +21,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "smu-sys-plugin.h"