From owner-svn-ports-all@freebsd.org Sun Sep 4 07:31:07 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 66651BCF04B; Sun, 4 Sep 2016 07:31:07 +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 1B1B06C3; Sun, 4 Sep 2016 07:31:07 +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 u847V6ox006662; Sun, 4 Sep 2016 07:31:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u847V6MR006660; Sun, 4 Sep 2016 07:31:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201609040731.u847V6MR006660@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 4 Sep 2016 07:31:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421307 - in head/deskutils/plasma-applet-playwolf: . 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: Sun, 04 Sep 2016 07:31:07 -0000 Author: amdmi3 Date: Sun Sep 4 07:31:06 2016 New Revision: 421307 URL: https://svnweb.freebsd.org/changeset/ports/421307 Log: - Fix build on 11+ - While here, fix LICENSE Approved by: portmgr blanket MFH: 2016Q3 (blanket) Added: head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp (contents, props changed) Modified: head/deskutils/plasma-applet-playwolf/Makefile Modified: head/deskutils/plasma-applet-playwolf/Makefile ============================================================================== --- head/deskutils/plasma-applet-playwolf/Makefile Sun Sep 4 07:27:35 2016 (r421306) +++ head/deskutils/plasma-applet-playwolf/Makefile Sun Sep 4 07:31:06 2016 (r421307) @@ -10,7 +10,8 @@ PKGNAMEPREFIX= plasma-applet- MAINTAINER= jhale@FreeBSD.org COMMENT= Amarok 2.x plasma applet for KDE4 -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake kde:4 tar:bzip2 USE_KDE= automoc4 kdelibs @@ -32,7 +33,7 @@ ADD_NEWLINE_TO= flowlayout.cpp \ post-patch: .for i in ${ADD_NEWLINE_TO} - ${ECHO_CMD} >> ${WRKSRC}/${i} + @${ECHO_CMD} >> ${WRKSRC}/${i} .endfor .include Added: head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp Sun Sep 4 07:31:06 2016 (r421307) @@ -0,0 +1,19 @@ +--- wolflabel.cpp.orig 2010-01-13 21:33:08 UTC ++++ wolflabel.cpp +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -195,7 +196,7 @@ void WolfLabel::paint(QPainter *painter, + m_animation->setPropertyName("xOffset"); + m_animation->setTargetObject(this); + } +- m_animation->setDuration((2 * abs(x) + SPACING) * 150); ++ m_animation->setDuration((2 * qFabs(x) + SPACING) * 150); + m_animation->setNewStartValue(x - SPACING); + m_animation->setNewEndValue(SPACING); + if (m_animation->state() != QAbstractAnimation::Running) {