diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-03-10 10:56:50 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-03-10 10:56:50 +0000 |
commit | 82d63e31776c3d423e4d73e9dddaff5f9e606f20 (patch) | |
tree | a974f3cf219190994061be118534e9cdb70fd56a /net/nam | |
parent | 5fb5a201287252d290795e532ed63c2af0433b47 (diff) |
Fix build on amd64.
Notes
Notes:
svn path=/head/; revision=130788
Diffstat (limited to 'net/nam')
-rw-r--r-- | net/nam/Makefile | 1 | ||||
-rw-r--r-- | net/nam/files/patch-agent.h | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/net/nam/Makefile b/net/nam/Makefile index 927e5c5035d8..799ee6d97010 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 000000000000..d549f1b83545 --- /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); |