diff --git a/srcpkgs/zola/patches/openssl-sys.patch b/srcpkgs/zola/patches/openssl-sys.patch new file mode 100644 index 00000000000..fd6c811c327 --- /dev/null +++ b/srcpkgs/zola/patches/openssl-sys.patch @@ -0,0 +1,9 @@ +--- Cargo.toml 2020-03-12 21:04:01.000000000 +0100 ++++ - 2020-05-17 16:12:33.843887638 +0200 +@@ -60,3 +60,6 @@ + [profile.release] + lto = true + codegen-units = 1 ++ ++[patch.crates-io] ++"openssl-sys" = {git = 'https://github.com/sfackler/rust-openssl', rev = "54fbab73b7a6b334e727511416b677b14dbbb8b7"} diff --git a/srcpkgs/zola/template b/srcpkgs/zola/template index 39c0a3e6964..1f93cce2a50 100644 --- a/srcpkgs/zola/template +++ b/srcpkgs/zola/template @@ -1,6 +1,6 @@ # Template file for 'zola' pkgname=zola -version=0.10.0 +version=0.10.1 revision=1 build_style=cargo hostmakedepends="pkg-config" @@ -11,18 +11,17 @@ license="MIT" homepage="https://github.com/getzola/zola" changelog="https://github.com/getzola/zola/raw/master/CHANGELOG.md" distfiles="https://github.com/getzola/zola/archive/v${version}.tar.gz" -checksum=af8160f1536c9b69153dc041a2e23f359b6acb2a9a2235333e887397d8a6634d - -broken="https://build.voidlinux.org/builders/x86_64-musl_builder/builds/26379/steps/shell_3/logs/stdio" +checksum=cf5992e935d2f236985b57f357bb6e6738e83b13b0ae50278da66382a0af106c case $XBPS_TARGET_MACHINE in ppc*) broken="segfaults" ;; - armv6l-musl) broken="triggers segfault in rustc" ;; + *-musl) broken="triggers segfault in rustc" ;; esac pre_build() { export PKG_CONFIG_ALL_DYNAMIC=1 export RUSTONIG_SYSTEM_LIBONIG=1 + cargo update --package openssl-sys } post_install() {