diff options
Diffstat (limited to 'x11-themes/qnxstyle')
-rw-r--r-- | x11-themes/qnxstyle/Makefile | 6 | ||||
-rw-r--r-- | x11-themes/qnxstyle/files/patch-src::qnx.cpp | 20 |
2 files changed, 21 insertions, 5 deletions
diff --git a/x11-themes/qnxstyle/Makefile b/x11-themes/qnxstyle/Makefile index 62e98d33ed27..0c4cc8604b68 100644 --- a/x11-themes/qnxstyle/Makefile +++ b/x11-themes/qnxstyle/Makefile @@ -11,7 +11,7 @@ CATEGORIES= x11-wm kde MASTER_SITES= http://www.kde-look.org/content/files/ DISTNAME= $(KDELOOKITEM)-${PORTNAME}-$(PORTVERSION) -MAINTAINER= adamw@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= A QNX style/theme for KDE3 BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \ @@ -19,10 +19,6 @@ BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif - KDELOOKITEM= 1444 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff --git a/x11-themes/qnxstyle/files/patch-src::qnx.cpp b/x11-themes/qnxstyle/files/patch-src::qnx.cpp new file mode 100644 index 000000000000..f8a216c8d771 --- /dev/null +++ b/x11-themes/qnxstyle/files/patch-src::qnx.cpp @@ -0,0 +1,20 @@ +--- src/qnx.cpp.orig Wed Apr 17 16:03:57 2002 ++++ src/qnx.cpp Mon May 19 11:27:21 2003 +@@ -1948,7 +1948,7 @@ + + void QnxStyle::drawVGradient(QPainter *p, const QColorGroup &g, + QColorGroup::ColorRole type, int x, int y, +- int w, int h, int /*sx*/, int sy, int /*tw*/, int th, bool flip=false) const ++ int w, int h, int /*sx*/, int sy, int /*tw*/, int th, bool flip) const + { + GradientSet *grSet = gDict.find(g.color(type).rgb()); + if(!grSet){ +@@ -1980,7 +1980,7 @@ + + void QnxStyle::drawHGradient(QPainter *p, const QColorGroup &g, + QColorGroup::ColorRole type, int x, int y, +- int w, int h, int sx, int /*sy*/, int tw, int /*th*/, bool flip=false ) const ++ int w, int h, int sx, int /*sy*/, int tw, int /*th*/, bool flip) const + { + GradientSet *grSet = gDict.find(g.color(type).rgb()); + if(!grSet) |