diff options
author | rillig <rillig@pkgsrc.org> | 2008-01-13 22:36:29 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-01-13 22:36:29 +0000 |
commit | 584a160f4ab8d1b1876336c72e10378e76c5a19a (patch) | |
tree | 23869587c7d71c2cb67411105c7af75a5ace1b3a /devel/bouml | |
parent | 2ef4aec27999f3bfc2bdb8b1ab216cc58b8ae36b (diff) | |
download | pkgsrc-584a160f4ab8d1b1876336c72e10378e76c5a19a.tar.gz |
Fixed ambiguous function call with sunpro.
Diffstat (limited to 'devel/bouml')
-rw-r--r-- | devel/bouml/distinfo | 3 | ||||
-rw-r--r-- | devel/bouml/patches/patch-ab | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/bouml/distinfo b/devel/bouml/distinfo index fa85350ab92..892c1feb1a0 100644 --- a/devel/bouml/distinfo +++ b/devel/bouml/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/06/05 05:56:42 rillig Exp $ +$NetBSD: distinfo,v 1.2 2008/01/13 22:36:29 rillig Exp $ SHA1 (bouml_2.27.tar.gz) = 88d8100e460512117477194cbf15112ca4617ec3 RMD160 (bouml_2.27.tar.gz) = d86e9b8db713424e2bd2f3ab3f04471195cc664f Size (bouml_2.27.tar.gz) = 3872944 bytes SHA1 (patch-aa) = 91ac26ef1c8b60ca81b6dae83ed8eee0b03b2d94 +SHA1 (patch-ab) = 272bf0fefc0c846b39db167731f76a3d33585523 diff --git a/devel/bouml/patches/patch-ab b/devel/bouml/patches/patch-ab new file mode 100644 index 00000000000..8e84c5ddd78 --- /dev/null +++ b/devel/bouml/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1 2008/01/13 22:36:29 rillig Exp $ + +Resolve ambiguation between double and long double for sunpro. + +--- src/diagram/ArrowCanvas.cpp.orig 2007-05-26 10:03:14.000000000 +0200 ++++ src/diagram/ArrowCanvas.cpp 2007-11-03 10:41:11.394915000 +0100 +@@ -159,7 +159,7 @@ void ArrowCanvas::update_pos() { + return; + } + +- const double m = ARROW_LENGTH/sqrt(dx*dx + dy*dy); ++ const double m = ARROW_LENGTH/sqrt(double(dx*dx + dy*dy)); + + double deltax = dy*m; + double deltay = dx*m; |