mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 02:21:12 +00:00
root-packages/libnfnetlink
This commit is contained in:
9
root-packages/libnfnetlink/build.sh
Normal file
9
root-packages/libnfnetlink/build.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://www.netfilter.org/projects/libnfnetlink/index.html
|
||||
TERMUX_PKG_DESCRIPTION="libnfnetlink is the low-level library for netfilter related kernel/userspace communication."
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_LICENSE_FILE="COPYING"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.0.1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=http://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a
|
||||
12
root-packages/libnfnetlink/fix-libnetfilter-queue.patch
Normal file
12
root-packages/libnfnetlink/fix-libnetfilter-queue.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/include/libnfnetlink/linux_nfnetlink.h b/include/libnfnetlink/linux_nfnetlink.h
|
||||
index 76a8550..4fb87f2 100644
|
||||
--- a/include/libnfnetlink/linux_nfnetlink.h
|
||||
+++ b/include/libnfnetlink/linux_nfnetlink.h
|
||||
@@ -1,5 +1,5 @@
|
||||
-#ifndef _NFNETLINK_H
|
||||
-#define _NFNETLINK_H
|
||||
+#ifndef _UAPI_NFNETLINK_H
|
||||
+#define _UAPI_NFNETLINK_H
|
||||
#include <linux/types.h>
|
||||
#include <libnfnetlink/linux_nfnetlink_compat.h>
|
||||
|
||||
Reference in New Issue
Block a user