From 0f679bb35e9f96174545b3236bd5c73b9a2c19fb Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Thu, 15 Apr 2021 05:16:50 +0200 Subject: [PATCH] pistachio: fix build error with gcc 10 Fixes #4119 --- repos/base-pistachio/patches/apps.patch | 15 +++++++++++++++ repos/base-pistachio/ports/pistachio.hash | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 repos/base-pistachio/patches/apps.patch diff --git a/repos/base-pistachio/patches/apps.patch b/repos/base-pistachio/patches/apps.patch new file mode 100644 index 0000000000..dab02fc8b7 --- /dev/null +++ b/repos/base-pistachio/patches/apps.patch @@ -0,0 +1,15 @@ +Don't build unneeded apps (missing 'memove()' with GCC 10) + +diff --git a/user/Makefile.in b/user/Makefile.in +index 4b84e01..3b38c56 100644 +--- a/user/Makefile.in ++++ b/user/Makefile.in +@@ -76,7 +76,7 @@ HEADER_FILES= l4io.h \ + l4/powerpc64/types.h \ + l4/powerpc64/vregs.h + +-SUBDIRS= lib serv apps util contrib ++SUBDIRS= lib serv util contrib + + pre-all: + @if test ! -e ./include; then \ diff --git a/repos/base-pistachio/ports/pistachio.hash b/repos/base-pistachio/ports/pistachio.hash index 3b47582c0e..f883156156 100644 --- a/repos/base-pistachio/ports/pistachio.hash +++ b/repos/base-pistachio/ports/pistachio.hash @@ -1 +1 @@ -68c8c318ed89bfe9dd5410cf32c556dc478d1f29 +2961c41705536e84699829f8c1d3825c24c063d3