summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-disas_libvixl_a64_disasm-a64.cc
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2016-01-01 17:54:08 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2016-01-01 17:54:08 +0000
commitee0adc18e9750d68b4666752e8746a9a98f5d8fe (patch)
treeae0c7bf01af45003e888e8a1eef41ca6eacd08fa /emulators/qemu-devel/files/patch-disas_libvixl_a64_disasm-a64.cc
parentRemove MASTER_SITE that no longer exists. (diff)
emulators/qemu-devel: Update version 2.4.0=>2.5.0
- Remove nox@ from MASTER_SITES (R.I.P. nox) - Take MAINTAINERSHIP - Add LICENSE (GPLv2) - Convert to OPTIONSNG - Fix patch files to be 'make makepatch' compatible - Fix Multiple Security Vulnerabilities [1] PR: 203112 [1] Submitted by: venture37@geeklan.co.uk [1] Security: CVE-2015-5165 [1] CVE-2015-5745 [1] CVE-2015-5154 [1] CVE-2015-5225 [1] Differential Revision: https://reviews.freebsd.org/D3691
Diffstat (limited to 'emulators/qemu-devel/files/patch-disas_libvixl_a64_disasm-a64.cc')
-rw-r--r--emulators/qemu-devel/files/patch-disas_libvixl_a64_disasm-a64.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-disas_libvixl_a64_disasm-a64.cc b/emulators/qemu-devel/files/patch-disas_libvixl_a64_disasm-a64.cc
new file mode 100644
index 000000000000..3544f6d34501
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-disas_libvixl_a64_disasm-a64.cc
@@ -0,0 +1,11 @@
+--- disas/libvixl/a64/disasm-a64.cc.orig 2015-11-03 20:01:31 UTC
++++ disas/libvixl/a64/disasm-a64.cc
+@@ -1362,7 +1362,7 @@ void Disassembler::AppendPCRelativeOffse
+ int64_t offset) {
+ USE(instr);
+ char sign = (offset < 0) ? '-' : '+';
+- AppendToOutput("#%c0x%" PRIx64, sign, std::abs(offset));
++ AppendToOutput("#%c0x%" PRIx64, sign, offset < 0 ? -offset : offset);
+ }
+
+