add patch for ncurses6

This commit is contained in:
Ben Boeckel 2015-08-23 10:40:43 -04:00
parent b6fe55d36f
commit 64692385eb
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff -u -r -U5 --no-dereference newsbeuter-2.9/config.sh newsbeuter-2.9.ncurses6/config.sh
--- newsbeuter-2.9/config.sh 2015-08-23 10:38:43.468631663 -0400
+++ newsbeuter-2.9.ncurses6/config.sh 2015-08-23 10:38:01.000000000 -0400
@@ -108,9 +108,9 @@
( check_pkg "json" "" 0.11 || check_pkg "json-c" "" 0.11 ) || fail "json-c"
if [ `uname -s` = "Darwin" ]; then
check_custom "ncurses5.4" "ncurses5.4-config" || fail "ncurses5.4"
elif [ `uname -s` != "OpenBSD" ]; then
- check_custom "ncursesw5" "ncursesw5-config" || fail "ncursesw"
+ check_custom "ncursesw6" "ncursesw6-config" || fail "ncursesw"
fi
check_ssl_implementation
all_aboard_the_fail_boat

View File

@ -13,6 +13,8 @@ Source0: http://newsbeuter.org/downloads/%{name}-%{version}.tar.gz
Patch0: %{name}-2.8-Improve-solarized-dark-colorscheme.patch
Patch1: %{name}-2.8-Add-solarized-light-colorscheme.patch
Patch2: %{name}-2.9-ncurses6.patch
BuildRequires: gettext
BuildRequires: json-c-devel
BuildRequires: libcurl-devel
@ -34,6 +36,7 @@ keyboard.
%setup -q
%patch0 -p1 -b .improve-solarized-dark
%patch1 -p1 -b .add-solarized-light
%patch2 -p1 -b .ncurses6
%build
@ -66,6 +69,7 @@ find contrib/ -type f -exec chmod -x '{}' ';'
- update to 2.9
- use %%license macro
- backup patched files
- use ncurses6
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild