Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 00:20:56 -0400
From:      David Johnson <david@usermode.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69742: x11-themes/qinx does not build on -STABLE
Message-ID:  <E1Bq2PY-0002Fx-00@hall.mail.mindspring.net>
Resent-Message-ID: <200407290430.i6T4UOAk065905@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69742
>Category:       ports
>Synopsis:       x11-themes/qinx does not build on -STABLE
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 29 04:30:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Johnson
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD scatha.home 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sun Jun 13 20:07:29 PDT 2004 root@scatha.home:/usr/obj/usr/src/sys/SCATHA i386


	
>Description:
	x11-themes/qinx port does not build on -STABLE. This is due to -STABLE's compiler will requires an explicit cast to compare pointers of base class to subclass.
>How-To-Repeat:
	
>Fix:

	

--- qinx.diff begins here ---
diff -ruN qinx.orig/files/patch-qinxstyle.cc qinx/files/patch-qinxstyle.cc
--- qinx.orig/files/patch-qinxstyle.cc	Wed Dec 31 16:00:00 1969
+++ qinx/files/patch-qinxstyle.cc	Sun Jul 25 21:13:31 2004
@@ -0,0 +1,11 @@
+--- qinxstyle/qinxstyle.cc.orig	Sun Jul 25 21:12:29 2004
++++ qinxstyle/qinxstyle.cc	Sun Jul 25 21:12:51 2004
+@@ -1677,7 +1677,7 @@
+           }
+ 
+           PrimitiveElement element;
+-          QColor color = (spin==hover_)
++          QColor color = ((QWidget*)spin==hover_)
+               ? group.button().light(contrast)
+               : group.button();
+ 
--- qinx.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Bq2PY-0002Fx-00>