[Debian-ha-commits] [sbd] 06/09: debian/patches: fix gcc build errors

Valentin Vidic vvidic-guest at moszumanska.debian.org
Thu Nov 9 10:41:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository sbd.

commit 50d2c08a54962fd449720e54bdb69bde8b0c70b8
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Wed Nov 8 21:57:57 2017 +0100

    debian/patches: fix gcc build errors
---
 debian/patches/gcc-errors.patch | 11 +++++++++++
 debian/patches/series           |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/gcc-errors.patch b/debian/patches/gcc-errors.patch
new file mode 100644
index 0000000..f6fc14a
--- /dev/null
+++ b/debian/patches/gcc-errors.patch
@@ -0,0 +1,11 @@
+--- a/src/sbd-common.c
++++ b/src/sbd-common.c
+@@ -268,7 +268,7 @@
+ 		{makedev(10,130), 0};
+ 	int num_watchdogs = 1;
+ 	struct dirent *entry;
+-	char entry_name[64];
++	char entry_name[280];
+ 	DIR *dp;
+ 	char buf[256] = "";
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d8ffb20..7dbeef4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 sbd-init.patch
+gcc-errors.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/sbd.git



More information about the Debian-HA-Commits mailing list