diff options
author | adamw <adamw@FreeBSD.org> | 2003-05-19 18:31:06 +0000 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2003-05-19 18:31:06 +0000 |
commit | b49d3f676e595d8a637f55633f217bc7a8386293 (patch) | |
tree | 2fdb81171384498ac83c73439a72ce1da4b28583 /x11-themes | |
parent | c799ffd2b4cc62d748dcd3b4fb21115cdd54c346 (diff) | |
download | FreeBSD-ports-b49d3f676e595d8a637f55633f217bc7a8386293.zip FreeBSD-ports-b49d3f676e595d8a637f55633f217bc7a8386293.tar.gz |
Fix build on -CURRENT.
PR: ports/46185
Submitted by: Anton Yudin <toha@toha.org.ua>
Diffstat (limited to 'x11-themes')
-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 62e98d3..0c4cc86 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 0000000..f8a216c --- /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) |