diff options
author | dholland <dholland@pkgsrc.org> | 2012-05-10 02:04:36 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-05-10 02:04:36 +0000 |
commit | e297fdae5b7ddc919ce08d66df4a200b8048d4ac (patch) | |
tree | 442343631faffa7eb8f6e34edb7b3ca87ba58bd0 /news | |
parent | 6ce7f0bf7afda7dab960006556b61501def781fc (diff) | |
download | pkgsrc-e297fdae5b7ddc919ce08d66df4a200b8048d4ac.tar.gz |
Add more missing includes. I think these are the last; should finally
fix the build with gcc 4.5.
Diffstat (limited to 'news')
-rw-r--r-- | news/nget/distinfo | 5 | ||||
-rw-r--r-- | news/nget/patches/patch-lite_h | 17 | ||||
-rw-r--r-- | news/nget/patches/patch-myregex_cc | 16 | ||||
-rw-r--r-- | news/nget/patches/patch-server_cc | 14 |
4 files changed, 51 insertions, 1 deletions
diff --git a/news/nget/distinfo b/news/nget/distinfo index 3ba54073341..a69b2f639dd 100644 --- a/news/nget/distinfo +++ b/news/nget/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/05/09 06:27:05 dholland Exp $ +$NetBSD: distinfo,v 1.9 2012/05/10 02:04:36 dholland Exp $ SHA1 (nget-0.27.1.tar.gz) = 80e348dcb65fcb26cbe037598e676f4770cd7ad1 RMD160 (nget-0.27.1.tar.gz) = b90e3d6e2a33e630144a090f68f9bdd818f5e1bd @@ -6,7 +6,10 @@ Size (nget-0.27.1.tar.gz) = 490164 bytes SHA1 (patch-auto__map_h) = 355d8e02aed69a273a9cf282d6bc868b1b6d1846 SHA1 (patch-cache.h) = 2b8d07aa2a423e2143bf1482592d192c6378e309 SHA1 (patch-dupe__file_cc) = 31c550c8b23fd9885dc18aba5da44e108a132123 +SHA1 (patch-lite_h) = 3bb31ed0bb2aad077f0da3d01dc6ae4da89f6eaa +SHA1 (patch-myregex_cc) = 922f62c50f5fe56a0fb54347eef7a0a8d1a8fc79 SHA1 (patch-nget.cc) = 94b36db92f6fd34d76b33c47173c2db430f418d7 SHA1 (patch-nrange_h) = 7be7f613e2fbf27511c9052d70c188f9dcf2325d SHA1 (patch-path_cc) = c5fbb44bc8eadad7398b8f6665dbe538322396b5 +SHA1 (patch-server_cc) = 66a3c4b950dbfefc9f27773d6e7ed7f74d5472f3 SHA1 (patch-stlhelp.h) = 92851f32b0a2ec402d97b3322d662aea6572dc9d diff --git a/news/nget/patches/patch-lite_h b/news/nget/patches/patch-lite_h new file mode 100644 index 00000000000..df4fa40c6d4 --- /dev/null +++ b/news/nget/patches/patch-lite_h @@ -0,0 +1,17 @@ +$NetBSD: patch-lite_h,v 1.1 2012/05/10 02:04:36 dholland Exp $ + +Use standard headers. + +--- lite.h~ 2004-05-29 23:00:08.000000000 +0000 ++++ lite.h +@@ -23,7 +23,9 @@ + #include "config.h" + #endif + +-#include <stdlib.h> ++#include <cstring> ++#include <cstdlib> ++ + char * newstrcpy(char *&dest, const char *src); + inline void safefree(char *&p){ + if (p){free(p);p=NULL;} diff --git a/news/nget/patches/patch-myregex_cc b/news/nget/patches/patch-myregex_cc new file mode 100644 index 00000000000..bfbea05cd35 --- /dev/null +++ b/news/nget/patches/patch-myregex_cc @@ -0,0 +1,16 @@ +$NetBSD: patch-myregex_cc,v 1.1 2012/05/10 02:04:36 dholland Exp $ + +Use standard headers. + +--- myregex.cc~ 2004-05-29 23:00:06.000000000 +0000 ++++ myregex.cc +@@ -19,7 +19,8 @@ + #ifdef HAVE_CONFIG_H + #include "config.h" + #endif +-#include <stdlib.h> ++#include <cstring> ++#include <cstdlib> + #include "myregex.h" + + diff --git a/news/nget/patches/patch-server_cc b/news/nget/patches/patch-server_cc new file mode 100644 index 00000000000..2df2e074d58 --- /dev/null +++ b/news/nget/patches/patch-server_cc @@ -0,0 +1,14 @@ +$NetBSD: patch-server_cc,v 1.1 2012/05/10 02:04:36 dholland Exp $ + +Use standard headers. + +--- server.cc~ 2004-12-20 20:44:11.000000000 +0000 ++++ server.cc +@@ -16,6 +16,7 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ ++#include <climits> + #include "server.h" + #include "strreps.h" + #include "nget.h" |