From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 5 18:10:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE410307 for ; Wed, 5 Dec 2012 18:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7F74A8FC12 for ; Wed, 5 Dec 2012 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB5IA0pn033261 for ; Wed, 5 Dec 2012 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qB5IA0tV033260; Wed, 5 Dec 2012 18:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 5 Dec 2012 18:10:00 GMT Resent-Message-Id: <201212051810.qB5IA0tV033260@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38C0E1FF for ; Wed, 5 Dec 2012 18:01:13 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa101lp.auone-net.jp (msa101lp.auone-net.jp [222.3.140.164]) by mx1.freebsd.org (Postfix) with ESMTP id 07FB08FC08 for ; Wed, 5 Dec 2012 18:01:13 +0000 (UTC) Received: from localhost.localdomain (ZT034046.ppp.dion.ne.jp [59.128.34.46]) by msa101lp.auone-net.jp (au one net msa) with ESMTP id 92C5334034 for ; Thu, 6 Dec 2012 03:01:11 +0900 (JST) Message-Id: <20121206023121.fa79483474ee9accc1d44166@yahoo.com> Date: Thu, 6 Dec 2012 02:31:21 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/174156: deskutils/cdcat: Fix build on 7-stable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 18:10:00 -0000 X-List-Received-Date: Wed, 05 Dec 2012 18:10:00 -0000 X-List-Received-Date: Wed, 05 Dec 2012 18:10:00 -0000 >Number: 174156 >Category: ports >Synopsis: deskutils/cdcat: Fix build on 7-stable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 05 18:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p11 i386 >Organization: >Environment: >Description: - Fix build on 7-stable >How-To-Repeat: >Fix: diff -urN /usr/ports/deskutils/cdcat/Makefile deskutils/cdcat/Makefile --- /usr/ports/deskutils/cdcat/Makefile 2012-12-01 17:12:39.000000000 +0900 +++ deskutils/cdcat/Makefile 2012-12-02 05:29:05.000000000 +0900 @@ -68,10 +68,6 @@ P7Z_WRKSRC= $$(cd ${PORTSDIR}/archivers/p7zip && ${MAKE} -V WRKSRC) MIF_WRKSRC= $$(cd ${PORTSDIR}/multimedia/mediainfo && ${MAKE} -V WRKSRC) -.if ${OSVERSION} < 800000 -BROKEN= does not build on 7.X -.endif - post-extract: @${GZCAT} ${DISTDIR}/${L7Z_DISTFILE} | (cd ${WRKDIR} && ${TAR} -xf -) @${LN} -sf ${L7Z_NAME}-${L7Z_VERSION} ${L7Z_WRKSRC} @@ -83,6 +79,11 @@ 's|/dev/sr0|/dev/cd0|' ${BUILD_WRKSRC}/config.cpp @${REINPLACE_CMD} -e \ 's|-ldl||' ${L7Z_WRKSRC}/Test7Zip/Makefile.in +.if ${OSVERSION} < 800501 + @${REINPLACE_CMD} -e \ + 's|const struct dirent|struct dirent|' \ + ${L7Z_WRKSRC}/Lib7Zip/OSFunctions_UnixLike.cpp +.endif pre-configure: @cd ${L7Z_WRKSRC} && ./configure --disable-shared \ >Release-Note: >Audit-Trail: >Unformatted: