|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Patch for indent-2.2.9 to build with GCC 4.3Hi,
I've just installed indent-2.2.9, and there are a couple of minor problems in the source code that prevent it from compiling with GCC 4.3 -- patch attached. It would also be nice if it had a GPG signature (like most other GNU projects do). Thanks, -- Adam Sampson <ats@...> <http://offog.org/> Fix some problems revealed by GCC 4.3. diff -x config.log -x config.status -ru tmp/indent-2.2.9/man/texinfo2man.c work/indent-2.2.9/man/texinfo2man.c --- tmp/indent-2.2.9/man/texinfo2man.c 2002-01-17 19:28:51.000000000 +0000 +++ work/indent-2.2.9/man/texinfo2man.c 2009-02-10 22:04:22.000000000 +0000 @@ -2,6 +2,7 @@ #include <malloc.h> #include <string.h> #include <ctype.h> +#include <stdlib.h> /* texinfo2man. * Convert a texinfo document to man format. diff -x config.log -x config.status -ru tmp/indent-2.2.9/src/indent.h work/indent-2.2.9/src/indent.h --- tmp/indent-2.2.9/src/indent.h 2002-11-10 21:02:48.000000000 +0000 +++ work/indent-2.2.9/src/indent.h 2009-02-10 22:04:27.000000000 +0000 @@ -96,10 +96,6 @@ /* Size of the input program, not including the ' \n\0' we add at the end */ extern unsigned long in_prog_size; -/* The output file. */ -extern FILE *output; - - extern char *labbuf; /* buffer for label */ extern char *s_lab; /* start ... */ diff -x config.log -x config.status -ru tmp/indent-2.2.9/src/output.c work/indent-2.2.9/src/output.c --- tmp/indent-2.2.9/src/output.c 2002-12-12 17:36:49.000000000 +0000 +++ work/indent-2.2.9/src/output.c 2009-02-10 22:04:34.000000000 +0000 @@ -15,6 +15,7 @@ #include <sys/types.h> #include <utime.h> #include <sys/stat.h> +#include <stdlib.h> #include "indent.h" #include "sys.h" _______________________________________________ bug-indent mailing list bug-indent@... http://lists.gnu.org/mailman/listinfo/bug-indent |
|
|
Re: Patch for indent-2.2.9 to build with GCC 4.3Adam Sampson wrote:
> Hi, > > I've just installed indent-2.2.9, and there are a couple of minor > problems in the source code that prevent it from compiling with GCC 4.3 > -- patch attached. > > It would also be nice if it had a GPG signature (like most other GNU > projects do). > > Thanks, > > > ------------------------------------------------------------------------ > > _______________________________________________ > bug-indent mailing list > bug-indent@... > http://lists.gnu.org/mailman/listinfo/bug-indent There is no gpg for 2.2.9 because it dates from 2002, when the use of these signatures was not established. 2.2.10 is now available from the ftp.gnu.org site. _______________________________________________ bug-indent mailing list bug-indent@... http://lists.gnu.org/mailman/listinfo/bug-indent |
| Free embeddable forum powered by Nabble | Forum Help |