Fix build with new ncurses
This commit is contained in:
parent
db6a845307
commit
da35007b54
|
@ -0,0 +1,29 @@
|
|||
From 6444e043b58bf7703e4fc9035f380f3817207525 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Hundhammer <shundhammer@suse.de>
|
||||
Date: Thu, 4 Jan 2018 17:21:56 +0100
|
||||
Subject: [PATCH] Removed function that conflicts with newer NCurses lib
|
||||
(bsc#1074600)
|
||||
|
||||
---
|
||||
src/ncursesw.h | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/src/ncursesw.h b/src/ncursesw.h
|
||||
index d25923a..c8b95bb 100644
|
||||
--- a/src/ncursesw.h
|
||||
+++ b/src/ncursesw.h
|
||||
@@ -1607,14 +1607,6 @@ class NCursesWindow
|
||||
return ::wtouchln( w, s, cnt, ( int )( changed ? 1 : 0 ) );
|
||||
}
|
||||
|
||||
- /**
|
||||
- * Return TRUE if line is marked as changed, FALSE otherwise
|
||||
- */
|
||||
- bool is_linetouched( int line ) const
|
||||
- {
|
||||
- return ( ::is_linetouched( w, line ) ? TRUE : FALSE );
|
||||
- }
|
||||
-
|
||||
/**
|
||||
* Return TRUE if window is marked as changed, FALSE otherwise
|
||||
*/
|
|
@ -6,12 +6,13 @@
|
|||
|
||||
Name: libyui-ncurses
|
||||
Version: 2.48.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Character Based User Interface for libyui
|
||||
|
||||
License: LGPLv2 or LGPLv3
|
||||
URL: https://github.com/libyui/%{name}
|
||||
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: %{url}/commit/6444e043b58bf7703e4fc9035f380f3817207525.patch#/fix_build_with_new_ncurses.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: boost-devel
|
||||
|
@ -122,6 +123,9 @@ popd
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 13 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.48.3-5
|
||||
- Fix build with new ncurses
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.48.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue