From 3a786e1482a0d5e606e6d9e6f93ff142876bc5ff Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 06:15:21 +0000 Subject: [PATCH] auto-import changelog data from indent-2.2.9-4.src.rpm Sat Jan 03 2004 Florian La Roche - add a bugfix (copied from debian) --- indent-2.2.9-fix.patch | 10 ++++++++++ indent.spec | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 indent-2.2.9-fix.patch diff --git a/indent-2.2.9-fix.patch b/indent-2.2.9-fix.patch new file mode 100644 index 0000000..55a60fd --- /dev/null +++ b/indent-2.2.9-fix.patch @@ -0,0 +1,10 @@ +--- indent-2.2.9/src/indent.c ++++ indent-2.2.9/src/indent.c +@@ -875,6 +875,7 @@ + * imply we are in a stmt */ + for (t_ptr = s_code; *t_ptr; ++t_ptr) + { ++ check_lab_size(); + *e_lab++ = *t_ptr; /* turn everything so far into a label */ + } + diff --git a/indent.spec b/indent.spec index acb6662..9ff2462 100644 --- a/indent.spec +++ b/indent.spec @@ -1,11 +1,12 @@ Summary: A GNU program for formatting C code. Name: indent Version: 2.2.9 -Release: 3 +Release: 4 License: GPL Group: Applications/Text URL: http://www.gnu.org/software/indent/ Source: ftp://ftp.gnu.org/pub/gnu/indent-%{version}.tar.gz +Patch: indent-2.2.9-fix.patch Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -20,6 +21,7 @@ you want a program to format your code. %prep %setup -q +%patch -p1 %build @@ -55,6 +57,9 @@ fi %changelog +* Sat Jan 03 2004 Florian La Roche +- add a bugfix (copied from debian) + * Wed Jun 04 2003 Elliot Lee - rebuilt