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:
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"
+}