ucspi-ssl: fix build w/ gcc10

This commit is contained in:
Jürgen Buchmüller 2020-09-28 23:55:12 +02:00
parent 0aedbfdcb3
commit bf7e7caaec
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- host/superscript.com/net/ucspi-ssl-0.11.6a/src/sslperl.c 2019-06-22 10:19:41.000000000 +0200
+++ host/superscript.com/net/ucspi-ssl-0.11.6a/src/sslperl.c 2020-09-28 23:36:57.970547752 +0200
@@ -14,7 +14,7 @@
#define call_argv perl_call_argv
#endif
-extern char *who = "PERL!";
+extern char *who /* = "PERL!" */;
//extern const char *who;

View file

@ -18,6 +18,8 @@ checksum=e7fcd4ceec351a0f36b7d27188758709a6c095460ed4dce434e0c5d463c4c4ea
# ad hoc build system breaks parallel build and cross-compilation
disable_parallel_build="ad hoc build system breaks parallel build"
CFLAGS="-fcommon"
pre_build() {
case "$XBPS_TARGET_MACHINE" in
x86_64*) ;;