dbus: fix darwin build

no `-e` option to `echo`, should be portable
This commit is contained in:
Tony Theodore 2017-10-28 13:17:55 +11:00
parent 802a186d8b
commit af257e56b1
1 changed files with 21 additions and 0 deletions

View File

@ -30,3 +30,24 @@ index 1111111..2222222 100644
DBusCMutex *
_dbus_platform_cmutex_new (void)
{
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sat, 28 Oct 2017 12:27:09 +1100
Subject: [PATCH] fix build on darwin (no -e option for echo)
See: https://bugs.freedesktop.org/show_bug.cgi?id=103493
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 1111111..2222222 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -1090,7 +1090,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_examplesSCRIPTS
@DBUS_WIN_TRUE@ $(RC) $< -o $@
@DBUS_WIN_TRUE@disable-uac.rc: Win32.Manifest
-@DBUS_WIN_TRUE@ echo -e "1 24 \"$<\"" > $@
+@DBUS_WIN_TRUE@ echo '1 24 "$<"' > $@
# create the /var/lib/dbus directory for dbus-uuidgen
install-data-local: