From 696d1fbd7bfb06cefc8fa0755dd888de1adf885a Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 10 Mar 2018 07:03:33 +0700 Subject: libraries/wxGTK3: Updated for version 3.0.4. Signed-off-by: Willy Sudiarto Raharjo --- libraries/wxGTK3/assert.patch | 29 ----------------------------- libraries/wxGTK3/wxGTK3.SlackBuild | 9 +++------ libraries/wxGTK3/wxGTK3.info | 6 +++--- 3 files changed, 6 insertions(+), 38 deletions(-) delete mode 100644 libraries/wxGTK3/assert.patch diff --git a/libraries/wxGTK3/assert.patch b/libraries/wxGTK3/assert.patch deleted file mode 100644 index ea5cae370ed6..000000000000 --- a/libraries/wxGTK3/assert.patch +++ /dev/null @@ -1,29 +0,0 @@ -From ce1dce113c5eda42f49ba3278bb21c61872ca37d Mon Sep 17 00:00:00 2001 -From: Paul Cornett -Date: Mon, 28 Aug 2017 20:31:47 -0700 -Subject: [PATCH] Avoid delayed destruction if TLW was never created. See - #17942 - -(cherry picked from commit 4a71ba820f085a3d5a7233e9fd0e23ae4e45af58) ---- - src/common/toplvcmn.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/common/toplvcmn.cpp b/src/common/toplvcmn.cpp -index ef693690c5d..6a722f8be48 100644 ---- a/src/common/toplvcmn.cpp -+++ b/src/common/toplvcmn.cpp -@@ -105,10 +105,10 @@ bool wxTopLevelWindowBase::Destroy() - // as we will be deleted anyhow during its destruction and the pointer - // stored in wxPendingDelete would become invalid, so just delete ourselves - // immediately in this case. -- if ( wxWindow* parent = GetParent() ) -+ wxWindow* parent = GetParent(); -+ if ( (parent && parent->IsBeingDeleted()) || !GetHandle() ) - { -- if ( parent->IsBeingDeleted() ) -- return wxNonOwnedWindow::Destroy(); -+ return wxNonOwnedWindow::Destroy(); - } - - // delayed destruction: the frame will be deleted during the next idle diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild index 7d941774891c..68639b344e57 100644 --- a/libraries/wxGTK3/wxGTK3.SlackBuild +++ b/libraries/wxGTK3/wxGTK3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wxGTK3 -# Copyright 2013-2017 Willy Sudiarto Raharjo +# Copyright 2013-2018 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wxGTK3 -VERSION=${VERSION:-3.0.3.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.0.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=wxWidgets @@ -93,9 +93,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# fix assert in FileZilla -patch -p1 < $CWD/assert.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/wxGTK3/wxGTK3.info b/libraries/wxGTK3/wxGTK3.info index b8451f3feaf7..7edde8a4a54d 100644 --- a/libraries/wxGTK3/wxGTK3.info +++ b/libraries/wxGTK3/wxGTK3.info @@ -1,8 +1,8 @@ PRGNAM="wxGTK3" -VERSION="3.0.3.1" +VERSION="3.0.4" HOMEPAGE="http://www.wxwidgets.org" -DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.0.3.1/wxWidgets-3.0.3.1.tar.gz" -MD5SUM="bd7ece1a472d85d44edf7600834316e4" +DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.0.4/wxWidgets-3.0.4.tar.gz" +MD5SUM="148a57dc7e1a025b28d5dbffc99e38eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3