[Git][java-team/zookeeper][master] 2 commits: Add patch for FTBFS with GCC-8 (Closes: #897892)

Tony Mancill gitlab at salsa.debian.org
Sun Jul 1 05:01:14 BST 2018


Tony Mancill pushed to branch master at Debian Java Maintainers / zookeeper


Commits:
8f12c964 by tony mancill at 2018-06-30T21:00:28-07:00
Add patch for FTBFS with GCC-8 (Closes: #897892)

- - - - -
d5307342 by tony mancill at 2018-06-30T21:00:59-07:00
interim changelog

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/14-ftbfs-with-gcc-8.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+zookeeper (3.4.12-2) UNRELEASED; urgency=medium
+
+  * Add patch for FTBFS with GCC-8 (Closes: #897892)
+
+ -- tony mancill <tmancill at debian.org>  Sat, 30 Jun 2018 20:59:21 -0700
+
 zookeeper (3.4.12-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/14-ftbfs-with-gcc-8.patch
=====================================
--- /dev/null
+++ b/debian/patches/14-ftbfs-with-gcc-8.patch
@@ -0,0 +1,13 @@
+Description: Address FTBFS with gcc-8 due to format-overflow
+Author: tony mancill <tmancill at debian.org>
+--- a/src/c/src/zookeeper.c
++++ b/src/c/src/zookeeper.c
+@@ -3477,7 +3477,7 @@
+ 
+ static const char* format_endpoint_info(const struct sockaddr_storage* ep)
+ {
+-    static char buf[128];
++    static char buf[128 + 6];	// include space for the port :xxxxx
+     char addrstr[128];
+     void *inaddr;
+ #ifdef WIN32


=====================================
debian/patches/series
=====================================
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 11-disable-minikdc-tests.patch
 12-add-yetus-annotations.patch
 13-disable-netty-connection-factory.patch
+14-ftbfs-with-gcc-8.patch



View it on GitLab: https://salsa.debian.org/java-team/zookeeper/compare/c72d720a1aa9c5e3c5c1adf7c792a1e86f6141f4...d5307342e5876599c1bfcdf973ea85906b737b36

-- 
View it on GitLab: https://salsa.debian.org/java-team/zookeeper/compare/c72d720a1aa9c5e3c5c1adf7c792a1e86f6141f4...d5307342e5876599c1bfcdf973ea85906b737b36
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20180701/0543ad12/attachment.html>


More information about the pkg-java-commits mailing list