From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 29 22:20:18 2008 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C521B1065670; Fri, 29 Feb 2008 22:20:18 +0000 (UTC) (envelope-from fbsd.multimedia@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE558FC20; Fri, 29 Feb 2008 22:20:12 +0000 (UTC) (envelope-from fbsd.multimedia@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 2E0461CCD5; Fri, 29 Feb 2008 13:04:52 -0900 (AKST) From: Mel To: freebsd-multimedia@freebsd.org Date: Fri, 29 Feb 2008 23:04:48 +0100 User-Agent: KMail/1.9.7 References: <1204316034.10565.9.camel@ikaros.oook.cz> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802292304.49093.fbsd.multimedia@rachie.is-a-geek.net> Cc: pav@freebsd.org, multimedia@freebsd.org Subject: Re: [Fwd: libcaca-0.99.b13 failed on amd64 7] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 22:20:19 -0000 On Friday 29 February 2008 21:49:10 Jeremy Messenger wrote: > On Fri, 29 Feb 2008 14:13:54 -0600, Pav Lucistnik wrote: > > > CCing to the multimedia@ for help on amd64. I personal don't have amd64 > and I can't reproduce it on i386/RELENG_7. > > Cheers, > Mezz > >> mygetopt.c:29: error: conflicting types for 'uintptr_t' > >> /usr/include/stdint.h:102: error: previous declaration of 'uintptr_t' > >> was here > >> mygetopt.c: In function 'mygetopt': > >> mygetopt.c:46: warning: cast from pointer to integer of different size > >> mygetopt.c:46: warning: cast to pointer from integer of different size > >> *** Error code 1 > >> > >> Stop in /work/a/ports/graphics/libcaca/work/libcaca-0.99.beta13/src. > >> *** Error code 1 > >> > >> Stop in /work/a/ports/graphics/libcaca/work/libcaca-0.99.beta13. > >> *** Error code 1 > >> > >> Stop in /work/a/ports/graphics/libcaca/work/libcaca-0.99.beta13. > >> *** Error code 1 > >> > >> Stop in /a/ports/graphics/libcaca. > >> ================================================================ > >> build of /usr/ports/graphics/libcaca ended at Fri Feb 29 03:08:53 UTC > >> 2008 Looking at the source, this should be easy to fix: $ diff -u mygetopt.c.bak mygetopt.c --- mygetopt.c.bak 2007-11-07 01:55:48.000000000 +0100 +++ mygetopt.c 2008-02-29 23:02:49.000000000 +0100 @@ -25,7 +25,7 @@ #endif /* DOS / Kernel driver */ -#ifndef __intptr_t_defined +#if !defined( __intptr_t_defined ) && !defined(_INTPTR_T_DECLARED) typedef unsigned int uintptr_t; #endif -- Mel