mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 00:40:25 +00:00
CI PCP Win: most of incompat is now fixed upstream
Most of the incompatibilities, which were patched, have already been fixed in upstream. just forward decl of struct timezone/timeval is still needed
This commit is contained in:
7
.github/scripts/install-common-deps.sh
vendored
7
.github/scripts/install-common-deps.sh
vendored
@@ -57,6 +57,13 @@ install_pcp() {
|
||||
git clone https://github.com/libpcp/pcp.git
|
||||
(
|
||||
cd pcp
|
||||
# TODO TOREMOVE when not needed
|
||||
sed "/int gettimeofday/i\\
|
||||
struct timezone;\\
|
||||
struct timeval;\\
|
||||
" libpcp/src/windows/pcp_gettimeofday.h > fixed
|
||||
mv fixed libpcp/src/windows/pcp_gettimeofday.h
|
||||
|
||||
./autogen.sh || true # autogen exits with 1
|
||||
CFLAGS=-fPIC ./configure --disable-shared
|
||||
make -j "$(nproc)"
|
||||
|
||||
Reference in New Issue
Block a user