pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/xentools411
Module Name: pkgsrc
Committed By: gutteridge
Date: Mon Feb 25 08:19:22 UTC 2019
Modified Files:
pkgsrc/sysutils/xentools411: distinfo
Added Files:
pkgsrc/sysutils/xentools411/patches: patch-tools_xenpmd_xenpmd.c
Log Message:
xentools411: address build failure with GCC >= 7
Address PR pkg/53978: newer versions of GCC have a format-truncation
error triggered. Increase the size of a string to work around this.
(This may need more attention upstream.)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/xentools411/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/xentools411/patches/patch-tools_xenpmd_xenpmd.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/xentools411/distinfo
diff -u pkgsrc/sysutils/xentools411/distinfo:1.1 pkgsrc/sysutils/xentools411/distinfo:1.2
--- pkgsrc/sysutils/xentools411/distinfo:1.1 Tue Jul 24 13:40:11 2018
+++ pkgsrc/sysutils/xentools411/distinfo Mon Feb 25 08:19:22 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2018/07/24 13:40:11 bouyer Exp $
+$NetBSD: distinfo,v 1.2 2019/02/25 08:19:22 gutteridge Exp $
SHA1 (xen411/ipxe-git-356f6c1b64d7a97746d1816cef8ca22bdd8d0b5d.tar.gz) = 272b8c904dc0127690eca2c5c20c67479e40da34
RMD160 (xen411/ipxe-git-356f6c1b64d7a97746d1816cef8ca22bdd8d0b5d.tar.gz) = cfcb4a314c15da19b36132b27126f3bd9699d0e5
@@ -71,6 +71,7 @@ SHA1 (patch-tools_qemu-xen_audio_audio.c
SHA1 (patch-tools_qemu-xen_configure) = a658cb80bad09f61a6b39a65f4a1bde04105e661
SHA1 (patch-tools_qemu-xen_qemu-doc.texi) = e72d480ec29829055f01226eaf020d4cbd100d5d
SHA1 (patch-tools_xenpaging_xenpaging.c) = 0a154b97f1f452a5f80f7c9a835a1f216f12f7e1
+SHA1 (patch-tools_xenpmd_xenpmd.c) = 851ce7a295e2f41ffcd966850d8003c82670c751
SHA1 (patch-tools_xenstore_xc.c) = cf49b65cba064667e13bb041d1f0099c76ab6a40
SHA1 (patch-tools_xenstore_xs_lib.c) = e3a8f6e3b149c3ab0f4ec8dcfa455983f94e6c16
SHA1 (patch-tools_xentrace_xentrace.c) = f964c7555f454358a39f28a2e75db8ee100a4243
Added files:
Index: pkgsrc/sysutils/xentools411/patches/patch-tools_xenpmd_xenpmd.c
diff -u /dev/null pkgsrc/sysutils/xentools411/patches/patch-tools_xenpmd_xenpmd.c:1.1
--- /dev/null Mon Feb 25 08:19:22 2019
+++ pkgsrc/sysutils/xentools411/patches/patch-tools_xenpmd_xenpmd.c Mon Feb 25 08:19:22 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_xenpmd_xenpmd.c,v 1.1 2019/02/25 08:19:22 gutteridge Exp $
+
+Elide format-truncation errors with GCC >= 7.
+
+--- tools/xenpmd/xenpmd.c.orig 2018-07-09 13:47:19.000000000 +0000
++++ tools/xenpmd/xenpmd.c
+@@ -100,7 +100,7 @@ FILE *get_next_battery_file(DIR *battery
+ {
+ FILE *file = 0;
+ struct dirent *dir_entries;
+- char file_name[284];
++ char file_name[FILENAME_MAX];
+
+ do
+ {
Home |
Main Index |
Thread Index |
Old Index