Received: by mail.netbsd.org (Postfix, from userid 605) id F306884D8B; Sat, 22 Aug 2020 00:46:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7681B84D88 for ; Sat, 22 Aug 2020 00:46:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id M_kaBkD0SnG9 for ; Sat, 22 Aug 2020 00:46:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D88E684CFD for ; Sat, 22 Aug 2020 00:46:49 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D0922FB28; Sat, 22 Aug 2020 00:46:49 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_159805720970190" MIME-Version: 1.0 Date: Sat, 22 Aug 2020 00:46:49 +0000 From: "David H. Gutteridge" Subject: CVS commit: pkgsrc/sysutils/mate-sensors-applet To: pkgsrc-changes@NetBSD.org Reply-To: gutteridge@netbsd.org X-Mailer: log_accum Message-Id: <20200822004649.D0922FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_159805720970190 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_159805720970190 Content-Disposition: inline Content-Length: 2207 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 + #endif /* HAVE_CONFIG_H */ + +-#ifdef HAVE_STDIO_H + #include +-#endif /* HAVE_STDIO_H */ +- +-#ifdef HAVE_LOCALE_H + #include +-#endif + + #include + #include --_----------=_159805720970190--