From f07c0541dc0111fdc19efd02799da1d2af5553a0 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 22 Nov 2011 18:04:58 +0000 Subject: Fix missing prototypes errors with newer GCC --- devel/libargparse/distinfo | 3 ++- devel/libargparse/patches/patch-argparse.cpp | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 devel/libargparse/patches/patch-argparse.cpp (limited to 'devel/libargparse') diff --git a/devel/libargparse/distinfo b/devel/libargparse/distinfo index 195bf880407..2f00cb26022 100644 --- a/devel/libargparse/distinfo +++ b/devel/libargparse/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 22:24:17 agc Exp $ +$NetBSD: distinfo,v 1.3 2011/11/22 18:04:58 joerg Exp $ SHA1 (libargparse-0.1.0000.tar.gz) = 5574468f84618677f6a7f46547c49fede109cb7c RMD160 (libargparse-0.1.0000.tar.gz) = 64d0a53a0f7d65c7f6864704761dc92a7ac31451 Size (libargparse-0.1.0000.tar.gz) = 113175 bytes +SHA1 (patch-argparse.cpp) = a928b2e317ea3a3b9d33cf937134a4b078df827f diff --git a/devel/libargparse/patches/patch-argparse.cpp b/devel/libargparse/patches/patch-argparse.cpp new file mode 100644 index 00000000000..46605f6272f --- /dev/null +++ b/devel/libargparse/patches/patch-argparse.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-argparse.cpp,v 1.1 2011/11/22 18:04:58 joerg Exp $ + +--- argparse.cpp.orig 2011-11-22 17:30:01.000000000 +0000 ++++ argparse.cpp +@@ -16,6 +16,7 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include + #include "argparse.h" + #include + #include -- cgit v1.2.3