forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Closes: gentoo#26197 Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
06df308
commit 1bd3fa1
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters