author | Felix Yan
<felixonmars@archlinux.org> 2021-09-28 00:30:52 UTC |
committer | Felix Yan
<felixonmars@archlinux.org> 2021-09-28 00:30:52 UTC |
parent | 0ca6405269924a8ab404015a27a15b9ddb8682c4 |
PKGBUILD | +4 | -11 |
gcc11.patch | +0 | -12 |
diff --git a/PKGBUILD b/PKGBUILD index 3f413d5..7242ea2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,8 +3,8 @@ # Contributor: killruana <killruana@gmail.com> pkgname=yosys -pkgver=0.9 -pkgrel=14 +pkgver=0.10 +pkgrel=1 pkgdesc='A framework for RTL synthesis' arch=('x86_64') url='http://www.clifford.at/yosys/' @@ -14,10 +14,8 @@ makedepends=('boost') checkdepends=('iverilog') optdepends=('graphviz: Schematics display support' 'xdot: Display netlists') -source=("https://github.com/cliffordwolf/yosys/archive/$pkgname-$pkgver.tar.gz" - gcc11.patch) -sha512sums=('6ae0f822ca0e3ec749773dae89e948488b698aaa149e73f04604dd899ac403a3073645f0e27382801f5f1a9483d87ef4066fde5dc797181eff06684de7a5b138' - '5e087b9b11544adfb48eee6242634f47c60280748c627b27fa806490906047ee1ce34f174398dac6544cc83845823d76bfe94004157304d32ec40ca425a24386') +source=("https://github.com/cliffordwolf/yosys/archive/$pkgname-$pkgver.tar.gz") +sha512sums=('2168a206d4395fd83649a04ddfa717ddc4509b171da859979f4ba3eb61a350d4f5110439503651dfe24cc6860935a77c465000b047bd806a73a6657da331b52a') _make() { make \ @@ -35,11 +33,6 @@ _make() { BOOST_PYTHON_LIB="-lpython3.9 -lboost_python39" $@ } -prepare() { - cd $pkgname-$pkgname-$pkgver - patch -Np1 -i ../gcc11.patch -} - build() { cd $pkgname-$pkgname-$pkgver _make diff --git a/gcc11.patch b/gcc11.patch deleted file mode 100644 index 090c6bf..0000000 --- a/gcc11.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/passes/sat/freduce.cc b/passes/sat/freduce.cc -index f296316..292097c 100644 ---- a/passes/sat/freduce.cc -+++ b/passes/sat/freduce.cc -@@ -27,6 +27,7 @@ - #include <stdio.h> - #include <string.h> - #include <algorithm> -+#include <limits> - - USING_YOSYS_NAMESPACE - PRIVATE_NAMESPACE_BEGIN