Patch esc.style to avoid using the black color (#1688372)

This commit is contained in:
Owen W. Taylor 2019-03-20 16:58:40 +00:00
parent 285aba1a43
commit 37eb51f356
2 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -up source-highlight-3.1.8/src/esc.style.no-black source-highlight-3.1.8/src/esc.style
--- source-highlight-3.1.8/src/esc.style.no-black 2019-03-20 16:52:33.053965325 +0000
+++ source-highlight-3.1.8/src/esc.style 2019-03-20 16:52:42.502965289 +0000
@@ -7,7 +7,7 @@ comment cyan i ;
number purple ;
preproc darkblue b ;
symbol darkred ;
-function black b;
+function b;
cbracket red;
variable darkgreen ;

View File

@ -1,10 +1,12 @@
Summary: Produces a document with syntax highlighting Summary: Produces a document with syntax highlighting
Name: source-highlight Name: source-highlight
Version: 3.1.8 Version: 3.1.8
Release: 23%{?dist} Release: 24%{?dist}
License: GPLv3+ License: GPLv3+
Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig
# Fix for https://savannah.gnu.org/bugs/index.php?55967
Patch: source-highlight-3.1.8-no-black.patch
URL: http://www.gnu.org/software/src-highlite/ URL: http://www.gnu.org/software/src-highlite/
BuildRequires: bison, flex, boost-devel BuildRequires: bison, flex, boost-devel
BuildRequires: help2man, ctags, chrpath, pkgconfig(bash-completion) BuildRequires: help2man, ctags, chrpath, pkgconfig(bash-completion)
@ -29,7 +31,7 @@ Requires: boost-devel
Development files for source-highlight Development files for source-highlight
%prep %prep
%setup -q %autosetup -p1
%build %build
%configure --disable-static \ %configure --disable-static \
@ -79,6 +81,9 @@ rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
%{_includedir}/srchilite/*.h %{_includedir}/srchilite/*.h
%changelog %changelog
* Wed Mar 20 2019 fedora-toolbox <otaylor@redhat.com> - 3.1.8-24
- Patch esc.style to avoid using the black color (#1688372)
* Mon Feb 18 2019 Adrian Reber <adrian@lisas.de> - 3.1.8-23 * Mon Feb 18 2019 Adrian Reber <adrian@lisas.de> - 3.1.8-23
- Require boost-devel in the source-highlight-devel package (#1638029) - Require boost-devel in the source-highlight-devel package (#1638029)