Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2003 22:52:04 +0900 (JST)
From:      UMENO Takashi <umeno@rr.iij4u.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50641: can't compile avifile-0.7.34.20030319,2
Message-ID:  <200304061352.h36Dq4fD034967@belldandy.unnumbered.net>
Resent-Message-ID: <200304061400.h36E0U5a018951@freefall.freebsd.org>

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

>Number:         50641
>Category:       ports
>Synopsis:       can't compile avifile-0.7.34.20030319,2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 07:00:29 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     UMENO Takashi
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
personal
>Environment:
System: FreeBSD belldandy.unnumbered.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Apr 5 12:37:19 JST 2003 umeno@belldandy.unnumbered.net:/usr/obj/usr/src/sys/SAKUYA17 i386


	
>Description:
Can't compile drivers/libdha/irq.c and drivers/libdha/cpu_flush.c
>How-To-Repeat:
	N/A
>Fix:

	


diff -urN avifile.orig/files/patch-drivers::libdha::irq.c avifile/files/patch-drivers::libdha::irq.c
--- avifile.orig/files/patch-drivers::libdha::irq.c	Thu Jan  1 09:00:00 1970
+++ avifile/files/patch-drivers::libdha::irq.c	Sat Apr  5 20:07:37 2003
@@ -0,0 +1,10 @@
+--- drivers/libdha/irq.c.orig	Sat Apr  5 19:39:46 2003
++++ drivers/libdha/irq.c	Sat Apr  5 19:48:37 2003
+@@ -1,6 +1,7 @@
+ /* HW IRQ support */
+ #include <stdio.h>
+ #include <sys/ioctl.h>
++#include <sys/types.h>
+ #include <sys/mman.h> /* mlock */
+ #include <pthread.h>
+ #include <errno.h>
diff -urN avifile.orig/files/patch-drivers::libdha::libdha.h avifile/files/patch-drivers::libdha::libdha.h
--- avifile.orig/files/patch-drivers::libdha::libdha.h	Thu Jan  1 09:00:00 1970
+++ avifile/files/patch-drivers::libdha::libdha.h	Sat Apr  5 19:45:45 2003
@@ -0,0 +1,14 @@
+--- drivers/libdha/libdha.h.orig	Sat Apr  5 19:39:46 2003
++++ drivers/libdha/libdha.h	Sat Apr  5 19:44:20 2003
+@@ -16,7 +16,11 @@
+ #ifndef LIBDHA_H
+ #define LIBDHA_H
+ 
++#ifdef HAVE_STDINT_H
+ #include <stdint.h>
++#else
++#include <inttypes.h>	/* for int64_t */
++#endif
+ 
+ #ifdef __cplusplus
+ extern "C" {
>Release-Note:
>Audit-Trail:
>Unformatted:



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