ports/150320: [MAINTAINER] deskutils/plasma-applet-yawp: Unbreak with KDE 4.5.x
Jason E. Hale
bsdkaffee at gmail.com
Mon Sep 6 10:00:18 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list