11diff --git a/Makefile b/Makefile
2- index 5d8e89ac1..9006fc193 100644
2+ index e26807158..aa9d7746d 100644
33--- a/Makefile
44+++ b/Makefile
5- @@ -268 ,7 +268 ,6 @@ criu-deps += $(SOCCR_A)
5+ @@ -270 ,7 +270 ,6 @@ criu-deps += $(SOCCR_A)
66 # But note that we're already included
77 # the nmk so we can reuse it there.
88 criu/Makefile: ;
@@ -11,7 +11,7 @@ index 5d8e89ac1..9006fc193 100644
1111 criu/%: $(criu-deps) .FORCE
1212 $(Q) $(MAKE) $(build)=criu $@
1313diff --git a/Makefile.compel b/Makefile.compel
14- index 764afadc8..c211f52f4 100644
14+ index a4209edc5..7e91ff42c 100644
1515--- a/Makefile.compel
1616+++ b/Makefile.compel
1717@@ -63,7 +63,7 @@ compel/plugins/fds.lib.a: $(compel-deps) compel/plugins/std.lib.a .FORCE
@@ -24,7 +24,7 @@ index 764afadc8..c211f52f4 100644
2424 #
2525 # And compel library.
2626diff --git a/Makefile.config b/Makefile.config
27- index 5ab689d41..d7ad71667 100644
27+ index 5cf4b8216..adacedad3 100644
2828--- a/Makefile.config
2929+++ b/Makefile.config
3030@@ -5,58 +5,6 @@ include scripts/feature-tests.mak
@@ -35,7 +35,7 @@ index 5ab689d41..d7ad71667 100644
3535- LIBS_FEATURES += -lbsd
3636- FEATURE_DEFINES += -DCONFIG_HAS_LIBBSD
3737- else
38- - $(info Note: Building without setproctitle() and strlcpy() support.)
38+ - $(info Note: Building without setproctitle() support.)
3939- $(info $S Install libbsd-devel (RPM) / libbsd-dev (DEB) to fix.)
4040- endif
4141-
@@ -87,20 +87,20 @@ index 5ab689d41..d7ad71667 100644
8787
8888 ifneq ($(PLUGINDIR),)
8989diff --git a/compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h b/compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h
90- index 9152024fd..6321c722e 100644
90+ index a3528500d..5a907a7f9 100644
9191--- a/compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h
9292+++ b/compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h
9393@@ -1,9 +1,9 @@
9494 #ifndef UAPI_COMPEL_ASM_SIGFRAME_H__
9595 #define UAPI_COMPEL_ASM_SIGFRAME_H__
9696
97- - #include <asm/sigcontext .h>
97+ - #include <signal .h>
9898 #include <sys/ucontext.h>
9999
100100+ #include <asm/types.h>
101101 #include <stdint.h>
102+ #include <asm/types.h>
102103
103- /* Copied from the kernel header arch/arm64/include/uapi/asm/sigcontext.h */
104104diff --git a/criu/Makefile b/criu/Makefile
105105index bafdd980b..4cdb0c7d5 100644
106106--- a/criu/Makefile
@@ -140,14 +140,15 @@ index bafdd980b..4cdb0c7d5 100644
140140- all-y += check-packages $(obj)/criu
141141+ all-y += $(obj)/criu
142142diff --git a/criu/arch/aarch64/include/asm/restorer.h b/criu/arch/aarch64/include/asm/restorer.h
143- index 64a9c24eb..0359e78db 100644
143+ index 2174df4fa..11a487e3a 100644
144144--- a/criu/arch/aarch64/include/asm/restorer.h
145145+++ b/criu/arch/aarch64/include/asm/restorer.h
146- @@ -1,7 +1,6 @@
146+ @@ -1,7 +1,7 @@
147147 #ifndef __CR_ASM_RESTORER_H__
148148 #define __CR_ASM_RESTORER_H__
149149
150- - #include <asm/sigcontext.h>
150+ - #include <signal.h>
151+ +
151152 #include <sys/ucontext.h>
152153
153154 #include "asm/types.h"
@@ -190,6 +191,20 @@ index ef78bcec7..4a64c975a 100644
190191
191192 #include "image.h"
192193 #include "servicefd.h"
194+ diff --git a/images/Makefile b/images/Makefile
195+ index 2c33152e9..51d28901c 100644
196+ --- a/images/Makefile
197+ +++ b/images/Makefile
198+ @@ -93,8 +93,7 @@ makefile-deps := Makefile $(obj)/Makefile
199+ #
200+ # Generate descriptor.pb-c.c and descriptor.pb-c.h to compile opts.proto.
201+ DESCRIPTOR_DIR := images/google/protobuf
202+ - GOOGLE_INCLUDE=$(shell pkg-config protobuf --variable=includedir)/google/protobuf
203+ - $(DESCRIPTOR_DIR)/descriptor.pb-c.c: $(GOOGLE_INCLUDE)/descriptor.proto
204+ + $(DESCRIPTOR_DIR)/descriptor.pb-c.c: images/google/protobuf/descriptor.proto
205+ $(call msg-gen, $@)
206+ $(Q) protoc --proto_path=/usr/include --proto_path=$(obj)/ --c_out=$(obj)/ $<
207+
193208diff --git a/plugins/cuda/Makefile b/plugins/cuda/Makefile
194209index cc3d98ac9..6ba0defe8 100644
195210--- a/plugins/cuda/Makefile
0 commit comments