diff options
author | adam <adam@pkgsrc.org> | 2012-09-13 14:38:19 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-09-13 14:38:19 +0000 |
commit | 3853ca6621116c4ced18f7afc317b5640fc82cac (patch) | |
tree | d6cb95f26331f2c87d1ab3bd66e18841bfd5999c /emulators/qemu/patches | |
parent | d8c5f9de53823f7061870b6b52fb840b6bfa4a40 (diff) | |
download | pkgsrc-3853ca6621116c4ced18f7afc317b5640fc82cac.tar.gz |
Fixed building on Darwin; fixed building with Clang; fixed some pkglint issues
Diffstat (limited to 'emulators/qemu/patches')
-rw-r--r-- | emulators/qemu/patches/patch-dyngen-exec.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/qemu/patches/patch-dyngen-exec.h b/emulators/qemu/patches/patch-dyngen-exec.h new file mode 100644 index 00000000000..734cc82a544 --- /dev/null +++ b/emulators/qemu/patches/patch-dyngen-exec.h @@ -0,0 +1,15 @@ +$NetBSD: patch-dyngen-exec.h,v 1.1 2012/09/13 14:38:19 adam Exp $ + +Register variables can't be global. + +--- dyngen-exec.h.orig 2012-09-13 12:10:52.000000000 +0000 ++++ dyngen-exec.h +@@ -61,7 +61,7 @@ + #endif + + #if defined(AREG0) +-register CPUArchState *env asm(AREG0); ++CPUArchState *env asm(AREG0); + #else + /* TODO: Try env = cpu_single_env. */ + extern CPUArchState *env; |