pkgsrc/devel/astyle/patches/patch-ac
shattered 7656efcd5f Update to 1.15.3. Changes:
New option: '--force-indent=tab=#'. Added support for C#. Many bugfixes.
2013-05-25 16:39:39 +00:00

22 lines
539 B
Text

$NetBSD: patch-ac,v 1.4 2013/05/25 16:39:39 shattered Exp $
--- astyle_main.cpp.orig 2001-01-20 17:02:14.000000000 +0000
+++ astyle_main.cpp
@@ -29,6 +29,8 @@
#include <fstream>
#include <string>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#define IS_OPTION(arg,op) ((arg).compare(op)==0)
@@ -149,7 +151,7 @@ void error(const char *why, const char*
exit(1);
}
-
+bool parseOption(ASFormatter &, const string &, const string &);
template<class ITER>
bool parseOptions(ASFormatter &formatter,