Skip to content

Commit

Permalink
updpatch: coin-or-cbc 2.1.12-2
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <i@rain.cx>
  • Loading branch information
qyl27 committed Oct 7, 2024
1 parent 0d51c37 commit 8e62635
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions coin-or-cbc/riscv64.patch
Original file line number Diff line number Diff line change
@@ -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" \

0 comments on commit 8e62635

Please sign in to comment.