Update package version to 1.22.2

This commit is contained in:
2026-02-01 09:04:49 +02:00
parent 1184262912
commit 16e7380b01
3 changed files with 209 additions and 4 deletions
+9 -1
View File
@@ -2,13 +2,21 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/strchr-fix.patch
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
cd src
sed -i -e '/eq 0/{N;s/12 //}' plugins/kdb/db2/libdb2/test/run.test
export CFLAGS="${CFLAGS} -fPIC -fno-strict-aliasing -fstack-protector-all"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \