From owner-svn-ports-all@freebsd.org Thu Jun 9 12:23:08 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1F99AEEE7A; Thu, 9 Jun 2016 12:23:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68AB614E2; Thu, 9 Jun 2016 12:23:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u59CN7gn053360; Thu, 9 Jun 2016 12:23:07 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u59CN7hS053358; Thu, 9 Jun 2016 12:23:07 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201606091223.u59CN7hS053358@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 9 Jun 2016 12:23:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416595 - in head/x11-themes/kde4-style-polyester: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 12:23:08 -0000 Author: amdmi3 Date: Thu Jun 9 12:23:07 2016 New Revision: 416595 URL: https://svnweb.freebsd.org/changeset/ports/416595 Log: - Add LICENSE - Fix build on 11.x Approved by: portmgr blanket Added: head/x11-themes/kde4-style-polyester/files/ head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp (contents, props changed) Modified: head/x11-themes/kde4-style-polyester/Makefile Modified: head/x11-themes/kde4-style-polyester/Makefile ============================================================================== --- head/x11-themes/kde4-style-polyester/Makefile Thu Jun 9 11:48:27 2016 (r416594) +++ head/x11-themes/kde4-style-polyester/Makefile Thu Jun 9 12:23:07 2016 (r416595) @@ -11,6 +11,9 @@ 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 Added: head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp Thu Jun 9 12:23:07 2016 (r416595) @@ -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;