Fix build on amd64.

This commit is contained in:
Kirill Ponomarev 2005-03-10 10:56:50 +00:00
parent 5fb5a20128
commit 82d63e3177
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130788
2 changed files with 15 additions and 0 deletions

View file

@ -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}

View file

@ -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);