Fix gcc-8 build issue
This commit is contained in:
parent
8b01fe2175
commit
bd533c635b
|
@ -0,0 +1,20 @@
|
|||
--- a/src/YDialog.cc
|
||||
+++ b/src/YDialog.cc
|
||||
@@ -687,7 +687,7 @@ YDialog::showText( const std::string & text, bool useRichText )
|
||||
dialog->waitForEvent();
|
||||
dialog->destroy();
|
||||
}
|
||||
- catch ( YUIException exception )
|
||||
+ catch ( const YUIException & exception )
|
||||
{
|
||||
// Don't let the application die just because help couldn't be displayed.
|
||||
|
||||
@@ -811,7 +811,7 @@ YDialog::showRelNotesText()
|
||||
}
|
||||
dialog->destroy();
|
||||
}
|
||||
- catch ( YUIException exception )
|
||||
+ catch ( const YUIException & exception )
|
||||
{
|
||||
// Don't let the application die just because RN couldn't be displayed.
|
||||
|
|
@ -15,12 +15,14 @@
|
|||
|
||||
Name: lib%{libsuffix}
|
||||
Version: 3.3.3
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: GUI-abstraction library
|
||||
|
||||
License: (LGPLv2 or LGPLv3) and MIT
|
||||
URL: https://github.com/%{name}/%{name}
|
||||
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# Based on https://github.com/libyui/libyui/commit/b1f593cd99fd33cc3f0cf9b4f5151f672b68d96e
|
||||
Patch0: fix_gcc8.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: boost-devel
|
||||
|
@ -150,6 +152,9 @@ popd
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 13 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.3.3-4
|
||||
- Fix gcc-8 build issue
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue