Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2006 19:00:16 +0200 (CEST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95887: fix emulators/qemu build on 4
Message-ID:  <200604161700.k3GH0GJ0003627@saturn.kn-bremen.de>
Resent-Message-ID: <200604161710.k3GHAEtD077346@freefall.freebsd.org>

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

>Number:         95887
>Category:       ports
>Synopsis:       fix emulators/qemu build on 4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 16 17:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
me?  organized??
>Environment:
System: FreeBSD saturn 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Fri Mar 17 04:37:54 CET 2006 nox@saturn:/usr/obj/usr/home/nox/src-r5/src/sys/NEPTUNu i386


>Description:
	Fix build on 4
>How-To-Repeat:
	Try to build port on 4
>Fix:

New file: files/patch-target-mips-cpu.h

Index: files/patch-target-mips-cpu.h
@@ -0,0 +1,15 @@
+Index: qemu/target-mips/cpu.h
+@@ -8,6 +8,13 @@
+ #include "config.h"
+ #include "softfloat.h"
+ 
++#ifdef __FreeBSD__
++#if __FreeBSD__ <= 4
++typedef uint32_t uint_fast8_t;
++typedef uint32_t uint_fast16_t;
++#endif
++#endif
++
+ typedef union fpr_t fpr_t;
+ union fpr_t {
+     double d;
>Release-Note:
>Audit-Trail:
>Unformatted:



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