diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-26 13:54:25 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-26 13:54:25 +0000 |
commit | fc2031a1ac3c3891bec22b3931ead6dcc8a49d53 (patch) | |
tree | e82bd5b6dfc3b6bee1ed3b540cc7fc1f931f7006 /lang | |
parent | bc6e187f0855559621884798dd61446f1c1fe7d6 (diff) | |
download | pkgsrc-fc2031a1ac3c3891bec22b3931ead6dcc8a49d53.tar.gz |
Fixed a compile error with sunpro.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/drscheme/distinfo | 3 | ||||
-rw-r--r-- | lang/drscheme/patches/patch-as | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/drscheme/distinfo b/lang/drscheme/distinfo index a3334f67f5d..675d0bdcf33 100644 --- a/lang/drscheme/distinfo +++ b/lang/drscheme/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2006/08/22 20:17:23 joerg Exp $ +$NetBSD: distinfo,v 1.14 2006/10/26 13:54:25 rillig Exp $ SHA1 (drscheme/209/mred-doc.plt) = 8acbb38af09f7d0cbf60db0f28ea3b1cfdbecbcc RMD160 (drscheme/209/mred-doc.plt) = 89b0d4b5d1093b6e9f5d6d7afad0fc7fbb99dc3c @@ -30,3 +30,4 @@ SHA1 (patch-an) = bca5a79edd48a2670d02496b6da3799c13c0aed6 SHA1 (patch-ao) = 667593d28a695fd7caee210deb8ee06e72019c40 SHA1 (patch-ap) = 60702692e0d60282df187531fa06973e1eb48817 SHA1 (patch-ar) = f8820476ef90c8efd44a7ce2128e0c7cb23080cd +SHA1 (patch-as) = 806c50437fc3eefed2d6a56b715399dc2a3350bd diff --git a/lang/drscheme/patches/patch-as b/lang/drscheme/patches/patch-as new file mode 100644 index 00000000000..e92f8cd5af9 --- /dev/null +++ b/lang/drscheme/patches/patch-as @@ -0,0 +1,15 @@ +$NetBSD: patch-as,v 1.1 2006/10/26 13:54:25 rillig Exp $ + +sunpro is a little picky about overloaded functions, for good reason. + +--- wxxt/src/DeviceContexts/WindowDC.cc.orig 2004-12-19 09:38:26.000000000 +0100 ++++ wxxt/src/DeviceContexts/WindowDC.cc 2006-10-26 15:45:24.638175276 +0200 +@@ -1935,7 +1935,7 @@ void wxWindowDC::DrawText(char *text, fl + fontinfo = (XFontStruct *)current_font->GetInternalFont(scale_x, scale_y, angle); + XSetFont(DPY, TEXT_GC, fontinfo->fid); + +- quadrant = fmod(angle, 2 * pie); ++ quadrant = fmod((double)angle, 2 * pie); + if (quadrant < 0) + quadrant += (2 * pie); + |