While at it making it as well kernel 5.4 compatible by backporting
upstream patch which synchronizes channel types and modifier lists in
the headers.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Currently the pc file has includedir hard coded to "/usr/include" and
libdir to "/usr/lib". This commit changes this so they can be controlled
via the "prefix" variable.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Clean up Makefile slightly.
Update configure options for the new version.
Remove first patch and update the other one.
Use a different solution for the stack protector on certain platforms.
Run script through shellcheck. Small quote fix.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Refreshed darwin patch.
The first OpenSSL patch is an upstream backport. The second was sent
upstream: https://github.com/NLnetLabs/ldns/pull/68
Small Makefile cleanups for consistency.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This package is completely unused. It's apparently optional with mpd, but
has been unused for some time.
It's also infested with CVEs. Last non-git update is from 2013.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The newer libupnp is causing problems with libupnpp. While the latter has
migraded to using a different library, it still has support for older
libupnp. Keep using it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Use standard PKG_INSTALL. Added patch to fix compilation with it.
Use PKG_INSTALL_DIR as a result.
Added PKG_BUILD_PARALLEL for faster compilation.
Fixed license information.
Add build depends for libusb as it is needed for compilation.
Various small cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
There's no reason for it. It breaks parallel building, does not link to
libatomic when necessary, and generates a larger binary for some reason.
The normal package has none of these problems.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Compiled and run in x86_64.
This release adds support for CMake's FetchContent.
Changes:
-Add support for FetchContent in CMake
-Rename CMake project from 'check' to 'Check'
-Fix for checking for wrong tool when building docs in Autotools
-Fix compiler warning with printf format
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
Adds configure variables for features that the compiler or the libc
supports and which cannot be detected by apr-util's configure script
when cross-compiling.
Also removes one call to INSTALL_DIR (no functional change here).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
apr's configure script uses lots of AC_TRY_RUNs and when cross-compiling
needs a leg-up. This commit adds more configure variables (and removes
one, too).
Notable changes:
- apr_cv_use_lfs64=yes is removed (again) after having a discussion
about it with the musl developers. The conclusion was that
_LARGEFILE64_SOURCE is a horrible thing that we don't want and should
avoid (hence the removal of the variable, because defining
_LARGEFILE64_SOURCE is all it does).
- ap_cv_atomic_builtins is set to "yes" for 64-bit platforms. If
anybody is interested in enabling this for other targets feel free to
send a patch after testing it.
- configure doesn't add -lpthread to LIBS when cross-compiling. This is
not a problem for musl but might be for other libcs. This commit adds
to related variable.
- configure caches are added (via patches) for strerror and /dev/zero
mmap tests. The former fixes a warning on musl (where strerror
returns int instead of a pointer) and the latter is required for
pthread pshared mutex apr_lock implementation and cannot be detected
during cross-compile either.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>