Re: [Buildroot] [PATCH 1/1] package/netsnmp: add upstream patch to fix build of depending packages
Thomas Petazzoni via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <aod8fx7tUeYZrNmu@windsurf> |
On Wed, Jun 24, 2026 at 08:05:29AM +0200, Bernd Kuhls wrote:
> Buildroot commit ed27a33ba04fafdb28d5c74a53798c86aecd50e1 bumped the
> package from 5.9.4 to 5.9.5.2 which includes upstream commit
> https://github.com/net-snmp/net-snmp/commit/7536a8d6d363898e0f511aa81cf2dc000c452b89
> that breaks the build of other packages depending on netsnmp like ntp:
>
> ntpSnmpSubagentObject.c: In function 'init_ntpSnmpSubagentObject':
> ./ntpSnmpSubagentObject.h:51:1: error: ISO C90 forbids mixed
> declarations and code [-Werror=declaration-after-statement]
> 51 | static oid oidname##_oid [] = { __VA_ARGS__ };
>
> For details see https://github.com/net-snmp/net-snmp/issues/1035
>
> Fixes:
> https://autobuild.buildroot.net/results/395/395a3b18719e4ec0c0b94b0692caaa9566ee57c6/
>
> Signed-off-by: Bernd Kuhls <[email protected]>
Thanks, applied to master!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot