From dc203e68fb81f9d1ba5bea47ac8ea1bed68bc61d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 2 Apr 2015 16:19:11 +0200 Subject: [PATCH] Correct a typo about enabling control comment in manual page --- ...-typo-about-enabling-control-comment.patch | 31 +++++++++++++++++++ indent.spec | 9 +++++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 indent-2.2.11-doc-Correct-a-typo-about-enabling-control-comment.patch diff --git a/indent-2.2.11-doc-Correct-a-typo-about-enabling-control-comment.patch b/indent-2.2.11-doc-Correct-a-typo-about-enabling-control-comment.patch new file mode 100644 index 0000000..c10956a --- /dev/null +++ b/indent-2.2.11-doc-Correct-a-typo-about-enabling-control-comment.patch @@ -0,0 +1,31 @@ +From 5ddb9821391e7417bddd4388f78e810ea15a39d1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Thu, 2 Apr 2015 16:14:12 +0200 +Subject: [PATCH] doc: Correct a typo about enabling control comment +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + +Signed-off-by: Petr Písař +--- + doc/indent.texinfo | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/indent.texinfo b/doc/indent.texinfo +index 08f35f6..15627e0 100644 +--- a/doc/indent.texinfo ++++ b/doc/indent.texinfo +@@ -1463,7 +1463,7 @@ formatting for a section of a program, place the disabling control + comment @code{/* *INDENT-OFF* */} on a line by itself just before that + section. Program text scanned after this control comment is output + precisely as input with no modifications until the corresponding +-enabling comment is scanned on a line by itself. The disabling control ++enabling comment is scanned on a line by itself. The enabling control + comment is @code{/* *INDENT-ON* */}, and any text following the comment + on the line is also output unformatted. Formatting begins again with + the input line following the enabling control comment. +-- +2.1.0 + diff --git a/indent.spec b/indent.spec index f1c71e5..1c63892 100644 --- a/indent.spec +++ b/indent.spec @@ -2,7 +2,7 @@ Summary: A GNU program for formatting C code Name: indent Version: 2.2.11 -Release: 16%{?dist} +Release: 17%{?dist} License: GPLv3+ Group: Applications/Text URL: http://www.gnu.org/software/%{name}/ @@ -33,6 +33,9 @@ Patch13: indent-2.2.11-Support-hexadecimal-floats.patch # Submitted to upstream # Patch14: indent-2.2.11-Modernize-texi2html-arguments.patch +# Submitted to upstream +# +Patch15: indent-2.2.11-doc-Correct-a-typo-about-enabling-control-comment.patch # gperf to update pre-generated code to fix compiler warnings BuildRequires: gperf BuildRequires: texinfo texi2html @@ -61,6 +64,7 @@ you want a program to format your code. %patch12 -p1 -b .comments %patch13 -p1 -b .hexa_float %patch14 -p1 -b .texi2html5 +%patch15 -p1 -b .doc_dcc # Regenerate sources rm src/gperf.c src/gperf-cc.c # Update config.sub to support aarch64, bug #925588 @@ -98,6 +102,9 @@ fi %changelog +* Thu Apr 02 2015 Petr Pisar - 2.2.11-17 +- Correct a typo about enabling control comment in manual page + * Wed Mar 18 2015 Petr Pisar - 2.2.11-16 - Support hexadecimal floats - Adapt to changes in texi2html-5.0