pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/fcgiwrap fcgiwrap: Appease -Werror=implicit-fallth...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03a5ae91e873
branches:  trunk
changeset: 387972:03a5ae91e873
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Nov 28 16:06:35 2018 +0000

description:
fcgiwrap: Appease -Werror=implicit-fallthrough.

diffstat:

 www/fcgiwrap/distinfo                 |   3 ++-
 www/fcgiwrap/patches/patch-fcgiwrap.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r cdadbd688900 -r 03a5ae91e873 www/fcgiwrap/distinfo
--- a/www/fcgiwrap/distinfo     Wed Nov 28 16:06:34 2018 +0000
+++ b/www/fcgiwrap/distinfo     Wed Nov 28 16:06:35 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2017/03/23 17:07:01 joerg Exp $
+$NetBSD: distinfo,v 1.3 2018/11/28 16:06:35 jperkin Exp $
 
 SHA1 (fcgiwrap-1.1.0.tar.gz) = 8e7b9140b3d96f4635352bb967715477b35caf84
 RMD160 (fcgiwrap-1.1.0.tar.gz) = 7969f77430d1c51e58aa90619803caf723a50168
 SHA512 (fcgiwrap-1.1.0.tar.gz) = b8d35762d1d3c94a67602290b0092f0c38cffbbcd3dbc16597abf8b92172909b04450c238de2e430e841a17dd47fdd48d6a001f77539966980ef1af61e447ddc
 Size (fcgiwrap-1.1.0.tar.gz) = 9924 bytes
 SHA1 (patch-Makefile.in) = 30615f4beb33f9ac47fdcd7cebb93bd42fa55e94
+SHA1 (patch-fcgiwrap.c) = 5c5643015cc42d27774885becf6c91002f889cca
diff -r cdadbd688900 -r 03a5ae91e873 www/fcgiwrap/patches/patch-fcgiwrap.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/fcgiwrap/patches/patch-fcgiwrap.c     Wed Nov 28 16:06:35 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-fcgiwrap.c,v 1.1 2018/11/28 16:06:36 jperkin Exp $
+
+Appease -Werror=implicit-fallthrough.
+
+--- fcgiwrap.c.orig    2013-02-03 13:25:17.000000000 +0000
++++ fcgiwrap.c
+@@ -553,7 +553,7 @@ static void handle_fcgi_request(void)
+ 
+                       execl(filename, filename, (void *)NULL);
+                       cgi_error("502 Bad Gateway", "Cannot execute script", filename);
+-
++                      break;
+               default: /* parent */
+                       close(pipe_in[0]);
+                       close(pipe_out[1]);



Home | Main Index | Thread Index | Old Index