File Fix-enable-libseccomp.patch of Package ocserv
diff -rub ocserv-1.4.1.orig/configure.ac ocserv-1.4.1/configure.ac
--- ocserv-1.4.1.orig/configure.ac 2026-01-04 22:11:33.000000000 +0800
+++ ocserv-1.4.1/configure.ac 2026-03-21 23:15:02.099246125 +0800
@@ -426,14 +426,7 @@
seccomp_enabled=$enableval, seccomp_enabled=yes)
if [ test "$seccomp_enabled" = "yes" ];then
-AC_LIB_HAVE_LINKFLAGS(seccomp,, [#include <seccomp.h>
-], [seccomp_init(0);])
- if [ test -z "$LIBSECCOMP" ];then
- seccomp_enabled="no"
- else
- seccomp_enabled="yes"
isolation="seccomp"
- fi
fi
AC_ARG_ENABLE(systemd,