summaryrefslogtreecommitdiffstats
path: root/src/dbus-1-fixes.patch
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-10-28 02:17:55 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-10-28 02:17:55 (GMT)
commitaf257e56b14c9c12d8d36e6b6c3fbb52d0364e9d (patch)
tree9c3ba7e258b64197a1a817c541885861cc795516 /src/dbus-1-fixes.patch
parent802a186d8b7daa0c53c7abae8b56d5decef021ae (diff)
downloadmxe-af257e56b14c9c12d8d36e6b6c3fbb52d0364e9d.zip
mxe-af257e56b14c9c12d8d36e6b6c3fbb52d0364e9d.tar.gz
mxe-af257e56b14c9c12d8d36e6b6c3fbb52d0364e9d.tar.bz2
dbus: fix darwin build
no `-e` option to `echo`, should be portable
Diffstat (limited to 'src/dbus-1-fixes.patch')
-rw-r--r--src/dbus-1-fixes.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/dbus-1-fixes.patch b/src/dbus-1-fixes.patch
index 0a943ad..31b3191 100644
--- a/src/dbus-1-fixes.patch
+++ b/src/dbus-1-fixes.patch
@@ -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: