ports/emulators/qemu-devel/files/patch-za-bsd-user-8fix
Juergen Lock 80750a345d - Update to sson's latest bsd-user patches.
- Turns out qemu 1.4.x now builds with clang (almost) as is, so remove
  CLANG_HACK. [1]
- Add workaround for clang/i386 that doesn't define bit_CMOV in <cpuid.h>.

Submitted by:	Brad Smith <brad@comstyle.com> [1]
2013-04-25 19:34:20 +00:00

13 lines
282 B
Plaintext

--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -106,7 +106,9 @@ static char *get_filename_from_fd(pid_t
#ifdef __FreeBSD__
#include <sys/queue.h>
#include <sys/user.h>
+#if defined(__FreeBSD_version) && __FreeBSD_version > 900000
#include <libprocstat.h>
+#endif
/*