Date: Thu, 31 Aug 2006 19:53:40 +0200 (CEST) From: Marcus von Appen <mva@sysfault.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/102730: [Patch]: unbreak x11-fm/emelfm2 on systems < RELENG_6_0 Message-ID: <200608311753.k7VHrecn038367@medusa.sysfault.org> Resent-Message-ID: <200608311800.k7VI0S8K007553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102730 >Category: ports >Synopsis: [Patch]: unbreak x11-fm/emelfm2 on systems < RELENG_6_0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 31 18:00:27 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Marcus von Appen >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD medusa.sysfault.org 6.1-STABLE FreeBSD 6.1-STABLE #12: Tue Aug 29 19:10:11 CEST 2006 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA i386 >Description: emelFM2 0.2 does not compile on systems using FreeBSD < RELENG_6_0. My last emelfm2 pr broke it on systems which do not define blksize_t. The attached fix should unbreak it. >How-To-Repeat: See pointyhat or try to build it on a system < RELENG_6. >Fix: diff -Nur emelfm2/Makefile emelfm2.new/Makefile --- emelfm2/Makefile Thu Aug 31 19:13:58 2006 +++ emelfm2.new/Makefile Thu Aug 31 19:31:02 2006 @@ -39,4 +39,10 @@ USE_GCC= 3.4 .endif +.if ${OSVERSION} < 600000 +post-patch: + @${REINPLACE_CMD} -e 's|blksize_t buf_size =|__int32_t buf_size =|g' \ + ${WRKSRC}/src/e2_task_backend.c +.endif + .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608311753.k7VHrecn038367>