diff options
author | joerg <joerg> | 2011-12-06 19:51:07 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-12-06 19:51:07 +0000 |
commit | 7648995c8618fc6da2427124fd870e66304b36c5 (patch) | |
tree | b00d63b21c02cfcb7e1311e43338ee0b3c56cef0 | |
parent | eb152421fe6cb3846944b6e41a19b8b17a1c0a46 (diff) | |
download | pkgsrc-7648995c8618fc6da2427124fd870e66304b36c5.tar.gz |
Fix some of the low hanging fruits for modern GCC to expose the harder
bugs.
-rw-r--r-- | news/nget/distinfo | 5 | ||||
-rw-r--r-- | news/nget/patches/patch-cache.h | 12 | ||||
-rw-r--r-- | news/nget/patches/patch-nget.cc | 12 | ||||
-rw-r--r-- | news/nget/patches/patch-stlhelp.h | 13 |
4 files changed, 41 insertions, 1 deletions
diff --git a/news/nget/distinfo b/news/nget/distinfo index f3f94d1cef3..a9ef2346bc7 100644 --- a/news/nget/distinfo +++ b/news/nget/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.3 2005/04/26 00:44:09 reed Exp $ +$NetBSD: distinfo,v 1.4 2011/12/06 19:51:07 joerg Exp $ SHA1 (nget-0.27.1.tar.gz) = 80e348dcb65fcb26cbe037598e676f4770cd7ad1 RMD160 (nget-0.27.1.tar.gz) = b90e3d6e2a33e630144a090f68f9bdd818f5e1bd Size (nget-0.27.1.tar.gz) = 490164 bytes +SHA1 (patch-cache.h) = 2b8d07aa2a423e2143bf1482592d192c6378e309 +SHA1 (patch-nget.cc) = 94b36db92f6fd34d76b33c47173c2db430f418d7 +SHA1 (patch-stlhelp.h) = 92851f32b0a2ec402d97b3322d662aea6572dc9d diff --git a/news/nget/patches/patch-cache.h b/news/nget/patches/patch-cache.h new file mode 100644 index 00000000000..fade8add73d --- /dev/null +++ b/news/nget/patches/patch-cache.h @@ -0,0 +1,12 @@ +$NetBSD: patch-cache.h,v 1.1 2011/12/06 19:51:07 joerg Exp $ + +--- cache.h.orig 2011-12-06 17:04:06.000000000 +0000 ++++ cache.h +@@ -23,6 +23,7 @@ + #endif + #include <sys/types.h> + #include <ctype.h> ++#include <climits> + #include <string> + #include <map> + #include "_hash_map.h" diff --git a/news/nget/patches/patch-nget.cc b/news/nget/patches/patch-nget.cc new file mode 100644 index 00000000000..0a700a14ea6 --- /dev/null +++ b/news/nget/patches/patch-nget.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-nget.cc,v 1.1 2011/12/06 19:51:07 joerg Exp $ + +--- nget.cc.orig 2011-12-06 17:02:32.000000000 +0000 ++++ nget.cc +@@ -37,6 +37,7 @@ extern "C" { + #include <stdio.h> + #include <errno.h> + #include <string.h> ++#include <limits.h> + #include <time.h> + #include "_fileconf.h" + diff --git a/news/nget/patches/patch-stlhelp.h b/news/nget/patches/patch-stlhelp.h new file mode 100644 index 00000000000..8a143e3cd2f --- /dev/null +++ b/news/nget/patches/patch-stlhelp.h @@ -0,0 +1,13 @@ +$NetBSD: patch-stlhelp.h,v 1.1 2011/12/06 19:51:07 joerg Exp $ + +--- stlhelp.h.orig 2011-12-06 17:03:41.000000000 +0000 ++++ stlhelp.h +@@ -19,6 +19,8 @@ + #ifndef _STLHELP_H_ + #define _STLHELP_H_ + ++#include <cstring> ++ + struct eqstr + { + bool operator()(const char* s1, const char* s2) const |