Browse Source

Fix FTBFS with GCC-7, thanks to Hilko Bengen (Closes: #853446)

Manuel A. Fernandez Montecelo 6 years ago
parent
commit
8e644eb01b
3 changed files with 21 additions and 0 deletions
  1. 7 0
      debian/changelog
  2. 13 0
      debian/patches/bug-853446-fix-ftbfs-gcc-7.patch
  3. 1 0
      debian/patches/series

+ 7 - 0
debian/changelog

@@ -1,3 +1,10 @@
+http-parser (2.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC-7, thanks to Hilko Bengen (Closes: #853446)
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org>  Sat, 04 Nov 2017 20:12:50 +0100
+
 http-parser (2.1-2) unstable; urgency=low
 
   * Team upload.

+ 13 - 0
debian/patches/bug-853446-fix-ftbfs-gcc-7.patch

@@ -0,0 +1,13 @@
+Index: http-parser/http_parser.c
+===================================================================
+--- http-parser.orig/http_parser.c
++++ http-parser/http_parser.c
+@@ -2092,7 +2092,7 @@ http_parser_parse_url(const char *buf, s
+       case s_req_server_with_at:
+         found_at = 1;
+ 
+-      /* FALLTROUGH */
++      /* FALLTHROUGH */
+       case s_req_server:
+         uf = UF_HOST;
+         break;

+ 1 - 0
debian/patches/series

@@ -1,2 +1,3 @@
 fix-soname.patch
 use-ldflags.patch
+bug-853446-fix-ftbfs-gcc-7.patch