pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/news/nget Add more missing includes. I think these are...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5165fbe31433
branches:  trunk
changeset: 603650:5165fbe31433
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Thu May 10 02:04:36 2012 +0000

description:
Add more missing includes. I think these are the last; should finally
fix the build with gcc 4.5.

diffstat:

 news/nget/distinfo                 |   5 ++++-
 news/nget/patches/patch-lite_h     |  17 +++++++++++++++++
 news/nget/patches/patch-myregex_cc |  16 ++++++++++++++++
 news/nget/patches/patch-server_cc  |  14 ++++++++++++++
 4 files changed, 51 insertions(+), 1 deletions(-)

diffs (79 lines):

diff -r d5735fe94501 -r 5165fbe31433 news/nget/distinfo
--- a/news/nget/distinfo        Thu May 10 01:58:16 2012 +0000
+++ b/news/nget/distinfo        Thu May 10 02:04:36 2012 +0000
@@ -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 @@
 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 -r d5735fe94501 -r 5165fbe31433 news/nget/patches/patch-lite_h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/nget/patches/patch-lite_h    Thu May 10 02:04:36 2012 +0000
@@ -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 -r d5735fe94501 -r 5165fbe31433 news/nget/patches/patch-myregex_cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/nget/patches/patch-myregex_cc        Thu May 10 02:04:36 2012 +0000
@@ -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 -r d5735fe94501 -r 5165fbe31433 news/nget/patches/patch-server_cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/nget/patches/patch-server_cc Thu May 10 02:04:36 2012 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index