Date: Tue, 13 Sep 2005 19:13:52 +0400 From: Andrej Zverev <az@inec.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/86074: [unbreak] comms/klog fix build on 5.x Message-ID: <E1EFCTo-000NNN-M9@az.inec.ru> Resent-Message-ID: <200509131520.j8DFKDoQ050006@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86074 >Category: ports >Synopsis: [unbreak] comms/klog fix build on 5.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Sep 13 15:20:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrej Zverev >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386 >Description: 1. unbreak port by making happy compiler. Where is also new version avalible, i can update, but can't check if it will work, so waiting force maintainer decision. >How-To-Repeat: >Fix: --- klog.diff begins here --- diff -Nru klog.orig/Makefile klog/Makefile --- klog.orig/Makefile Sat Mar 12 13:52:39 2005 +++ klog/Makefile Tue Sep 13 19:02:42 2005 @@ -15,12 +15,15 @@ GNU_CONFIGURE= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_KDELIBS_VER=3 .include <bsd.port.pre.mk> .if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" +post-patch: + @${FIND} ${WRKSRC} -name "*.cpp" -and -not -name "main.cpp"| \ + ${XARGS} ${REINPLACE_CMD} -e "s|^};|}|;s|{};|{}|;s|;};|;}|g" .endif .include <bsd.port.post.mk> --- klog.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?E1EFCTo-000NNN-M9>