diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-05-19 18:31:06 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-05-19 18:31:06 +0000 |
commit | 808579847863200dc211065806d20e46a12bde85 (patch) | |
tree | fe7d97f420c454c8e9906a48cf88b50944e51e6a | |
parent | a50b4298c8282dbec87dc56c7b65208e5b2724dd (diff) | |
download | ports-808579847863200dc211065806d20e46a12bde85.tar.gz ports-808579847863200dc211065806d20e46a12bde85.zip |
Fix build on -CURRENT.
PR: ports/46185
Submitted by: Anton Yudin <toha@toha.org.ua>
Notes
Notes:
svn path=/head/; revision=81480
-rw-r--r-- | x11-themes/qnxstyle/Makefile | 6 | ||||
-rw-r--r-- | x11-themes/qnxstyle/files/patch-src::qnx.cpp | 20 | ||||
-rw-r--r-- | x11-wm/qnxstyle/Makefile | 6 | ||||
-rw-r--r-- | x11-wm/qnxstyle/files/patch-src::qnx.cpp | 20 |
4 files changed, 42 insertions, 10 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) diff --git a/x11-wm/qnxstyle/Makefile b/x11-wm/qnxstyle/Makefile index 62e98d33ed27..0c4cc8604b68 100644 --- a/x11-wm/qnxstyle/Makefile +++ b/x11-wm/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-wm/qnxstyle/files/patch-src::qnx.cpp b/x11-wm/qnxstyle/files/patch-src::qnx.cpp new file mode 100644 index 000000000000..f8a216c8d771 --- /dev/null +++ b/x11-wm/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) |