meta-openembedded/meta-networking/recipes-connectivity
Martin Jansa 46c46c300b
snort: Fix build with gcc-15
* fixes:
  http://errors.yoctoproject.org/Errors/Details/852983/

../../../../../snort-2.9.20/src/preprocessors/HttpInspect/files/file_decomp_PDF.c:1062:13: error: conflicting types for 'File_Decomp_PDF'; have 'fd_status_t(struct fd_session_s *)' {aka 'enum fd_status(struct fd_session_s *)'}
 1062 | fd_status_t File_Decomp_PDF( fd_session_p_t SessionPtr )
      |             ^~~~~~~~~~~~~~~
In file included from ../../../../../snort-2.9.20/src/preprocessors/HttpInspect/include/file_decomp.h:59,
                 from ../../../../../snort-2.9.20/src/preprocessors/HttpInspect/files/file_decomp_PDF.c:31:
../../../../../snort-2.9.20/src/preprocessors/HttpInspect/include/file_decomp_PDF.h:83:13: note: previous declaration of 'File_Decomp_PDF' with type 'fd_status_t(void)' {aka 'enum fd_status(void)'}
   83 | fd_status_t File_Decomp_PDF();
      |             ^~~~~~~~~~~~~~~
make[5]: *** [Makefile:374: file_decomp_PDF.o] Error 1
make[5]: *** Waiting for unfinished jobs....
../../../../../snort-2.9.20/src/preprocessors/HttpInspect/files/file_decomp.c: In function 'Process_Decompression':
../../../../../snort-2.9.20/src/preprocessors/HttpInspect/files/file_decomp.c:245:24: error: too many arguments to function 'File_Decomp_PDF'; expected 0, have 1
  245 |             Ret_Code = File_Decomp_PDF( SessionPtr );
      |                        ^~~~~~~~~~~~~~~  ~~~~~~~~~~
In file included from ../../../../../snort-2.9.20/src/preprocessors/HttpInspect/include/file_decomp.h:59,
                 from ../../../../../snort-2.9.20/src/preprocessors/HttpInspect/files/file_decomp.c:34:
../../../../../snort-2.9.20/src/preprocessors/HttpInspect/include/file_decomp_PDF.h:83:13: note: declared here
   83 | fd_status_t File_Decomp_PDF();
      |             ^~~~~~~~~~~~~~~

  http://errors.yoctoproject.org/Errors/Details/852992/
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c: In function 'DCE2_InitGlobal':
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:348:25: error: too many arguments to function 'DCE2_GetReloadSafeMemcap'; expected 0, have 1
  348 |         size_t memcap = DCE2_GetReloadSafeMemcap(dce2_config);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:163:17: note: declared here
  163 | static uint32_t DCE2_GetReloadSafeMemcap();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c: In function 'DCE2_ReloadGlobal':
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:1291:25: error: too many arguments to function 'DCE2_GetReloadSafeMemcap'; expected 0, have 1
 1291 |         size_t memcap = DCE2_GetReloadSafeMemcap(dce2_swap_config);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:163:17: note: declared here
  163 | static uint32_t DCE2_GetReloadSafeMemcap();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c: In function 'DCE2_ReloadVerify':
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:1436:35: error: too many arguments to function 'DCE2_GetReloadSafeMemcap'; expected 0, have 1
 1436 |     uint32_t current_memcap     = DCE2_GetReloadSafeMemcap(dce2_config);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:163:17: note: declared here
  163 | static uint32_t DCE2_GetReloadSafeMemcap();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:1437:35: error: too many arguments to function 'DCE2_GetReloadSafeMemcap'; expected 0, have 1
 1437 |     uint32_t new_memcap         = DCE2_GetReloadSafeMemcap(dce2_swap_config);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:163:17: note: declared here
  163 | static uint32_t DCE2_GetReloadSafeMemcap();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c: In function 'DCE2_ReloadSwap':
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:1535:26: error: too many arguments to function 'DCE2_GetReloadSafeMemcap'; expected 0, have 1
 1535 |         current_memcap = DCE2_GetReloadSafeMemcap(dce2_config);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:163:17: note: declared here
  163 | static uint32_t DCE2_GetReloadSafeMemcap();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:1538:26: error: too many arguments to function 'DCE2_GetReloadSafeMemcap'; expected 0, have 1
 1538 |         swap_memcap    = DCE2_GetReloadSafeMemcap(dce2_swap_config);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:163:17: note: declared here
  163 | static uint32_t DCE2_GetReloadSafeMemcap();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c: At top level:
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:1673:17: error: conflicting types for 'DCE2_GetReloadSafeMemcap'; have 'uint32_t(tSfPolicyUserContext *)' {aka 'unsigned int(tSfPolicyUserContext *)'}
 1673 | static uint32_t DCE2_GetReloadSafeMemcap(tSfPolicyUserContextId pConfig)
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../snort-2.9.20/src/dynamic-preprocessors/dcerpc2/spp_dce2.c:163:17: note: previous declaration of 'DCE2_GetReloadSafeMemcap' with type 'uint32_t(void)' {aka 'unsigned int(void)'}
  163 | static uint32_t DCE2_GetReloadSafeMemcap();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-26 10:31:26 -07:00
..
adcli adcli: use https protocol for fetching 2024-01-13 09:08:39 -08:00
autossh recipes: Fix variable assignment whitespace 2025-03-20 08:46:56 -07:00
bearssl recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
blueman blueman: update 2.4.3 -> 2.4.4 2025-04-10 08:31:04 -07:00
bluepy recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
bluez-tools bluez-tools: New recipe for bluez5 tools 2024-03-18 15:42:51 -07:00
cannelloni cannelloni: Fix build with clang and libc++ runtime 2023-11-13 00:16:50 -08:00
civetweb civetweb: enable packageconfig cpp 2025-03-17 14:01:15 -07:00
daq libdaq: upgrade 3.0.18 -> 3.0.19 2025-03-25 09:33:52 -07:00
dhcp recipes: Start WORKDIR -> UNPACKDIR transition 2024-05-23 08:44:44 -07:00
dibbler recipes: ignore various issues fatal with gcc-14 2024-07-08 08:42:43 -07:00
ez-ipupdate *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
freeradius freeradius: 3.2.5 -> 3.2.7 2025-03-21 11:07:34 -07:00
lftp lftp: remove obsolete acpaths 2025-02-27 20:28:17 +00:00
libdnet libdnet: upgrade 1.17.0 -> 1.18.0 2024-03-20 09:28:05 -07:00
libiec61850 libiec61850: upgrade 1.5.1 -> 1.5.3 2024-06-07 09:11:58 -07:00
mbedtls mbedtls: 3.6.2 -> 3.6.3 2025-03-31 14:42:06 -07:00
miniupnpd miniupnpd: partial recipe rewrite 2025-03-19 11:37:48 -07:00
mosquitto mosquitto: upgrade 2.0.19 -> 2.0.20 2024-11-05 22:45:17 -08:00
nanomsg nng: Rename default branch of github.com:nanomsg/nng.git 2024-10-17 14:07:45 -07:00
networkmanager networkmanager: enable vala bindings if gobject introspection is enabled 2025-04-19 14:36:04 -07:00
openconnect openconnect: Fix build with GnuTLS v3.8.1 2023-09-07 11:43:45 -07:00
openfortivpn openfortivpn: upgrade 1.22.1 -> 1.23.1 2025-02-26 08:30:51 -08:00
openthread ot-br-posix: Fix Musl build error 2024-12-03 09:44:36 -08:00
python-networkmanager Convert to new override syntax 2021-08-03 10:21:25 -07:00
rdate recipes: Fix variable assignment whitespace 2025-01-31 10:34:03 -08:00
rdist rdist: Pin to C17 std 2025-03-20 08:46:55 -07:00
relayd recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
restinio remove unused AUTHOR variable 2023-08-03 09:14:20 -07:00
samba recipes: drop ld-is-gold support 2025-02-23 17:36:08 -08:00
sethdlc recipes: Fix variable assignment whitespace 2025-03-20 08:46:56 -07:00
snort snort: Fix build with gcc-15 2025-04-26 10:31:26 -07:00
sshpass sshpass: upgrade 1.09 -> 1.10 2023-02-20 00:23:02 -08:00
tayga tayga: Fix contains reference to TMPDIR [buildpaths] warning 2024-07-31 08:29:24 -07:00
ufw ufw: Fix "could not find required binary 'iptables'" 2022-09-15 12:17:30 -07:00
vlan vlan: Pass CFLAGS via CCFLAGS 2023-05-26 08:28:37 -07:00
vpnc recipes: Start WORKDIR -> UNPACKDIR transition 2024-05-23 08:44:44 -07:00
wolfssl Wolfssl: add ptest 2025-03-06 06:58:00 -08:00