summaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-fbsd
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-29 09:15:50 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-29 09:15:50 +0000
commitfef8509c793f45b217fb28f1c0af2b373a8ff4af (patch)
treef58aff4c2934fb97beac783b9dd64ade30065361 /emulators/qemu/files/patch-fbsd
parentAdd an additional mirror. (diff)
- Update to 2006-04-26 snapshot
PR: ports/96426 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Notes
Notes: svn path=/head/; revision=160721
Diffstat (limited to 'emulators/qemu/files/patch-fbsd')
-rw-r--r--emulators/qemu/files/patch-fbsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/qemu/files/patch-fbsd b/emulators/qemu/files/patch-fbsd
index a8667ae165e5..8a7823279624 100644
--- a/emulators/qemu/files/patch-fbsd
+++ b/emulators/qemu/files/patch-fbsd
@@ -59,8 +59,8 @@ Index: qemu/fpu/softfloat-native.c
-#if defined(_BSD)
+#if defined(_BSD) && !defined(__FreeBSD__)
- #define lrint(d) ((int32_t)rint(d))
- #define llrint(d) ((int64_t)rint(d))
+ #define lrint(d) ((long)rint(d))
+ #define llrint(d) ((long long)rint(d))
#endif
Index: qemu/fpu/softfloat-native.h
@@ -1,7 +1,17 @@