Accepting request 639769 from home:plater
- Add 0001-Fix-bug-1992.patch from git to fix issue 1992 OBS-URL: https://build.opensuse.org/request/show/639769 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=124
This commit is contained in:
parent
2366b30826
commit
cf520fb80c
25
0001-Fix-bug-1992.patch
Normal file
25
0001-Fix-bug-1992.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From a17af37c1ef9a4611add492d8ba02d1dfb270210 Mon Sep 17 00:00:00 2001
|
||||
From: Steve Daulton <stevedaulton@gmail.com>
|
||||
Date: Tue, 2 Oct 2018 22:40:10 +0100
|
||||
Subject: [PATCH] Fix bug 1992
|
||||
|
||||
---
|
||||
src/Menus.cpp | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: audacity-Audacity-2.3.0/src/Menus.cpp
|
||||
===================================================================
|
||||
--- audacity-Audacity-2.3.0.orig/src/Menus.cpp 2018-09-20 16:35:07.000000000 +0200
|
||||
+++ audacity-Audacity-2.3.0/src/Menus.cpp 2018-10-03 16:36:27.684154542 +0200
|
||||
@@ -4572,7 +4572,10 @@ bool AudacityProject::DoEffect(const Plu
|
||||
TrackListIterator iter(GetTracks());
|
||||
Track *t = iter.First();
|
||||
wxWindow *focus = wxWindow::FindFocus();
|
||||
- auto parent = focus->GetParent();
|
||||
+ wxWindow *parent;
|
||||
+ if (focus != nullptr) {
|
||||
+ parent = focus->GetParent();
|
||||
+ }
|
||||
|
||||
bool success = false;
|
||||
auto cleanup = finally( [&] {
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 3 14:39:52 UTC 2018 - davejplater@gmail.com
|
||||
|
||||
- Add 0001-Fix-bug-1992.patch from git to fix issue 1992
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 1 06:58:42 UTC 2018 - davejplater@gmail.com
|
||||
|
||||
|
@ -40,6 +40,7 @@ Patch1: audacity-flacversion.patch
|
||||
Patch2: audacity-misc-errors.patch
|
||||
# PATCH-FIX-UPSTREAM audacity-no_return_in_nonvoid.patch
|
||||
Patch3: audacity-no_return_in_nonvoid.patch
|
||||
Patch4: 0001-Fix-bug-1992.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: cmake
|
||||
@ -106,6 +107,7 @@ physical memory size can be edited.
|
||||
%patch1 -p0
|
||||
%patch3 -p0
|
||||
%patch2
|
||||
%patch4 -p1
|
||||
|
||||
cp -f %{SOURCE1} LICENSE_NYQUIST.txt
|
||||
# Make sure we use the system versions.
|
||||
|
Loading…
x
Reference in New Issue
Block a user