diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-24 14:14:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-24 14:14:14 +0000 |
commit | 1c9511d154fa1be6fe5d26093bccc7ce5b71aa57 (patch) | |
tree | d2656f55dfa5b5bc3d1cfb7508aa0f7e28b49010 /devel | |
parent | eb7113aa5d75a244389be84eacefa4025120cab6 (diff) | |
download | pkgsrc-1c9511d154fa1be6fe5d26093bccc7ce5b71aa57.tar.gz |
Fix build with modern GCC
Diffstat (limited to 'devel')
-rw-r--r-- | devel/astyle/distinfo | 4 | ||||
-rw-r--r-- | devel/astyle/patches/patch-ac | 15 |
2 files changed, 14 insertions, 5 deletions
diff --git a/devel/astyle/distinfo b/devel/astyle/distinfo index adada722b10..522ba8fb2ad 100644 --- a/devel/astyle/distinfo +++ b/devel/astyle/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2009/08/25 11:56:34 wiz Exp $ +$NetBSD: distinfo,v 1.9 2011/11/24 14:14:14 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) = d143f2cd5ef3d15317d8dbe01be98f3a9a862ec6 +SHA1 (patch-ac) = 42b568e4bb8f6a9748c1ec73db641739ce14e673 diff --git a/devel/astyle/patches/patch-ac b/devel/astyle/patches/patch-ac index d4ca4cd3ed4..22c244d8bbc 100644 --- a/devel/astyle/patches/patch-ac +++ b/devel/astyle/patches/patch-ac @@ -1,8 +1,17 @@ -$NetBSD: patch-ac,v 1.1 2006/01/02 18:05:11 joerg Exp $ +$NetBSD: patch-ac,v 1.2 2011/11/24 14:14:15 joerg Exp $ ---- astyle_main.cpp.orig 2006-01-02 17:58:40.000000000 +0000 +--- astyle_main.cpp.orig 2001-01-20 17:02:14.000000000 +0000 +++ astyle_main.cpp -@@ -149,7 +149,7 @@ void error(const char *why, const char* +@@ -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); } |