Skip to content

Commit 5295053

Browse files
hack3ricfelixonmars
authored andcommitted
updpatch: libnids 1.26-5
MITRECND/libnids#12
1 parent ef75026 commit 5295053

2 files changed

Lines changed: 7 additions & 32 deletions

File tree

libnids/add_riscv_support.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

libnids/riscv64.patch

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
1-
diff --git PKGBUILD PKGBUILD
2-
index ee667cf..bee597a 100644
31
--- PKGBUILD
42
+++ PKGBUILD
5-
@@ -11,8 +11,15 @@ url="http://libnids.sourceforge.net/"
6-
license=('GPL')
7-
depends=('libnet' 'libpcap' 'glib2' 'libnsl')
8-
makedepends=('pkgconfig')
9-
-source=(https://github.com/MITRECND/libnids/archive/$pkgver/$pkgname-$pkgver.tar.gz)
10-
-sha256sums=('3f3e9f99a83cd37bc74af83d415c5e3a7505f5b190dfaf456b0849e0054f6733')
11-
+source=(https://github.com/MITRECND/libnids/archive/$pkgver/$pkgname-$pkgver.tar.gz
12-
+ "add_riscv_support.patch")
13-
+sha256sums=('3f3e9f99a83cd37bc74af83d415c5e3a7505f5b190dfaf456b0849e0054f6733'
14-
+ '7ba6610936b19af3fcab9f04a2fb2282988758e13202b565e5a2bb149da6f00a')
15-
+
16-
+prepare() {
17-
+ cd "$srcdir"/$pkgname-$pkgver
18-
+ patch -Np1 -i ../add_riscv_support.patch
19-
+}
20-
21-
build() {
3+
@@ -19,6 +19,7 @@ sha256sums=('3f3e9f99a83cd37bc74af83d415c5e3a7505f5b190dfaf456b0849e0054f6733'
4+
prepare() {
225
cd $pkgname-$pkgver
6+
patch -p1 -i ../38336d55.patch # Honor LDFLAGS
7+
+ cp /usr/share/autoconf/build-aux/config.{guess,sub} .
8+
}
9+
10+
build() {

0 commit comments

Comments
 (0)