Index: head/x11-themes/kde4-style-polyester/Makefile =================================================================== --- head/x11-themes/kde4-style-polyester/Makefile (revision 416594) +++ head/x11-themes/kde4-style-polyester/Makefile (revision 416595) @@ -1,18 +1,21 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= polyester PORTVERSION= 2.0.0 PORTREVISION= 9 CATEGORIES= x11-themes kde MASTER_SITES= http://www.notmart.org/files/ PKGNAMEPREFIX= kde4-style- MAINTAINER= makc@FreeBSD.org COMMENT= KDE style and window decoration +LICENSE= LGPL20+ +LICENSE_FILE= ${WRKSRC}/COPYING.LIB + USE_KDE4= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build USES= cmake gettext tar:bzip2 .include Index: head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp =================================================================== --- head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp (nonexistent) +++ head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp (revision 416595) @@ -0,0 +1,21 @@ +abs is not needed, as AnimInfo::animFrame is unsigned +--- style/polyester.cpp.orig 2009-02-17 18:23:09 UTC ++++ style/polyester.cpp +@@ -216,7 +216,7 @@ void PolyesterStyle::animate() + + if( animWidgets[widget].active == true ) { + mustStop = false; +- if(abs(animWidgets[widget].animFrame) < ANIMATIONSTEPS) { ++ if(animWidgets[widget].animFrame < ANIMATIONSTEPS) { + if ( _animateButton ) { + animWidgets[widget].animFrame += animationDelta; + widget->repaint(); +@@ -225,7 +225,7 @@ void PolyesterStyle::animate() + } + } + } else { +- if(abs(animWidgets[widget].animFrame) > 0) { ++ if(animWidgets[widget].animFrame != 0) { + mustStop = false; + if ( _animateButton ) { + animWidgets[widget].animFrame -= animationDelta; Property changes on: head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property