get old glibmm to build

pull/2490/head
Mark Brand 4 years ago
parent 04d623d182
commit 930e542f50

@ -0,0 +1,21 @@
This file is part of MXE. See LICENSE.md for licensing information.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Tue, 7 Apr 2020 15:58:15 +0200
Subject: [PATCH 1/1] fix missing indirection
diff --git a/glib/glibmm/threads.h b/glib/glibmm/threads.h
index 1111111..2222222 100644
--- a/glib/glibmm/threads.h
+++ b/glib/glibmm/threads.h
@@ -608,7 +608,7 @@ public:
*/
inline void replace(T* data);
- GPrivate* gobj() { return gobject_; }
+ GPrivate* gobj() { return &gobject_; }
private:
GPrivate gobject_;

@ -22,6 +22,7 @@ define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
CXX='$(TARGET)-g++' \
CXXFLAGS='-Wno-deprecated-declarations -Wno-deprecated' \
PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \
GLIB_COMPILE_SCHEMAS='$(PREFIX)/$(TARGET)/bin/glib-compile-schemas' \
$(shell [ `uname -s` == Darwin ] && echo "PERL=/usr/bin/perl") \

Loading…
Cancel
Save