Subject: pkg/34770: net/kdenetwork3 Solaris AMD
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 10/10/2006 09:20:01
>Number:         34770
>Category:       pkg
>Synopsis:       net/kdenetwork3 Solaris AMD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 10 09:20:01 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


in kopete/protocols/groupwise/libgroupwise/rtf.cc
FS is still defined by solaris in /usr/include/sys/regset.h
for i386 ABI suppl.

rtf.cc does not compile


>How-To-Repeat:


bmake on Solaris i386


>Fix:


two patches is wished:

--- kopete/protocols/groupwise/libgroupwise/rtf.ll.orig Sat Sep 10 10:20:20 2005
+++ kopete/protocols/groupwise/libgroupwise/rtf.ll      Tue Oct 10 10:23:32 2006
@@ -633,7 +633,7 @@
 const unsigned GREEN           = 3;
 const unsigned BLUE                    = 4;
 const unsigned CF                      = 5;
-const unsigned FS                      = 6;
+const unsigned KDE_FS                  = 6;
 const unsigned HIGHLIGHT       = 7;
 const unsigned PARD                    = 8;
 const unsigned PAR                     = 9;
@@ -797,7 +797,7 @@
                 case CF:
                     cur_level.setFontColor(cmd_value);
                     break;
-                case FS:
+                case KDE_FS:
                     cur_level.setFontSizeHalfPoints(cmd_value);
                     break;
                 case HIGHLIGHT:

and

--- kopete/protocols/groupwise/libgroupwise/rtf.cc.orig Sat Sep 10 10:20:20 2005
+++ kopete/protocols/groupwise/libgroupwise/rtf.cc      Tue Oct 10 11:10:40 2006
@@ -2298,7 +2298,7 @@
 const unsigned GREEN           = 3;
 const unsigned BLUE                    = 4;
 const unsigned CF                      = 5;
-const unsigned FS                      = 6;
+const unsigned KDE_FS                  = 6;
 const unsigned HIGHLIGHT       = 7;
 const unsigned PARD                    = 8;
 const unsigned PAR                     = 9;
@@ -2462,7 +2462,7 @@
                 case CF:
                     cur_level.setFontColor(cmd_value);
                     break;
-                case FS:
+                case KDE_FS:
                     cur_level.setFontSizeHalfPoints(cmd_value);
                     break;
                 case HIGHLIGHT: