ports/69742: x11-themes/qinx does not build on -STABLE
David Johnson
david at usermode.org
Thu Jul 29 04:30:29 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list