ports/62387: (fix) port multimedia/libxine does not compile on alpha.

Klaus Robert Suetterlin krs at robert2.mpe-garching.mpg.de
Thu Feb 5 13:40:13 UTC 2004


>Number:         62387
>Category:       ports
>Synopsis:       (fix) port multimedia/libxine does not compile on alpha.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 05 05:40:04 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Klaus Robert Suetterlin
>Release:        FreeBSD 5.2-CURRENT alpha
>Organization:
>Environment:
System: FreeBSD robert2.mpe-garching.mpg.de 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Mon Feb 2 15:03:03 CET 2004 krs at robert2.mpe-garching.mpg.de:/usr/obj/usr/src/sys/ROBERT2 alpha


	
>Description:
	``port ports/multimedia/libxine/Makefile,v 1.55 2004/02/04 04:36:17''
	does not compile.  gcc stops in src/video_out/video_out_xv.c
	because u_int64_t is not defined in <machine/param.h>.

>How-To-Repeat:
	Happens every time.

>Fix:
	move the #include <sys/types.h> in front of the
	#if defined(__FreeBSD__) block which contains the
	#include <machine/param.h>.

	This could be done in ``files/patch-src:video_out:video_out_xv.c'':

--- src/video_out/video_out_xv.c.orig   Sun Dec 14 23:13:26 2003
+++ src/video_out/video_out_xv.c        Thu Feb  5 14:27:10 2004
@@ -47,13 +47,17 @@
 #if defined (__SVR4) && defined (__sun)
 # include <sys/int_types.h>
 #else
-# include <stdint.h>
+# if defined(HAVE_STDINT_H)
+#  include <stdint.h>
+# else
+#  include <inttypes.h>
+# endif
 #endif
 
+#include <sys/types.h>
 #if defined(__FreeBSD__)
 #include <machine/param.h>
 #endif
-#include <sys/types.h>
 #include <sys/ipc.h>
 #include <sys/shm.h>
 #include <sys/time.h>

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list