diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-22 18:04:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-22 18:04:58 +0000 |
commit | ad371c2b06b6c4bdb779ea58eee91aefea7bf15f (patch) | |
tree | 3ebf60ac1b3f4f37cd48b09d6da525bf5893aef5 | |
parent | 83cc1a67720523451430f10a6a83d05de181abc1 (diff) | |
download | pkgsrc-ad371c2b06b6c4bdb779ea58eee91aefea7bf15f.tar.gz |
Fix missing prototypes errors with newer GCC
-rw-r--r-- | devel/libargparse/distinfo | 3 | ||||
-rw-r--r-- | devel/libargparse/patches/patch-argparse.cpp | 12 |
2 files changed, 14 insertions, 1 deletions
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 <stdlib.h> + #include "argparse.h" + #include <map> + #include <list> |