diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-25 21:44:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-25 21:44:06 +0000 |
commit | b2fdad76cf566089c50712a2e4989547fdea834b (patch) | |
tree | 70f8c3b7b05d25cc26deec003b7830bbc6d5d2e5 | |
parent | f69d201e390f108e80b48cabc6a2c56aca581df1 (diff) | |
download | pkgsrc-b2fdad76cf566089c50712a2e4989547fdea834b.tar.gz |
Fix build with newer GCC
-rw-r--r-- | devel/gtl/distinfo | 4 | ||||
-rw-r--r-- | devel/gtl/patches/patch-include_GTL_edge.h | 12 | ||||
-rw-r--r-- | devel/gtl/patches/patch-src_graph.cpp | 12 |
3 files changed, 27 insertions, 1 deletions
diff --git a/devel/gtl/distinfo b/devel/gtl/distinfo index 931a05f3d2d..a8179e53fa6 100644 --- a/devel/gtl/distinfo +++ b/devel/gtl/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.6 2011/04/16 11:05:49 obache Exp $ +$NetBSD: distinfo,v 1.7 2011/11/25 21:44:06 joerg Exp $ SHA1 (GTL-1.2.4-lgpl.tar.gz) = 472a29211aa37a9c3f2e47336ddc16034d81c80f RMD160 (GTL-1.2.4-lgpl.tar.gz) = 5ee228fadfda0c450c358dd2be16265cca49e1f1 Size (GTL-1.2.4-lgpl.tar.gz) = 1074276 bytes +SHA1 (patch-include_GTL_edge.h) = b2eb9205824136dc03a28839a421e295ec7f81ab +SHA1 (patch-src_graph.cpp) = 96e00cf0999a27a613a37abbae64a15f9d824fd7 diff --git a/devel/gtl/patches/patch-include_GTL_edge.h b/devel/gtl/patches/patch-include_GTL_edge.h new file mode 100644 index 00000000000..f5f8c1fd6f3 --- /dev/null +++ b/devel/gtl/patches/patch-include_GTL_edge.h @@ -0,0 +1,12 @@ +$NetBSD: patch-include_GTL_edge.h,v 1.1 2011/11/25 21:44:06 joerg Exp $ + +--- include/GTL/edge.h.orig 2011-11-25 18:11:51.000000000 +0000 ++++ include/GTL/edge.h +@@ -11,6 +11,7 @@ + + #include <GTL/GTL.h> + ++#include <ostream> + #include <list> + + __GTL_BEGIN_NAMESPACE diff --git a/devel/gtl/patches/patch-src_graph.cpp b/devel/gtl/patches/patch-src_graph.cpp new file mode 100644 index 00000000000..601bcbf13ea --- /dev/null +++ b/devel/gtl/patches/patch-src_graph.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_graph.cpp,v 1.1 2011/11/25 21:44:06 joerg Exp $ + +--- src/graph.cpp.orig 2011-11-25 18:11:10.000000000 +0000 ++++ src/graph.cpp +@@ -16,6 +16,7 @@ + + #include <cassert> + #include <cstdio> ++#include <cstring> + + #include <algorithm> + #include <queue> |