From Martin.Kaeske@Stud.TU-Ilmenau.DE  Sat Feb 21 04:59:38 2004
Return-Path: <Martin.Kaeske@Stud.TU-Ilmenau.DE>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 215F316A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Feb 2004 04:59:38 -0800 (PST)
Received: from piggy.rz.tu-ilmenau.de (piggy.rz.tu-ilmenau.de [141.24.4.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8750543D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Feb 2004 04:59:37 -0800 (PST)
	(envelope-from Martin.Kaeske@Stud.TU-Ilmenau.DE)
Received: from walnut.hh59.local (td9091c38.adsl.terralink.de [217.9.28.56])
	(authenticated bits=0)
	by piggy.rz.tu-ilmenau.de (8.12.10/8.12.10) with ESMTP id i1LCxXGM026343
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Sat, 21 Feb 2004 13:59:34 +0100 (MET)
Received: from fourier.hh59.local (fourier [192.168.2.41])
	by walnut.hh59.local (8.12.8/8.12.8) with ESMTP id i1LD0c8B063025;
	Sat, 21 Feb 2004 14:00:39 +0100 (CET)
	(envelope-from martin@fourier.hh59.local)
Received: by fourier.hh59.local (Postfix, from userid 1001)
	id 05D50256268; Sat, 21 Feb 2004 13:59:31 +0100 (CET)
Message-Id: <20040221125931.05D50256268@fourier.hh59.local>
Date: Sat, 21 Feb 2004 13:59:31 +0100 (CET)
From: Martin Kaeske <Martin.Kaeske@Stud.TU-Ilmenau.DE>
Reply-To: Martin Kaeske <Martin.Kaeske@Stud.TU-Ilmenau.DE>
To: FreeBSD-gnats-submit@freebsd.org
Cc: nobutaka@freebsd.org
Subject: [PATCH] multimedia/xine (0.9.23_1) does not build 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63168
>Category:       ports
>Synopsis:       [PATCH] multimedia/xine (0.9.23_1) does not build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    nobutaka
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 21 05:00:45 PST 2004
>Closed-Date:    Sun Feb 22 06:16:09 PST 2004
>Last-Modified:  Sun Feb 22 06:16:09 PST 2004
>Originator:     Martin Kaeske
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD fourier.hh59.local 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Feb 13 16:08:25 CET 2004 martin@fourier.hh59.local:/usr/obj/usr/src/sys/FOURIER i386


	
>Description:
	xine does not build if version 7.11.0 of curl is installed. It
	complains about TRUE/FALSE not being defined when compiling
	src/xitk/download.c. The reason for this is that curl doesn't define
	TRUE/FALSE in curl.h anymore. On 14.02.2004 there was a patch committed
	to the xine source. I think we should add this one.
>How-To-Repeat:
	cd /usr/ports/multimedia/xine
	make install clean
>Fix:
	copy the following file (patch-src:xitk:download.c) to
	multimedia/xine/files and issue 'make install clean' again

--- patch-src:xitk:download.c begins here ---
--- src/xitk/download.c.orig	Sat Feb 21 13:38:19 2004
+++ src/xitk/download.c	Sat Feb 21 13:39:43 2004
@@ -39,6 +39,14 @@
 extern gGui_t   *gGui;
 
 #ifdef HAVE_CURL
+
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+
 static int progress_callback(void *userdata, 
 			     double dltotal, double dlnow, double ultotal, double ulnow) {
   download_t  *download = (download_t *) userdata;
--- patch-src:xitk:download.c ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nobutaka 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Sat Feb 21 08:52:59 PST 2004 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63168 
State-Changed-From-To: open->closed 
State-Changed-By: nobutaka 
State-Changed-When: Sun Feb 22 06:15:42 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63168 
>Unformatted:
