From owner-freebsd-ports@FreeBSD.ORG Sat Feb 21 12:17:11 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 ABC2216A4CE for ; Sat, 21 Feb 2004 12:17:11 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7340843D1D for ; Sat, 21 Feb 2004 12:17:11 -0800 (PST) (envelope-from shadowcrest@comcast.net) Received: from comcast.net (c-24-126-33-167.we.client2.attbi.com[24.126.33.167]) by comcast.net (sccrmhc12) with ESMTP id <2004022120171001200f3j0ce> (Authid: daviskacer); Sat, 21 Feb 2004 20:17:10 +0000 Message-ID: <4037BCB6.8080606@comcast.net> Date: Sat, 21 Feb 2004 12:16:54 -0800 From: Keith Davis User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Xine fails to compile 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: Sat, 21 Feb 2004 20:17:11 -0000 if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../readline -I../../readline -I../../src -I../../src -I../../src/common -I../../src/common -I../../src/xitk/xine-toolkit -I../../src/xitk/xine-toolkit -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_THREAD_SAFE -I/usr/local/include -I../../src/xitk/xine-toolkit -DNDEBUG -Wall -D_FILE_OFFSET_BITS=64 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -D_REENTRANT -D_THREAD_SAFE -O -pipe -MT download.o -MD -MP -MF ".deps/download.Tpo" -c -o download.o `test -f 'download.c' || echo './'`download.c; then mv -f ".deps/download.Tpo" ".deps/download.Po"; else rm -f ".deps/download.Tpo"; exit 1; fi download.c: In function `network_download': download.c:103: `FALSE' undeclared (first use in this function) download.c:103: (Each undeclared identifier is reported only once download.c:103: for each function it appears in.) download.c:108: `TRUE' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/multimedia/xine/work/xine-ui-0.9.23/src/xitk. *** Error code 1 Stop in /usr/ports/multimedia/xine/work/xine-ui-0.9.23/src/xitk. Here's a patch --- /root/download.c Sat Feb 21 12:10:33 2004 +++ download.c Sat Feb 21 12:13:00 2004 @@ -34,6 +34,14 @@ #include #endif +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + #include "common.h" extern gGui_t *gGui; ~ ~