aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/000-cross-compile.patch
Commit message (Collapse)AuthorAge
* net-snmp: bump to 5.9Stijn Tintel2021-03-17
| | | | | | | | | | | Neither the configure option nor configure variable to disable linking against PCRE seem to work anymore, so simply drop both and add a dependency on libpcre. As net-snmp is unlikely to fit on devices with small flash anyway, the extra size requirement shouldn't be a problem. If it is, feel free to submit a patch to fix the broken upstream behaviour. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmp: update to 5.8Rosen Penev2018-10-17
| | | | | | | | | | | Disable PCRE process searching to avoid linking against libprce, which would cause the build to fail due to a missing dependency. With the --without-pcre switch, build fails due to an undefined reference, so do it via CONFIGURE_VARS instead. Signed-off-by: Rosen Penev <rosenp@gmail.com> [disable PCRE process searching] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* net-snmp: build against libnl-tinyJo-Philipp Wich2017-01-06
Instead of causing nondeterministing conditional compilation depending on whether libnl-core happens to be present or not, fixup the net-snmp package to link against libnl-tiny which is present by default on the majority of systems. In order to successfully build against libnl-tiny, a number of things had to be fixed in both the upstream configure and the outer Makefile: - Add a patch which fixes the upstream configure macros to properly handle cases where the cache variables for nl_connect() and netlink.h tests are predefined. Without this patch, all subsequent link tests in configure will fail, causing the build system to assume functions like opendir() or readdir() to be missing, leading to build failures later on due to conflicting redefinitions of structures and function prototypes - In the same patch, stop probing the host systems /usr/include/libnl-3 if ac_cv_header_netlink_netlink_h is given. This brings the proprietary configure bits in line with the behaviour expected from autoconfig in a cross compile setting - Explicitely request nl support by passing the --with-nl flag to configure - Pass the required cache variables to skip the broken tests for nl_connect() and netlink.h - Amend TARGET_CPPFLAGS to let net-snmp's build system discover nl-tiny's netlink/netlink.h and netlink/socket.h - Enable the autoreconf fixup to regenerate the broken shipped configure from patched macros - Adjust the depends to unconditionally require libnl-tiny Signed-off-by: Jo-Philipp Wich <jo@mein.io>