File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ --- a/contrib/lua-torch/paths/paths.c
2+ +++ b/contrib/lua-torch/paths/paths.c
3+ @@ -2,6 +2,7 @@
4+
5+
6+ #include "paths.h"
7+ + #include <linux/limits.h>
8+
9+
10+ /* ------------------------------------------------------ */
Original file line number Diff line number Diff line change 11# Template file for 'rspamd'
22pkgname=rspamd
33version=1.9.4
4- revision=11
4+ revision=12
55archs="x86_64* i686* aarch64* armv[67]* ppc64*"
66build_style=cmake
77configure_args="-DRSPAMD_USER=rspamd -DCONFDIR=/etc/rspamd
@@ -38,14 +38,13 @@ if [ "$CROSS_BUILD" ]; then
3838fi
3939
4040pre_configure() {
41- case "$XBPS_TARGET_MACHINE" in
42- *-musl) # Remove non existing library nsl
43- vsed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d"
44- esac
41+ if [ "$XBPS_TARGET_LIBC" = musl ]; then
42+ vsed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d"
43+ fi
4544 if [ "$CROSS_BUILD" ]; then
4645 configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
4746 mkdir -p build_native
48- ( cd build_native; LD= CC= CFLAGS= LDFLAGS= cmake .. )
47+ ( cd build_native; LD= CC= CFLAGS= LDFLAGS= cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. )
4948 fi
5049}
5150
You can’t perform that action at this time.
0 commit comments