Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 13:06:30 +0200 (CEST)
From:      Marcus von Appen <mva@sysfault.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kris@obsecurity.org, miwi@FreeBSD.org
Subject:   ports/113321: [Maintainer-update]: x11-fm/emelfm2 RELENG_5 fix
Message-ID:  <200706041106.l54B6U16080984@medusa.sysfault.org>
Resent-Message-ID: <200706041110.l54BA7LO038309@freefall.freebsd.org>

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

>Number:         113321
>Category:       ports
>Synopsis:       [Maintainer-update]: x11-fm/emelfm2 RELENG_5 fix
>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 Jun 04 11:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Marcus von Appen
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD medusa.sysfault.org 6.2-STABLE FreeBSD 6.2-STABLE #1: Sat Apr 7 22:24:16 CEST 2007 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA i386


	
>Description:
	As reported via pointyhat, the build of emelfm2 breaks due to
        an undefined blksize_t type, which is not available on RELENG_5
        platforms. The attached patch should fix this.

        Note: The main website of emelfm2 is currently not available,
        so you might have to get the emelfm2-0.3.4.tar.gz package from
        somewhere else or wait until the website is online again :-/.

        I'm not sure, whether the PORTREVISION bump is necessary in this
        case, so you might remove it, if you do not think, it makes
        sense here.
 
>How-To-Repeat:
	Try to compile emelfm2 on RELENG_5.
>Fix:

diff -Nur emelfm2/Makefile emelfm2.new/Makefile
--- emelfm2/Makefile	Sun May 27 21:49:38 2007
+++ emelfm2.new/Makefile	Mon Jun  4 12:39:58 2007
@@ -6,6 +6,7 @@
 #
 
 PORTNAME=	emelfm2
+PORTREVISION=	1
 PORTVERSION=	0.3.4
 CATEGORIES=	x11-fm
 MASTER_SITES=	http://www.emelfm2.net/rel/ \
@@ -85,8 +86,8 @@
 
 .if ${OSVERSION} < 600000
 post-patch:
-	@${REINPLACE_CMD} -e 's|blksize_t buf_size =|__int32_t buf_size =|g' \
-		${WRKSRC}/src/e2_task_backend.c
+        @${REINPLACE_CMD} -e 's|blksize_t buf_size =|__int32_t buf_size =|g' \
+                ${WRKSRC}/src/filesystem/e2_fs.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?200706041106.l54B6U16080984>