From 8e62635f0895284c6f4ecd327514bbc20d12ebdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E9=9B=A8=E8=90=BD?= Date: Mon, 7 Oct 2024 10:40:44 +0800 Subject: [PATCH] updpatch: coin-or-cbc 2.1.12-2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 秋雨落 --- coin-or-cbc/riscv64.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/coin-or-cbc/riscv64.patch b/coin-or-cbc/riscv64.patch index faa87bd12..3c5e0a5ab 100644 --- a/coin-or-cbc/riscv64.patch +++ b/coin-or-cbc/riscv64.patch @@ -1,15 +1,15 @@ --- PKGBUILD +++ PKGBUILD -@@ -21,6 +21,12 @@ makedepends=(nauty) - source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Cbc/archive/refs/tags/releases/$pkgver.tar.gz) - sha256sums=('1fb591dd88336fdaf096b8e42e46111e41671a5eb85d4ee36e45baff1678bd33') +@@ -22,6 +22,12 @@ makedepends=(git) + source=(git+https://github.com/coin-or/Cbc#tag=releases/$pkgver) + sha256sums=('36ce629474dd1c7bfff0e12c1a405d8046f6f794cdb403a94e9b3aeb09b8ccfa') +prepare() { -+ cd Cbc-releases-$pkgver ++ cd Cbc + autoconf_file="/usr/share/autoconf/build-aux/config" + echo ". Cbc" | xargs -r -n1 cp ${autoconf_file}.{guess,sub} +} + build() { - cd Cbc-releases-$pkgver - ./configure --prefix=/usr \ + cd Cbc + CFLAGS+=" -Wno-implicit-function-declaration" \