File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 3
3
using BinaryBuilder, Pkg
4
4
5
5
name = " ZlibNG"
6
- version = v " 2.1.0 "
6
+ version = v " 2.1.6 "
7
7
8
8
# Collection of sources required to complete build
9
9
sources = [
10
- GitSource (" https://github.com/zlib-ng/zlib-ng.git" , " b3dcf11b4204a16fde71fa8224d7b7054e225b93" )
10
+ GitSource (" https://github.com/zlib-ng/zlib-ng.git" , " 74253725f884e2424a0dd8ae3f69896d5377f325" ),
11
+ DirectorySource (" bundled" ),
11
12
]
12
13
13
14
# Bash recipe for building across all platforms
14
15
script = raw """
15
16
cd $WORKSPACE/srcdir/zlib-ng
17
+ # Correct Power build (see <https://github.com/zlib-ng/zlib-ng/issues/1648>)
18
+ atomic_patch -p1 ${WORKSPACE}/srcdir/patches/power.patch
16
19
mkdir build && cd build
17
20
cmake -DCMAKE_INSTALL_PREFIX=$prefix \
18
21
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \
Original file line number Diff line number Diff line change
1
+ diff --git a/arch/power/power_features.c b/arch/power/power_features.c
2
+ index 35145177..a5c0a470 100644
3
+ --- a/arch/power/power_features.c
4
+ +++ b/arch/power/power_features.c
5
+ @@ -7,6 +7,7 @@
6
+ #ifdef HAVE_SYS_AUXV_H
7
+ # include <sys/auxv.h>
8
+ #endif
9
+ + #include <linux/auxvec.h>
10
+ #ifdef __FreeBSD__
11
+ # include <machine/cpu.h>
12
+ #endif
You can’t perform that action at this time.
0 commit comments