diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-01-15 17:54:26 +0000 |
---|---|---|
committer | Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com> | 2020-10-16 09:35:48 -0700 |
commit | 78431a361bed0b6e9f1f3ebc0de8897b069b3848 (patch) | |
tree | 8d77a76068054ad559b39fe2f13c864996885fd5 | |
parent | 9ab7db37d11dcec840475933a8721672f02bff79 (diff) | |
download | libva-78431a361bed0b6e9f1f3ebc0de8897b069b3848.tar.gz |
autotools: unbreak --enable-wayland with BSD sed
BSD sed doesn't support inlining argument for `i` command, so embed
newlines as proposed in http://austingroupbugs.net/view.php?id=249
GEN wayland-drm-client-protocol.c
sed: 1: "1i#include "sysdeps.h"
": command i expects \ followed by text
-rw-r--r-- | va/wayland/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/va/wayland/Makefile.am b/va/wayland/Makefile.am index 705efa3..f48afb4 100644 --- a/va/wayland/Makefile.am +++ b/va/wayland/Makefile.am @@ -70,7 +70,7 @@ va_wayland_drm.c: $(protocol_source_h) %-client-protocol-export.c : %.xml $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@ %-client-protocol.c: %-client-protocol-export.c - $(AM_V_GEN)$(SED) -e '1i#include "sysdeps.h"' \ + $(AM_V_GEN)$(SED) -e $$'1i\\\n#include "sysdeps.h"\n' \ -e 's@WL_EXPORT@DLL_HIDDEN@g' < $< > $@ EXTRA_DIST = \ |