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,

-- 
Adam Sampson <[email protected]>                         <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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to