pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/mate-sensors-applet
Module Name: pkgsrc
Committed By: gutteridge
Date: Sat Aug 22 00:46:49 UTC 2020
Modified Files:
pkgsrc/sysutils/mate-sensors-applet: distinfo
Added Files:
pkgsrc/sysutils/mate-sensors-applet/patches:
patch-plugins_i2c-proc_i2c-proc-plugin.c
Log Message:
mate-sensors-applet: fix (some) builds
Expect basic headers to be available universally. The configure script
doesn't actually check for or define HAVE_LOCALE_H, which can cause
breakages when locale.h isn't pulled in through other means already.
Simplify the source file in question, rather than making configure more
complicated. (There are other source files in this package that
unconditionally expect stdio.h to be present, which seems reasonable.)
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/mate-sensors-applet/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/mate-sensors-applet/patches/patch-plugins_i2c-proc_i2c-proc-plugin.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/mate-sensors-applet/distinfo
diff -u pkgsrc/sysutils/mate-sensors-applet/distinfo:1.7 pkgsrc/sysutils/mate-sensors-applet/distinfo:1.8
--- pkgsrc/sysutils/mate-sensors-applet/distinfo:1.7 Sun Apr 5 16:05:44 2020
+++ pkgsrc/sysutils/mate-sensors-applet/distinfo Sat Aug 22 00:46:49 2020
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.7 2020/04/05 16:05:44 bsiegert Exp $
+$NetBSD: distinfo,v 1.8 2020/08/22 00:46:49 gutteridge Exp $
SHA1 (mate-sensors-applet-1.24.0.tar.xz) = 909a462908abb0b0943be2046d935396a59d65a6
RMD160 (mate-sensors-applet-1.24.0.tar.xz) = 317bcc8a405524035d4cbbec4c9d937ea86317d5
SHA512 (mate-sensors-applet-1.24.0.tar.xz) = 039834b7cfe641e670e372e311da3d737254ab3cf13b27e71c6555888ac1165766fe2d940bcea44a5ceed5f0ddcd3390d01331d927121137c21a6647c68875c2
Size (mate-sensors-applet-1.24.0.tar.xz) = 580536 bytes
+SHA1 (patch-plugins_i2c-proc_i2c-proc-plugin.c) = a630cdff99696fc893df863be43433a00f3c07c4
SHA1 (patch-plugins_sonypi_sonypi-plugin.c) = 903f3c27e211518934fad8cf1493fb79bd198ae1
SHA1 (patch-sensors-applet_Makefile.in) = 260e64160369d2e373bfd8219a9bf814966c33be
Added files:
Index: pkgsrc/sysutils/mate-sensors-applet/patches/patch-plugins_i2c-proc_i2c-proc-plugin.c
diff -u /dev/null pkgsrc/sysutils/mate-sensors-applet/patches/patch-plugins_i2c-proc_i2c-proc-plugin.c:1.1
--- /dev/null Sat Aug 22 00:46:49 2020
+++ pkgsrc/sysutils/mate-sensors-applet/patches/patch-plugins_i2c-proc_i2c-proc-plugin.c Sat Aug 22 00:46:49 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-plugins_i2c-proc_i2c-proc-plugin.c,v 1.1 2020/08/22 00:46:49 gutteridge Exp $
+
+Expect basic headers to be available universally. (The configure script
+doesn't actually check for or define HAVE_LOCALE_H, which can cause
+breakages. Simplify here, rather than making configure more complicated.)
+
+--- plugins/i2c-proc/i2c-proc-plugin.c.orig 2020-02-10 12:40:35.000000000 +0000
++++ 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>
Home |
Main Index |
Thread Index |
Old Index