From 51805010c964c1301845ec266cb760bdbc6e1010 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Wed, 25 Oct 2017 09:49:20 +0200 Subject: [PATCH] Fix compilation issue in `darling-dmg` This pulls in the https://github.com/darlinghq/darling-dmg/pull/41 fix for compilation with newer GCC. The error message this fixes is ``` osxcross/build/darling-dmg/src/main-fuse.cpp:137:28: error: no member named 'function' in namespace 'std' int handle_exceptions(std::function func) ~~~~~^ osxcross/build/darling-dmg/src/main-fuse.cpp:137:44: error: use of undeclared identifier 'func' int handle_exceptions(std::function func) ^ osxcross/build/darling-dmg/src/main-fuse.cpp:137:49: error: expected ';' after top level declarator int handle_exceptions(std::function func) ^ ; 3 errors generated. ``` --- tools/gen_sdk_package_darling_dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen_sdk_package_darling_dmg.sh b/tools/gen_sdk_package_darling_dmg.sh index 5004a66..d5e0fb3 100755 --- a/tools/gen_sdk_package_darling_dmg.sh +++ b/tools/gen_sdk_package_darling_dmg.sh @@ -57,7 +57,7 @@ if [ ! -f $TARGET_DIR/SDK/tools/bin/darling-dmg ]; then rm -f have_darling_dmg fi -DARLING_DMG_REV="b7ce87bfe59c2ed758165c8650402f6d4c84d184" +DARLING_DMG_REV="4e3a2ede86d4e3c63bcc97d7280dd8613d70cde2" if [ ! -f "have_darling_dmg_$DARLING_DMG_REV" ]; then