public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/snort: Fix build with gcc-15.x
@ 2026-02-22 17:54 Bernd Kuhls
  2026-02-23 20:48 ` Julien Olivain via buildroot
  2026-03-06 19:53 ` Thomas Perale via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2026-02-22 17:54 UTC (permalink / raw)
  To: buildroot; +Cc: Sergio Prado

Fixes:
https://autobuild.buildroot.net/results/3b9/3b92d275a32721bd2cbb10e15c392054dfd42c63/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/snort/0009-gcc-15-fix.patch | 36 +++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 package/snort/0009-gcc-15-fix.patch

diff --git a/package/snort/0009-gcc-15-fix.patch b/package/snort/0009-gcc-15-fix.patch
new file mode 100644
index 0000000000..227ad5ffc5
--- /dev/null
+++ b/package/snort/0009-gcc-15-fix.patch
@@ -0,0 +1,36 @@
+Fix build with gcc-15.x
+
+Adapted from: https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_2_8_snort/112466576
+
+Upstream-Status: Backport [resolved in snort3 https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64]
+
+Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
+
+Downloaded from
+https://gitweb.gentoo.org/repo/gentoo.git/tree/net-analyzer/snort/files/snort-2.9.20-gcc-15-fix.patch?id=410cb3ac09ab3d55e96876634c4d58005d9ead89
+
+Upstream: https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+
+--- a/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
++++ b/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
+@@ -160,7 +160,7 @@ static void DCE2_ReloadSwapFree(void *);
+ static void DCE2_AddPortsToPaf(struct _SnortConfig *, DCE2_Config *, tSfPolicyId);
+ static void DCE2_ScAddPortsToPaf(struct _SnortConfig *, void *);
+ static uint32_t max(uint32_t a, uint32_t b);
+-static uint32_t DCE2_GetReloadSafeMemcap();
++static uint32_t DCE2_GetReloadSafeMemcap(tSfPolicyUserContextId pConfig);
+ 
+ static bool dce2_file_cache_is_enabled = false;
+ static bool dce2_file_cache_was_enabled = false;
+--- a/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
++++ b/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
+@@ -80,6 +80,6 @@ fd_status_t File_Decomp_Init_PDF( fd_session_p_t SessionPtr );
+ 
+ fd_status_t File_Decomp_End_PDF( fd_session_p_t SessionPtr );
+ 
+-fd_status_t File_Decomp_PDF();
++fd_status_t File_Decomp_PDF( fd_session_p_t SessionPtr );
+ 
+ #endif /* FILE_DECOMP_PDF_H */
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/snort: Fix build with gcc-15.x
  2026-02-22 17:54 [Buildroot] [PATCH 1/1] package/snort: Fix build with gcc-15.x Bernd Kuhls
@ 2026-02-23 20:48 ` Julien Olivain via buildroot
  2026-03-06 19:53 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-02-23 20:48 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Sergio Prado

On 22/02/2026 18:54, Bernd Kuhls wrote:
> Fixes:
> https://autobuild.buildroot.net/results/3b9/3b92d275a32721bd2cbb10e15c392054dfd42c63/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/snort: Fix build with gcc-15.x
  2026-02-22 17:54 [Buildroot] [PATCH 1/1] package/snort: Fix build with gcc-15.x Bernd Kuhls
  2026-02-23 20:48 ` Julien Olivain via buildroot
@ 2026-03-06 19:53 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-06 19:53 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Thomas Perale, buildroot

In reply of:
> Fixes:
> https://autobuild.buildroot.net/results/3b9/3b92d275a32721bd2cbb10e15c392054dfd42c63/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.11.x. Thanks

> ---
>  package/snort/0009-gcc-15-fix.patch | 36 +++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 package/snort/0009-gcc-15-fix.patch
> 
> diff --git a/package/snort/0009-gcc-15-fix.patch b/package/snort/0009-gcc-15-fix.patch
> new file mode 100644
> index 0000000000..227ad5ffc5
> --- /dev/null
> +++ b/package/snort/0009-gcc-15-fix.patch
> @@ -0,0 +1,36 @@
> +Fix build with gcc-15.x
> +
> +Adapted from: https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_2_8_snort/112466576
> +
> +Upstream-Status: Backport [resolved in snort3 https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64]
> +
> +Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> +
> +Downloaded from
> +https://gitweb.gentoo.org/repo/gentoo.git/tree/net-analyzer/snort/files/snort-2.9.20-gcc-15-fix.patch?id=410cb3ac09ab3d55e96876634c4d58005d9ead89
> +
> +Upstream: https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> +
> +--- a/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
> ++++ b/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
> +@@ -160,7 +160,7 @@ static void DCE2_ReloadSwapFree(void *);
> + static void DCE2_AddPortsToPaf(struct _SnortConfig *, DCE2_Config *, tSfPolicyId);
> + static void DCE2_ScAddPortsToPaf(struct _SnortConfig *, void *);
> + static uint32_t max(uint32_t a, uint32_t b);
> +-static uint32_t DCE2_GetReloadSafeMemcap();
> ++static uint32_t DCE2_GetReloadSafeMemcap(tSfPolicyUserContextId pConfig);
> + 
> + static bool dce2_file_cache_is_enabled = false;
> + static bool dce2_file_cache_was_enabled = false;
> +--- a/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
> ++++ b/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
> +@@ -80,6 +80,6 @@ fd_status_t File_Decomp_Init_PDF( fd_session_p_t SessionPtr );
> + 
> + fd_status_t File_Decomp_End_PDF( fd_session_p_t SessionPtr );
> + 
> +-fd_status_t File_Decomp_PDF();
> ++fd_status_t File_Decomp_PDF( fd_session_p_t SessionPtr );
> + 
> + #endif /* FILE_DECOMP_PDF_H */
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-06 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-22 17:54 [Buildroot] [PATCH 1/1] package/snort: Fix build with gcc-15.x Bernd Kuhls
2026-02-23 20:48 ` Julien Olivain via buildroot
2026-03-06 19:53 ` Thomas Perale via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox