summaryrefslogtreecommitdiff
path: root/devel/libargparse
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-22 18:04:58 +0000
committerjoerg <joerg>2011-11-22 18:04:58 +0000
commitf07c0541dc0111fdc19efd02799da1d2af5553a0 (patch)
tree3ebf60ac1b3f4f37cd48b09d6da525bf5893aef5 /devel/libargparse
parentd8581b086d529d9cfe41893df027e51b74c804b2 (diff)
downloadpkgsrc-f07c0541dc0111fdc19efd02799da1d2af5553a0.tar.gz
Fix missing prototypes errors with newer GCC
Diffstat (limited to 'devel/libargparse')
-rw-r--r--devel/libargparse/distinfo3
-rw-r--r--devel/libargparse/patches/patch-argparse.cpp12
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>