CI PCP: fix another breakage [Win]

The development in PCP seem to be very turbulent these days and it breaks
Win builds often so pin a commit in Windows CI until the situation calms
down a bit.
This commit is contained in:
Martin Pulec
2025-03-21 14:21:10 +01:00
parent 5df5014708
commit 382f2fc26b

View File

@@ -108,11 +108,14 @@ install_pcp() {
(
cd pcp
# TODO TOREMOVE when not needed
sed "/int gettimeofday/i\\
if is_win; then
git checkout 46341d6
sed "/int gettimeofday/i\\
struct timezone;\\
struct timeval;\\
" libpcp/src/windows/pcp_gettimeofday.h > fixed
mv fixed libpcp/src/windows/pcp_gettimeofday.h
mv fixed libpcp/src/windows/pcp_gettimeofday.h
fi
./autogen.sh || true # autogen exits with 1
CFLAGS=-fPIC ./configure --disable-shared