[packages/idutils] - fix texinfo syntax errors - ignore undefined gets
baggins
baggins at pld-linux.org
Wed Dec 4 18:15:32 CET 2013
commit 62f66c42f87043f9b28aec22eced723bda3d8417
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Dec 4 18:15:06 2013 +0100
- fix texinfo syntax errors
- ignore undefined gets
idutils-info.patch | 45 +++++++++++++++++++++++++++++++++++++++++++++
idutils.spec | 2 ++
stdio.patch | 18 ++++++++++++++++++
3 files changed, 65 insertions(+)
---
diff --git a/idutils.spec b/idutils.spec
index bc0eea3..d137134 100644
--- a/idutils.spec
+++ b/idutils.spec
@@ -10,6 +10,7 @@ Source0: http://ftp.gnu.org/gnu/idutils/%{name}-%{version}.tar.xz
# Source0-md5: 99b572536377fcddb4d38e86a3c215fd
Patch0: %{name}-info.patch
Patch1: %{name}-pl.po-update.patch
+Patch2: stdio.patch
URL: http://www.gnu.org/software/idutils/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.11
@@ -42,6 +43,7 @@ emacsa.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__gettextize}
diff --git a/idutils-info.patch b/idutils-info.patch
index c15ce5f..69bdc49 100644
--- a/idutils-info.patch
+++ b/idutils-info.patch
@@ -45,6 +45,33 @@
* Past and Future:: History and future directions.
* Index:: General index.
@end menu
+@@ -170,7 +170,7 @@
+ @node Quick start
+ @chapter Quick Start Procedure
+
+- at table @bullet
++ at enumerate
+
+ Unpack the distribution.
+
+@@ -186,7 +186,7 @@
+
+ Type @samp{lid FILE}, then @samp{gid strtok}, then @samp{aid stdout}.
+
+- at end table
++ at end enumerate
+
+ You have just built, installed and used the most common commands of the
+ GNU ID utilities. If you ever need help remembering which system header
+@@ -317,7 +317,7 @@
+ tree walker will stop short at these files and directories and their
+ contents will not be scanned.
+
+- at itemx --files0-from=@var{FILE}
++ at item --files0-from=@var{FILE}
+ @opindex --files0-from=@var{FILE}
+ Rather than processing files named on the command line, process those
+ named in file @var{FILE}; each name is terminated by a null byte.
@@ -359,7 +360,7 @@
If the list of files is being printed on a terminal, brace notation is
the default. If not, file names are separated by spaces if the
@@ -144,3 +171,21 @@
@chapter @file{xtokid}: Testing Language Scanners
@file{xtokid} accepts the names of files and/or directories on the
+@@ -1363,7 +1363,7 @@
+ @cindex future
+ Future releases of @code{idutils} might include:
+
+- at table @bullet
++ at enumerate
+
+ an optional coupling with GNU @code{grep}, so that @code{grep} can use
+ an ID database for hints
+@@ -1372,7 +1372,7 @@
+
+ incremental update of the ID database.
+
+- at end table
++ at end enumerate
+
+ @c ***************************************************************************
+ @node Index
diff --git a/stdio.patch b/stdio.patch
new file mode 100644
index 0000000..6e5115b
--- /dev/null
+++ b/stdio.patch
@@ -0,0 +1,18 @@
+--- idutils-4.6/lib/stdio.in.h~ 2013-12-04 17:47:43.000000000 +0100
++++ idutils-4.6/lib/stdio.in.h 2013-12-04 17:54:53.845806176 +0100
+@@ -1021,13 +1021,13 @@
+ _GL_CXXALIAS_RPL (gets, char *, (char *s));
+ # else
+ _GL_CXXALIAS_SYS (gets, char *, (char *s));
+-# undef gets
++//# undef gets
+ # endif
+ _GL_CXXALIASWARN (gets);
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++//_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/idutils.git/commitdiff/62f66c42f87043f9b28aec22eced723bda3d8417
More information about the pld-cvs-commit
mailing list