summaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-05-19 18:31:06 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-05-19 18:31:06 +0000
commit808579847863200dc211065806d20e46a12bde85 (patch)
treefe7d97f420c454c8e9906a48cf88b50944e51e6a /x11-themes
parentBring back from Attic: localized messages and documentation for koffice (diff)
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/Makefile6
-rw-r--r--x11-themes/qnxstyle/files/patch-src::qnx.cpp20
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)