indent stable port information

Package: indent
Version: 2.2.9
Revision: 3
Source: mirror:gnu:%n/%n-%v.tar.gz
Source-MD5: dcdbb163bef928306dee2a0cfc581c89
PatchFile: %n.patch
PatchFile-MD5: 9bc412c3a70c47057bdae809d671f733
BuildDepends: libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, tetex-base, texinfo, fink (>= 0.24.12-1)
Depends: libgettext3-shlibs, libiconv
ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info --disable-dependency-tracking
UseMaxBuildJobs: false
InstallScript: make install DESTDIR=%d docdir=%p/share/doc/%n
InfoDocs: indent.info
DocFiles: AUTHORS COPYING ChangeLog* NEWS README
Description: C language source code formatting program
DescDetail: <<
GNU indent changes the appearance of a C program by inserting or
deleting whitespace according to a plethora of options. Some
canned styles of formatting are supported as well. GNU indent is
a descendant of BSD indent.

GNU indent does NOT work for C++, if it does for you then you're
just lucky. Don't ask for support for C++.
<<
License: GPL
Maintainer: None
DescPackaging: <<
Originally packaged by Masanori Sekino.
<<
DescPort: <<
dmacks fixed lots of declaration problems.
<<
Homepage: http://www.gnu.org/software/indent/

indent stable port .patch

diff -Nurd -x'*~' indent-2.2.9.orig/man/texinfo2man.c indent-2.2.9/man/texinfo2man.c
--- indent-2.2.9.orig/man/texinfo2man.c 2002-01-17 14:28:51.000000000 -0500
+++ indent-2.2.9/man/texinfo2man.c 2005-12-02 15:11:03.000000000 -0500
@@ -1,5 +1,9 @@
+#include
#include
+#include "config.h"
+#ifdef HAVE_MALLOC_H
#include
+#endif
#include
#include

@@ -162,7 +166,7 @@

static char value_updated[64], value_edition[64], value_version[64];

-process_texi (FILE * in)
+void process_texi (FILE * in)
{
char buf[1024];
int in_block = 0;
diff -Nurd -x'*~' indent-2.2.9.orig/src/comments.c indent-2.2.9/src/comments.c
--- indent-2.2.9.orig/src/comments.c 2002-08-04 13:08:41.000000000 -0400
+++ indent-2.2.9/src/comments.c 2005-12-02 15:09:14.000000000 -0500
@@ -19,6 +19,7 @@
#include "io.h"
#include "comments.h"
#include "globs.h"
+#include "output.h"
#include "parse.h"

RCSTAG_CC ("$Id: comments.c,v 1.33 2002/08/04 17:08:41 david Exp $");
diff -Nurd -x'*~' indent-2.2.9.orig/src/indent.h indent-2.2.9/src/indent.h
--- indent-2.2.9.orig/src/indent.h 2002-11-10 16:02:48.000000000 -0500
+++ indent-2.2.9/src/indent.h 2005-12-02 15:11:47.000000000 -0500
@@ -97,7 +97,7 @@
extern unsigned long in_prog_size;

/* The output file. */
-extern FILE *output;
+//extern FILE *output;



diff -Nurd -x'*~' indent-2.2.9.orig/src/output.c indent-2.2.9/src/output.c
--- indent-2.2.9.orig/src/output.c 2002-12-12 12:36:49.000000000 -0500
+++ indent-2.2.9/src/output.c 2005-12-02 15:11:26.000000000 -0500
@@ -11,6 +11,7 @@
* preprocessor-statements with n spaces per level. overrides -lps.
*/

+#include
#include
#include
#include
@@ -1206,7 +1207,7 @@
}
}

-extern inhibit_indenting(
+extern void inhibit_indenting(
BOOLEAN flag)
{
inhibited = flag;
diff -Nurd -x'*~' indent-2.2.9.orig/src/output.h indent-2.2.9/src/output.h
--- indent-2.2.9.orig/src/output.h 2002-08-04 13:08:41.000000000 -0400
+++ indent-2.2.9/src/output.h 2005-12-02 15:10:12.000000000 -0500
@@ -47,8 +47,11 @@
struct stat * file_stats,
const char * filename);

-extern inhibit_indenting(
+extern void inhibit_indenting(
BOOLEAN flag);

+extern void dump_line (
+ int force_nl,
+ int *paren_targ);

#endif

indent _unstable_ port .patch