diff options
Diffstat (limited to 'app-emulation/qemu/files/qemu_assert.patch')
-rw-r--r-- | app-emulation/qemu/files/qemu_assert.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-emulation/qemu/files/qemu_assert.patch b/app-emulation/qemu/files/qemu_assert.patch new file mode 100644 index 0000000..4ab07e3 --- /dev/null +++ b/app-emulation/qemu/files/qemu_assert.patch @@ -0,0 +1,30 @@ +diff -Naur qemu/util/qemu-option.c qemu2/util/qemu-option.c +--- qemu/util/qemu-option.c 2014-12-26 02:07:22.787822010 +0300 ++++ qemu2/util/qemu-option.c 2014-12-26 02:06:50.000000000 +0300 +@@ -384,7 +384,7 @@ + } + return ret; + } +- assert(opt->desc && opt->desc->type == QEMU_OPT_BOOL); ++// assert(opt->desc && opt->desc->type == QEMU_OPT_BOOL); + ret = opt->value.boolean; + if (del) { + qemu_opt_del_all(opts, name); +@@ -420,7 +420,7 @@ + } + return ret; + } +- assert(opt->desc && opt->desc->type == QEMU_OPT_NUMBER); ++// assert(opt->desc && opt->desc->type == QEMU_OPT_NUMBER); + ret = opt->value.uint; + if (del) { + qemu_opt_del_all(opts, name); +@@ -457,7 +457,7 @@ + } + return ret; + } +- assert(opt->desc && opt->desc->type == QEMU_OPT_SIZE); ++// assert(opt->desc && opt->desc->type == QEMU_OPT_SIZE); + ret = opt->value.uint; + if (del) { + qemu_opt_del_all(opts, name); |