From 91d2b5a4d65d4edcdd7480136a68b44bbb62fdd8 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 3 Jul 2012 18:17:25 +0000 Subject: Properly declare main. --- devel/astyle/distinfo | 4 ++-- devel/astyle/patches/patch-ac | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'devel/astyle') diff --git a/devel/astyle/distinfo b/devel/astyle/distinfo index 522ba8fb2ad..d6e613f5ccc 100644 --- a/devel/astyle/distinfo +++ b/devel/astyle/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.9 2011/11/24 14:14:14 joerg Exp $ +$NetBSD: distinfo,v 1.10 2012/07/03 18:17:25 joerg Exp $ SHA1 (astyle_1.13.6.1.zip) = 4e0172fe30986d68c61b4a7c1638a1fc42ea0675 RMD160 (astyle_1.13.6.1.zip) = 74030324515be84e0e7499edc2503d0e549673ba Size (astyle_1.13.6.1.zip) = 61422 bytes SHA1 (patch-aa) = 67bb1b1802e74bc264cb951a55075982c566d463 SHA1 (patch-ab) = c9b21d45f53331411425a734971f003d415b11e7 -SHA1 (patch-ac) = 42b568e4bb8f6a9748c1ec73db641739ce14e673 +SHA1 (patch-ac) = f99b2993bbbd63ae7a56783c75375d97876dee2d diff --git a/devel/astyle/patches/patch-ac b/devel/astyle/patches/patch-ac index 22c244d8bbc..89e8ef51b26 100644 --- a/devel/astyle/patches/patch-ac +++ b/devel/astyle/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.2 2011/11/24 14:14:15 joerg Exp $ +$NetBSD: patch-ac,v 1.3 2012/07/03 18:17:26 joerg Exp $ --- astyle_main.cpp.orig 2001-01-20 17:02:14.000000000 +0000 +++ astyle_main.cpp @@ -20,3 +20,12 @@ $NetBSD: patch-ac,v 1.2 2011/11/24 14:14:15 joerg Exp $ template bool parseOptions(ASFormatter &formatter, +@@ -650,7 +652,7 @@ void printHelpAndExit() + exit(1); + } + +-main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + ASFormatter formatter; + vector fileNameVector; -- cgit v1.2.3