summaryrefslogtreecommitdiffstats
path: root/net/xtables-addons/patches/400-deactivate-no-textsearch-bm-error.patch
blob: ccf15c2a53b527240e6cd41343f9f75bfca4e839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Date: Thu, 15 May 2025 14:59:18 +0200
Subject: xtables-addons: deactivate 'no TEXTSEARCH_BM' error

If ipp2p (and kmod-lib-textsearch) is disabled the error
"error CONFIG_TEXTSEARCH=y/m is required.." is displayed.
This is because all modules are always compiled.
So to make compilation possible with ipp2p disabled, the message
was disabled.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>

--- a/extensions/xt_ipp2p.c
+++ b/extensions/xt_ipp2p.c
@@ -14,7 +14,7 @@
 #include "xt_ipp2p.h"
 #include "compat_xtables.h"
 #if !defined(CONFIG_TEXTSEARCH_BM) && !defined(CONFIG_TEXTSEARCH_BM_MODULE)
-#	error CONFIG_TEXTSEARCH_BM=y/m is required for ipp2p. Either enable textsearch in your kernel ".config" file, or disable ipp2p in the "mconfig" file in Xtables-addons.
+//#	error CONFIG_TEXTSEARCH_BM=y/m is required for ipp2p. Either enable textsearch in your kernel ".config" file, or disable ipp2p in the "mconfig" file in Xtables-addons.
 #endif
 
 //#define IPP2P_DEBUG_ARES