The last night I ran amule and it crashed with this message:

libunwind: _Unwind_Resume
/usr/src/lib/libcxxabi/../libunwind/src/UnwindLevel1.c:391 -
_Unwind_Resume() can't return

I don't have the backtrace but it looked like a problem in wx with the
udp sockets.

This patch "fixes" the problem. However I don't know if it is the best
solution.


diff -r 4cb3aede87d2 Makefile
--- Makefile    Sat Aug 12 14:20:11 2017 +0000
+++ Makefile    Mon Aug 14 01:31:03 2017 +0200
@@ -7,7 +7,7 @@
 DISTNAME =     wxWidgets-${V}
 PKGNAME-main = wxWidgets-gtk2-${V}
 PKGNAME-media =        wxWidgets-media-${V}
-REVISION-main =        14
+REVISION-main =        15
 REVISION-media =9
 CATEGORIES =   x11
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=wxwindows/}
@@ -89,6 +89,7 @@
                --without-gnomeprint \
                --enable-graphics_ctx
 CONFIGURE_ENV =        CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+               CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS} -std=c++98" \
                LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
                WXCONFIG_CPPFLAGS="-I${X11BASE}/include" \
                ac_cv_lib_esd_esd_close=no

Reply via email to