Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Sep 2010 02:50:49 -0700 (PDT)
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150320: [MAINTAINER] deskutils/plasma-applet-yawp: Unbreak with KDE 4.5.x
Message-ID:  <4c84b979.8175e50a.186e.ffff952c@mx.google.com>
Resent-Message-ID: <201009061000.o86A0I4e036089@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
--- 2010-09-06-plasma-applet-yawp.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c84b979.8175e50a.186e.ffff952c>