While investigating the build failure on i386
I noticed I could not reproduce the issue on upstream's master
branch on my RPi 2B (armhf
thus also 32bit).
So I began backporting the upstream commits since the 1.8.0 release which might be relevant ... and noticed that that fixed the i386
failure in my Salsa CI.
This resulted in enhancing my Salsa CI MR (!3) upon which this MR is based. The first thing I did was fixing the lintian error and then I added the following upstream patches to debian/patches
until Salsa's CI succeeded:
It was actually with the 3rd patch that the build succeeded, but fixing an unsigned integer overflow issue seems like a good idea too.
Patch 2 is probably not (strictly) needed, but in the 1.8.0 release a LOT of files still reference old versions.
I actually also have the following backported upstream patches, but they're not strictly needed to fix the i386 build failure:
Those are in https://salsa.debian.org/diederik/rrdtool/-/commits/import-upstream-patches/ and I could add those too if that seems useful.