summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-03-03 04:46:50 +0000
committerminskim <minskim@pkgsrc.org>2006-03-03 04:46:50 +0000
commita17fab4c2cad4ee82333c318ff415491070061a3 (patch)
treeaecfe77be5337ee1ab4d27ffbb4af797a45d37ca
parent09808192268079756aa655ae57ade9bf9779d5f0 (diff)
downloadpkgsrc-a17fab4c2cad4ee82333c318ff415491070061a3.tar.gz
Make this package build with gcc-4.
-rw-r--r--net/nam/distinfo3
-rw-r--r--net/nam/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/nam/distinfo b/net/nam/distinfo
index 9dd1e914df9..6c6aae0e7d6 100644
--- a/net/nam/distinfo
+++ b/net/nam/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/28 15:29:22 minskim Exp $
+$NetBSD: distinfo,v 1.6 2006/03/03 04:46:50 minskim Exp $
SHA1 (nam-src-1.11.tar.gz) = 745ee2a8830831be3bee979401198b3510e1a7c8
RMD160 (nam-src-1.11.tar.gz) = 0b2c2550018a67b4081d5799a91d9964b4f731c8
@@ -6,3 +6,4 @@ Size (nam-src-1.11.tar.gz) = 4358578 bytes
SHA1 (patch-aa) = 6178acca56809e546128c0b8d54db4aa6db83e4d
SHA1 (patch-ab) = c7ecec5ce97b68a41ad9e93017e158ad8426ad45
SHA1 (patch-ac) = dfdefa14ebe3a434ad2aa85e0b40065bc2e9a858
+SHA1 (patch-ad) = 37febda5857e59fd87ee6833db82528e1d5b4920
diff --git a/net/nam/patches/patch-ad b/net/nam/patches/patch-ad
new file mode 100644
index 00000000000..21771193270
--- /dev/null
+++ b/net/nam/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/03/03 04:46:50 minskim Exp $
+
+--- agent.h.orig 2001-06-15 18:53:10.000000000 -0700
++++ agent.h
+@@ -70,7 +70,7 @@ public:
+ inline double width() {return width_;}
+ inline double height() {return height_;}
+ virtual void findClosestCornertoPoint(double x, double y,
+- double &corner_x, double &corner_y) const = NULL;
++ double &corner_x, double &corner_y) const = 0;
+ virtual void place(double x, double y);
+ void label(const char* name, int anchor);
+ void color(const char* name);