From ac2a14f9255d7fa5f7db22503c0ab6ec4fa8be3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= Date: Fri, 21 Jul 2023 18:19:08 +0200 Subject: [PATCH] octave: rebuild for sundials update Fix building with SuiteSparse 7.1.0 or later. --- mingw-w64-octave/PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mingw-w64-octave/PKGBUILD b/mingw-w64-octave/PKGBUILD index fa7d874d2c..760f4ef508 100644 --- a/mingw-w64-octave/PKGBUILD +++ b/mingw-w64-octave/PKGBUILD @@ -2,7 +2,7 @@ _realname=octave pkgbase=mingw-w64-${_realname} pkgname=${MINGW_PACKAGE_PREFIX}-${_realname} pkgver=8.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="GNU Octave: Interactive programming environment for numerical computations (mingw-w64)" url="https://www.octave.org" license=('spdx:GPL-3.0-or-later') @@ -35,6 +35,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-autotools" "${MINGW_PACKAGE_PREFIX}-fltk" "${MINGW_PACKAGE_PREFIX}-portaudio" "${MINGW_PACKAGE_PREFIX}-rapidjson") +checkdepends=("unzip" + "zip") optdepends=('texinfo: for help-support in Octave' "unzip: for decompressing .zip archives" "zip: for compressing .zip archives" @@ -44,15 +46,17 @@ optdepends=('texinfo: for help-support in Octave' "${MINGW_PACKAGE_PREFIX}-portaudio: audio support") source=(https://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.xz{,.sig} "0001-no-namespace-in-extern-C.patch::https://hg.savannah.gnu.org/hgweb/octave/raw-rev/123c5d78fc9d" - "0003-no-community-support.patch" "0002-mk-doc-cache-path.patch" + "0003-no-community-support.patch" + "0004-suitesparse-7.1.patch::https://hg.savannah.gnu.org/hgweb/octave/raw-rev/134152cf1a3f" "0005-makeinfo-perl.patch") validpgpkeys=('DBD9C84E39FE1AAE99F04446B05F05B75D36644B') # John W. Eaton sha512sums=('9f56428e990c6aa71a5cfe7698602ba681535c36b140fa9248536c260afebd19f6125c92a0fd6d14fab5a794de49e03ccc98e89ac879108f635b3ffc4ec40514' 'SKIP' 'b3961b95e8eba47959f3d8dd5b7542c7578647d7a3fd79489ceeadc34444d69128011f6cb276f6cb1f09411e1253b6c6e2f1b8caa9db3fc2ada523f01682d5b1' - 'c737dc79352ebfec9651266c1853cb6cf6d75201019be0b4cc60bd12a1bde777a18b6e50e278f9980a6ffed96fb4442793f870b434c0c8abcbd521a2f4f53dd9' '5742cde34ae9184276c830dab41dccb289991578656353658bf07315d89b1c3870c6c51520d5aae0cec8c7fb12c707a1970aa9dde353b4ab54e515d1d3cf66e0' + 'c737dc79352ebfec9651266c1853cb6cf6d75201019be0b4cc60bd12a1bde777a18b6e50e278f9980a6ffed96fb4442793f870b434c0c8abcbd521a2f4f53dd9' + 'b112c8faf575e2256f437ab033e4917f827ef9fa0ae993daeee12c333f5cdba1ef59dbea1aa2fb2bdc43ea5fee7ead1877b9a76779b6759f2e75a434692c9588' 'c2796f1d83208595c4f52f27d14f3bedc64d95a514089108726b5a2de20296bdfb195f545e7045a322eebef4ce387b0f05547e071c74dfa5478f5689d0f207bd') apply_patch_with_msg() { @@ -68,6 +72,7 @@ prepare() { apply_patch_with_msg \ 0002-mk-doc-cache-path.patch \ + 0004-suitesparse-7.1.patch \ 0005-makeinfo-perl.patch if [[ ${MINGW_PACKAGE_PREFIX} == *-clang-* ]]; then