Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 13:59:31 +0100 (CET)
From:      Martin Kaeske <Martin.Kaeske@Stud.TU-Ilmenau.DE>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nobutaka@FreeBSD.org
Subject:   ports/63168: [PATCH] multimedia/xine (0.9.23_1) does not build 
Message-ID:  <20040221125931.05D50256268@fourier.hh59.local>
Resent-Message-ID: <200402211300.i1LD0je7079678@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63168
>Category:       ports
>Synopsis:       [PATCH] multimedia/xine (0.9.23_1) does not build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 21 05:00:45 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040221125931.05D50256268>