diff options
Diffstat (limited to 'sysutils/xentools415/patches/patch-xen_Makefile')
-rw-r--r-- | sysutils/xentools415/patches/patch-xen_Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/xentools415/patches/patch-xen_Makefile b/sysutils/xentools415/patches/patch-xen_Makefile new file mode 100644 index 00000000000..0acfccaac6e --- /dev/null +++ b/sysutils/xentools415/patches/patch-xen_Makefile @@ -0,0 +1,16 @@ +$NetBSD: patch-xen_Makefile,v 1.1 2021/04/18 12:31:26 bouyer Exp $ + +Use a more strict pattern; on NetBSD it includes some extra compiler +outputs. + +--- xen/Makefile.orig 2020-12-10 16:06:07.432987067 +0100 ++++ xen/Makefile 2020-12-10 16:06:10.485550293 +0100 +@@ -411,7 +411,7 @@ + echo "#ifndef __ASM_OFFSETS_H__"; \ + echo "#define __ASM_OFFSETS_H__"; \ + echo ""; \ +- sed -rne "/^[^#].*==>/{s:.*==>(.*)<==.*:\1:; s: [\$$#]: :; p;}"; \ ++ sed -rne "/^[^#]ascii.*==>/{s:.*==>(.*)<==.*:\1:; s: [\$$#]: :; p;}"; \ + echo ""; \ + echo "#endif") <$< >$@ + |