Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/libnids/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-05-02 21:28:15 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-05-02 21:28:15 +0200
commit73ac13d5251d7e7775a0bd506ed8128933bd90dd (patch)
tree62cf14972c251699bfd4d6af7fd1788e3dfd27fc /community/libnids/PKGBUILD
parent64117098bfd25d4fcb5a5b9a1d842c9a791b5d29 (diff)
community/libnids: backported Fedoras inline patch (for dsniff, untested)
Diffstat (limited to 'community/libnids/PKGBUILD')
-rw-r--r--community/libnids/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/libnids/PKGBUILD b/community/libnids/PKGBUILD
new file mode 100644
index 00000000..7be0ea3e
--- /dev/null
+++ b/community/libnids/PKGBUILD
@@ -0,0 +1,11 @@
+# libndis defines some functions inline, so they are not in the shared library,
+# needed for instance for dsniff
+# see https://src.fedoraproject.org/cgit/rpms/libnids.git/commit/?id=ecafb692f20e0acad555f66c3cc1646997a82dae
+
+source+=('libnids-1.24-inline.patch')
+sha256sums+=('0c2b0426a6bab56641f3579dca266ea8d38e1834230154a1be9bbe2f66e2df5e')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i "$srcdir/libnids-1.24-inline.patch"
+}