diff options
author | 2020-11-29 00:09:21 +0100 | |
---|---|---|
committer | 2020-11-29 00:09:21 +0100 | |
commit | 4b9142d25d28c969e823177916b5319a8f808a7b (patch) | |
tree | 74014af41c64aaa5a332770c4607375a8e0c4927 /www-servers/sniproxy/files | |
parent | sys-fabric/infinipath-psm: fix build with gcc-10 (diff) | |
download | gentoo-4b9142d25d28c969e823177916b5319a8f808a7b.tar.gz gentoo-4b9142d25d28c969e823177916b5319a8f808a7b.tar.bz2 gentoo-4b9142d25d28c969e823177916b5319a8f808a7b.zip |
www-servers/sniproxy: fix build with gcc-10, port to GLEP 81
Closes: https://bugs.gentoo.org/707530
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'www-servers/sniproxy/files')
-rw-r--r-- | www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch b/www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch new file mode 100644 index 000000000000..f718bfca736c --- /dev/null +++ b/www-servers/sniproxy/files/sniproxy-0.6.0-fno-common.patch @@ -0,0 +1,24 @@ +Taken from: https://github.com/dlundquist/sniproxy/commit/822bb80df9b7b345cc9eba55df74a07b498819ba +Author: Pierre-Olivier Mercier <nemunaire@nemunai.re> + +--- a/src/http.h ++++ b/src/http.h +@@ -29,6 +29,6 @@ + #include <stdio.h> + #include "protocol.h" + +-const struct Protocol *const http_protocol; ++extern const struct Protocol *const http_protocol; + + #endif +--- a/src/tls.h ++++ b/src/tls.h +@@ -28,6 +28,6 @@ + + #include "protocol.h" + +-const struct Protocol *const tls_protocol; ++extern const struct Protocol *const tls_protocol; + + #endif + |