From owner-freebsd-ports@FreeBSD.ORG Mon Nov 15 20:28:40 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2566416A4CE for ; Mon, 15 Nov 2004 20:28:40 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id F116943D55 for ; Mon, 15 Nov 2004 20:28:39 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id B507DF18DB for ; Mon, 15 Nov 2004 12:28:39 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02087-02 for ; Mon, 15 Nov 2004 12:28:38 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 0A12CF182A for ; Mon, 15 Nov 2004 12:28:37 -0800 (PST) From: Sean McNeil To: ports@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-v4uX+OLUVT7teGy3CXQn" Date: Mon, 15 Nov 2004 12:28:37 -0800 Message-Id: <1100550517.3074.2.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at mcneil.com Subject: mpeg4ip broken for 64-bit machines X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 20:28:40 -0000 --=-v4uX+OLUVT7teGy3CXQn Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've sent a patch to lioux@freebsd.org, but either it failed to get there or was lost in a storm of emails. For anyone out there that cannot build mpeg4ip on systems that sizeof(int) !=3D sizeof(long), this is what you need: --- ./lib/sdp/sdp_decode.c.orig Thu Nov 11 00:11:15 2004 +++ ./lib/sdp/sdp_decode.c Thu Nov 11 00:11:25 2004 @@ -378,7 +378,7 @@ q =3D NULL; while (p !=3D NULL) { if (new->adj_time =3D=3D p->adj_time) { - sdp_debug(LOG_NOTICE, "Duplicate time %d in adj description", p->adj_time); + sdp_debug(LOG_NOTICE, "Duplicate time %ld in adj description", p->adj_time); free(new); return (start); } @@ -1580,7 +1580,7 @@ continue; } // process - adjust it from NTP to unix time - sscanf(sep, "%d", &adj_time); + sscanf(sep, "%ld", &adj_time); =20 // Check for negative sign for offset. ADV_SPACE(lptr); --=-v4uX+OLUVT7teGy3CXQn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBmRF1yQsGN30uGE4RAom1AJ0ZcAiiAQwG8tyTX2+GhBbtNhWzPgCfRG/j Ri4fiy72YWcppXr7n/NI3mk= =iVAo -----END PGP SIGNATURE----- --=-v4uX+OLUVT7teGy3CXQn--