From 71af669d050bf33f928abc8eb413b1a2bc358d0b Mon Sep 17 00:00:00 2001
From: Leonardo Arena <rnalrd@alpinelinux.org>
Date: Mon, 1 Aug 2022 13:42:34 +0000
Subject: [PATCH] testing/criu: attempt to fix build

Can't replicate locally this error:

In file included from soccr/soccr.c:9:
soccr/soccr.h:14:8: error: redefinition of 'struct tcp_repair_window'
---
 testing/criu/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/criu/APKBUILD b/testing/criu/APKBUILD
index 3fae269dc929..789a1eec0496 100644
--- a/testing/criu/APKBUILD
+++ b/testing/criu/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
 pkgname=criu
 pkgver=3.17.1
-pkgrel=0
+pkgrel=1
 pkgdesc="Process tree checkpoint/restore utility"
 url="https://criu.org"
 arch="x86_64"
@@ -17,7 +17,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/checkpoint-restore/criu/arch
 build() {
 	# https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed
 	export LDFLAGS=$(echo $LDFLAGS |sed 's|-Wl,--as-needed||') PYTHON=python3
-	make
+	make -j1
 }
 
 check() {
-- 
GitLab