diff --git a/srcpkgs/ucspi-ssl/patches/fix-syntax.patch b/srcpkgs/ucspi-ssl/patches/fix-syntax.patch new file mode 100644 index 0000000000..c486e58724 --- /dev/null +++ b/srcpkgs/ucspi-ssl/patches/fix-syntax.patch @@ -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; + diff --git a/srcpkgs/ucspi-ssl/template b/srcpkgs/ucspi-ssl/template index 0057498255..3f4f828cc3 100644 --- a/srcpkgs/ucspi-ssl/template +++ b/srcpkgs/ucspi-ssl/template @@ -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*) ;;