summaryrefslogtreecommitdiffstats
path: root/net/nam
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-03-10 10:56:50 +0000
committerkrion <krion@FreeBSD.org>2005-03-10 10:56:50 +0000
commit2d243c1d0e37e13a2fb8e8ee904caa179d50c85c (patch)
treee4100089fe751253f1639af7a2c3203c061f0c02 /net/nam
parent4709cf269888ab6cc716346e9f9c93e4adf8ddbb (diff)
downloadFreeBSD-ports-2d243c1d0e37e13a2fb8e8ee904caa179d50c85c.zip
FreeBSD-ports-2d243c1d0e37e13a2fb8e8ee904caa179d50c85c.tar.gz
Fix build on amd64.
Diffstat (limited to 'net/nam')
-rw-r--r--net/nam/Makefile1
-rw-r--r--net/nam/files/patch-agent.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/net/nam/Makefile b/net/nam/Makefile
index 927e5c5..799ee6d 100644
--- a/net/nam/Makefile
+++ b/net/nam/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nam
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.isi.edu/nsnam/dist/
DISTNAME= nam-src-${PORTVERSION}
diff --git a/net/nam/files/patch-agent.h b/net/nam/files/patch-agent.h
new file mode 100644
index 0000000..d549f1b
--- /dev/null
+++ b/net/nam/files/patch-agent.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- agent.h.orig
++++ agent.h
+@@ -70,7 +70,7 @@
+ 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);
OpenPOWER on IntegriCloud