From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 6 10:00:18 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 712D010656C9 for ; Mon, 6 Sep 2010 10:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 49E5E8FC1D for ; Mon, 6 Sep 2010 10:00:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o86A0ITh036109 for ; Mon, 6 Sep 2010 10:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o86A0I4e036089; Mon, 6 Sep 2010 10:00:18 GMT (envelope-from gnats) Resent-Date: Mon, 6 Sep 2010 10:00:18 GMT Resent-Message-Id: <201009061000.o86A0I4e036089@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Jason E. Hale" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F75610656C2 for ; Mon, 6 Sep 2010 09:50:51 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id B50F18FC25 for ; Mon, 6 Sep 2010 09:50:50 +0000 (UTC) Received: by qwg5 with SMTP id 5so4009610qwg.13 for ; Mon, 06 Sep 2010 02:50:49 -0700 (PDT) Received: by 10.224.110.193 with SMTP id o1mr5417qap.298.1283766649820; Mon, 06 Sep 2010 02:50:49 -0700 (PDT) Received: from mocha.verizon.net (c-24-3-43-53.hsd1.oh.comcast.net [24.3.43.53]) by mx.google.com with ESMTPS id r1sm5420648qcq.10.2010.09.06.02.50.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 02:50:49 -0700 (PDT) Message-Id: <4c84b979.8175e50a.186e.ffff952c@mx.google.com> Date: Mon, 06 Sep 2010 02:50:49 -0700 (PDT) From: "Jason E. Hale" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/150320: [MAINTAINER] deskutils/plasma-applet-yawp: Unbreak with KDE 4.5.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jason E. Hale" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2010 10:00:18 -0000 >Number: 150320 >Category: ports >Synopsis: [MAINTAINER] deskutils/plasma-applet-yawp: Unbreak with KDE 4.5.x >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Sep 06 10:00:17 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 8.0-RELEASE i386 >Organization: none >Environment: System: FreeBSD mocha.verizon.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri Nov 27 18:56:06 EST 2009 root@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA8 i386 KDE 4.5.1 >Description: Unbreak deskutils/plasma-applet-yawp with KDE 4.5.x There are a few places in the code that check for the version of KDE which enable certain features. The way the check is written, KDE 4.5.x is unknown, so it goes to a failsafe which is for earlier versions of KDE. >How-To-Repeat: Use attached diff. Changes a hard check for KDE 4.4.x into any version of KDE greater than 4.4.x. >Fix: --- 2010-09-06-plasma-applet-yawp.diff begins here --- diff -ruN plasma-applet-yawp.orig/Makefile plasma-applet-yawp/Makefile --- plasma-applet-yawp.orig/Makefile 2010-09-06 04:21:37.000000000 -0400 +++ plasma-applet-yawp/Makefile 2010-09-06 05:16:33.000000000 -0400 @@ -7,6 +7,7 @@ PORTNAME= yawp PORTVERSION= 0.3.4 +PORTREVISION= 1 CATEGORIES= deskutils kde MASTER_SITES= SF PKGNAMEPREFIX= plasma-applet- @@ -27,5 +28,7 @@ post-patch: ${ECHO_CMD} >> ${WRKSRC}/applet/utils.h + ${REINPLACE_CMD} -e 's|KDE_VERSION_MINOR == 4|KDE_VERSION_MINOR >= 4|g' \ + `find ${WRKSRC} -name "*.h" -or -name "*.cpp"` .include --- 2010-09-06-plasma-applet-yawp.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: