-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb64b1b
commit 62d8f08
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
diff --git PKGBUILD PKGBUILD | ||
index 30c0623..adb63dd 100644 | ||
index 1bd6efa..c65320b 100644 | ||
--- PKGBUILD | ||
+++ PKGBUILD | ||
@@ -18,6 +18,14 @@ makedepends=(git) | ||
source=("git+https://github.com/riscv/riscv-isa-sim#commit=530af85d83781a3dae31a4ace84a573ec255fefa") # tag: v1.1.0 | ||
b2sums=(SKIP) | ||
@@ -20,6 +20,11 @@ | ||
|
||
+prepare(){ | ||
+ cd riscv-isa-sim | ||
prepare() { | ||
sed -i '/#include <cstring>/a #include <cstdint>' riscv-isa-sim/fesvr/device.h | ||
+ | ||
+ cd riscv-isa-sim | ||
+ # Commits from https://github.com/riscv-software-src/riscv-isa-sim/pull/966 | ||
+ git cherry-pick -n e52327deeefb29908a822a9eb2f6fc5c87e968af | ||
+ git cherry-pick -n dba7efaf9e2e8d5251820c8555a184f715bb4d46 | ||
+} | ||
+ | ||
} | ||
build() { | ||
cd riscv-isa-sim | ||
./configure --prefix=/usr |