Skip to content

Commit

Permalink
updpatch: proxmark3 4.19552-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia committed Nov 28, 2024
1 parent f9a77a0 commit 55cb724
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions proxmark3/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
--- PKGBUILD
+++ PKGBUILD
@@ -11,21 +11,27 @@ depends=('qt5-base' 'bluez-libs' 'jansson')
makedepends=('arm-none-eabi-gcc' 'arm-none-eabi-newlib' 'lua52' 'python')
optdepends=('lua52: lua scripts'
'python: some scripts')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('b4edce069816a9c81b11292702eb965adf9e03b666ba909a6870af135be42f8c566ee232467faa27158c773b69c21b866795d7b6889123349fdd90bb8542cff5')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+fix-optimize-native.patch::https://github.com/RfidResearchGroup/proxmark3/pull/2577/commits/79540b1d336b229ed98af9f049e6a520768f384c.patch)
+sha512sums=('b4edce069816a9c81b11292702eb965adf9e03b666ba909a6870af135be42f8c566ee232467faa27158c773b69c21b866795d7b6889123349fdd90bb8542cff5'
+ 'dd48ae1e0cec480ab39422fe037e3175bbc65fb34cad88eb11cfa712703356761fa290a86cb6abc81c06459724f4f5c36e2c7d967b9638e5ec65eb63667978ab')

prepare() {
+ pushd "$pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/fix-optimize-native.patch"
+ popd
+
cp -r $pkgname-$pkgver{,-rdv4}
}

@@ -21,11 +21,11 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver

Expand Down

0 comments on commit 55cb724

Please sign in to comment.