FreeBSD Bugzilla – Attachment 251464 Details for
Bug 279748
security/modsecurity3: Fix build with libxml2 2.12 and newer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for modsecurity3
libxml2-upd-modsecurity3.patch (text/plain), 1.77 KB, created by
Daniel Engberg
on 2024-06-15 05:24:56 UTC
(
hide
)
Description:
Patch for modsecurity3
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-06-15 05:24:56 UTC
Size:
1.77 KB
patch
obsolete
>diff --git a/security/modsecurity3/Makefile b/security/modsecurity3/Makefile >index baa63906d2d4..78ac620ed7b0 100644 >--- a/security/modsecurity3/Makefile >+++ b/security/modsecurity3/Makefile >@@ -17,7 +17,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ > libyajl.so:devel/yajl \ > libmaxminddb.so:net/libmaxminddb > >-USES= cpe gmake gnome libtool pkgconfig:build >+USES= cpe gmake gnome libtool pkgconfig > > CPE_VENDOR= trustwave > >@@ -26,7 +26,10 @@ USE_GNOME= libxml2 > USE_LDCONFIG= yes > > GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --without-lmdb --without-ssdeep --without-lua >+CONFIGURE_ARGS= --without-lmdb \ >+ --without-lua \ >+ --without-pcre2 \ >+ --without-ssdeep > > INSTALL_TARGET= install-strip > >diff --git a/security/modsecurity3/files/patch-src_modsecurity.cc b/security/modsecurity3/files/patch-src_modsecurity.cc >new file mode 100644 >index 000000000000..a15eada7e317 >--- /dev/null >+++ b/security/modsecurity3/files/patch-src_modsecurity.cc >@@ -0,0 +1,10 @@ >+--- src/modsecurity.cc.orig 2024-01-30 15:59:32 UTC >++++ src/modsecurity.cc >+@@ -24,6 +24,7 @@ >+ #ifdef WITH_LIBXML2 >+ #include <libxml/xmlschemas.h> >+ #include <libxml/xpath.h> >++#include <libxml/parser.h> >+ #endif >+ #ifdef MSC_WITH_CURL >+ #include <curl/curl.h> >diff --git a/security/modsecurity3/files/patch-src_request__body__processor_xml.h b/security/modsecurity3/files/patch-src_request__body__processor_xml.h >new file mode 100644 >index 000000000000..55b4429dbf06 >--- /dev/null >+++ b/security/modsecurity3/files/patch-src_request__body__processor_xml.h >@@ -0,0 +1,10 @@ >+--- src/request_body_processor/xml.h.orig 2024-01-30 15:59:32 UTC >++++ src/request_body_processor/xml.h >+@@ -16,6 +16,7 @@ >+ #ifdef WITH_LIBXML2 >+ #include <libxml/xmlschemas.h> >+ #include <libxml/xpath.h> >++#include <libxml/parser.h> >+ #endif >+ >+ #include <string>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279748
: 251464