ports/63168: [PATCH] multimedia/xine (0.9.23_1) does not build

Martin Kaeske Martin.Kaeske at Stud.TU-Ilmenau.DE
Sat Feb 21 13:00:48 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list