diff options
Diffstat (limited to 'sys-apps/ucspi-ssl/files/ucspi-ssl-0.99e-fno-common.patch')
-rw-r--r-- | sys-apps/ucspi-ssl/files/ucspi-ssl-0.99e-fno-common.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/ucspi-ssl/files/ucspi-ssl-0.99e-fno-common.patch b/sys-apps/ucspi-ssl/files/ucspi-ssl-0.99e-fno-common.patch new file mode 100644 index 000000000000..ea7aa0a47688 --- /dev/null +++ b/sys-apps/ucspi-ssl/files/ucspi-ssl-0.99e-fno-common.patch @@ -0,0 +1,56 @@ +https://bugs.gentoo.org/707156 +--- a/src/ip6_bit.c ++++ b/src/ip6_bit.c +@@ -7,7 +7,7 @@ + + #define BITSUBSTITUTION + +-char strnum[FMT_ULONG]; ++extern char strnum[FMT_ULONG]; + + /** + * This function converts a IPv6 address into its binary representation. +--- a/src/remoteinfo.c ++++ b/src/remoteinfo.c +@@ -50,7 +50,7 @@ static int doit(stralloc *out,int s,char ipremote[4],uint16 portremote,char iplo + { + buffer b; + char bspace[128]; +- char strnum[FMT_ULONG]; ++ extern char strnum[FMT_ULONG]; + int numcolons; + char ch; + +--- a/src/sslclient.c ++++ b/src/sslclient.c +@@ -98,7 +98,7 @@ static stralloc moreaddresses; + + static stralloc tmp; + static stralloc fqdn; +-char strnum[FMT_ULONG]; ++extern char strnum[FMT_ULONG]; + char ipstr[IP6_FMT]; + + char seed[128]; +--- a/src/sslhandle.c ++++ b/src/sslhandle.c +@@ -91,7 +91,7 @@ static stralloc remotehostsa; + char *remotehost = 0; + char *verifyhost = 0; + +-char strnum[FMT_ULONG]; ++extern char strnum[FMT_ULONG]; + char strnum2[FMT_ULONG]; + + static stralloc tmp; +--- a/src/sslserver.c ++++ b/src/sslserver.c +@@ -87,7 +87,7 @@ char *verifyhost = 0; + unsigned long uid = 0; + unsigned long gid = 0; + +-char strnum[FMT_ULONG]; ++extern char strnum[FMT_ULONG]; + char strnum2[FMT_ULONG]; + + static stralloc tmp; |