From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 27 23:04:27 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1545116D022 for ; Sat, 27 May 2006 22:50:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 403C843D53 for ; Sat, 27 May 2006 22:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4RMoGsM071095 for ; Sat, 27 May 2006 22:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4RMoFjM071094; Sat, 27 May 2006 22:50:15 GMT (envelope-from gnats) Resent-Date: Sat, 27 May 2006 22:50:15 GMT Resent-Message-Id: <200605272250.k4RMoFjM071094@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, Michael Hohmuth Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63BC716CF08 for ; Sat, 27 May 2006 22:29:42 +0000 (UTC) (envelope-from SRS0=Nrd+=7P=os.inf.tu-dresden.de=hohmuth@srs.kundenserver.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD1CF43D76 for ; Sat, 27 May 2006 22:29:36 +0000 (GMT) (envelope-from SRS0=Nrd+=7P=os.inf.tu-dresden.de=hohmuth@srs.kundenserver.de) Received: from [217.186.130.186] (helo=olymp.sax.de) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2Dk-1Fk7Hq2ahQ-0000gI; Sun, 28 May 2006 00:29:35 +0200 Received: from olymp.sax.de (localhost [127.0.0.1]) by olymp.sax.de (8.12.9/8.13.6) with ESMTP id k4RMYjKe005717 for ; Sun, 28 May 2006 00:34:45 +0200 (CEST) (envelope-from hohmuth@olymp.sax.de) Received: (from hohmuth@localhost) by olymp.sax.de (8.12.9/8.13.6/Submit) id k4RMYiAO005716; Sun, 28 May 2006 00:34:44 +0200 (CEST) (envelope-from hohmuth) Message-Id: <200605272234.k4RMYiAO005716@olymp.sax.de> Date: Sun, 28 May 2006 00:34:44 +0200 (CEST) From: Michael Hohmuth To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/98037: mpgtx compiled without largefile support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Hohmuth List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 23:04:39 -0000 >Number: 98037 >Category: ports >Synopsis: mpgtx compiled without largefile support >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 27 22:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Michael Hohmuth >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD olymp.sax.de 4.11-STABLE FreeBSD 4.11-STABLE #31: Mon Apr 17 15:49:37 CEST 2006 root@olymp.sax.de:/usr/obj/usr/src/sys/OLYMP i386 >Description: Due to errors in the configuration script and a header file, mpgtx is compiled without largefile support on FreeBSD even though the configure script correctly figures out that largefile support is available on the system. The result is that file offsets are miscalculated and that mpgtx does not cope with files larger than 4 GB. >How-To-Repeat: % mpgtx -j -o /dev/null /dos/rasenmmp.new "[101670912-622598144]" Invalid range [101670912-622598144] : start greater than stop >Fix: Apply the following patch: diff -ur work/mpgtx-1.3.1/common.hh work.hohmuth/mpgtx-1.3.1/common.hh --- work/mpgtx-1.3.1/common.hh Fri Dec 31 11:48:30 2004 +++ work.hohmuth/mpgtx-1.3.1/common.hh Sat May 27 23:22:35 2006 @@ -208,7 +208,7 @@ //@{ #ifdef _LARGEFILE_SOURCE -#ifdef _MACOSX +#if defined (_MACOSX) || defined (__FreeBSD__) #define _OFF_d "%qd" #define _OFF_x "%qx" #else diff -ur work/mpgtx-1.3.1/configure work.hohmuth/mpgtx-1.3.1/configure --- work/mpgtx-1.3.1/configure Sat May 27 23:27:43 2006 +++ work.hohmuth/mpgtx-1.3.1/configure Sat May 27 23:22:35 2006 @@ -207,7 +207,7 @@ if test $devel = "no" -a $debug = "no"; then lflags="$lflags -s"; -cflags="-O -pipe "; +cflags+="-O -pipe "; fi >Release-Note: >Audit-Trail: >Unformatted: