pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/drscheme Fixed a compile error with sunpro.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cd78cd09138
branches:  trunk
changeset: 520699:2cd78cd09138
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Oct 26 13:54:25 2006 +0000

description:
Fixed a compile error with sunpro.

diffstat:

 lang/drscheme/distinfo         |   3 ++-
 lang/drscheme/patches/patch-as |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r f7555b56dba8 -r 2cd78cd09138 lang/drscheme/distinfo
--- a/lang/drscheme/distinfo    Thu Oct 26 07:01:46 2006 +0000
+++ b/lang/drscheme/distinfo    Thu Oct 26 13:54:25 2006 +0000
@@ -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-ao) = 667593d28a695fd7caee210deb8ee06e72019c40
 SHA1 (patch-ap) = 60702692e0d60282df187531fa06973e1eb48817
 SHA1 (patch-ar) = f8820476ef90c8efd44a7ce2128e0c7cb23080cd
+SHA1 (patch-as) = 806c50437fc3eefed2d6a56b715399dc2a3350bd
diff -r f7555b56dba8 -r 2cd78cd09138 lang/drscheme/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/drscheme/patches/patch-as    Thu Oct 26 13:54:25 2006 +0000
@@ -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);
+         



Home | Main Index | Thread Index | Old Index