Add a temporary patch to fix capstone header location.

This commit is contained in:
Richard W.M. Jones 2019-01-11 09:43:39 +00:00
parent 8433925433
commit e0155fb5be
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,27 @@
From 429451516fe80ccd83163e279a81b1440aa27781 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Fri, 11 Jan 2019 09:41:06 +0000
Subject: [PATCH] Temporary workaround: Fix location of capstone headers.
See:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/NTFMIAACL7ALBHUC3FZDSB3UMNR2SYJT/
---
include/disas/capstone.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/disas/capstone.h b/include/disas/capstone.h
index 84e214956d..2eb6be222b 100644
--- a/include/disas/capstone.h
+++ b/include/disas/capstone.h
@@ -3,7 +3,7 @@
#ifdef CONFIG_CAPSTONE
-#include <capstone.h>
+#include <capstone/capstone.h>
#else
--
2.19.1

View File

@ -154,6 +154,10 @@ Source21: 95-kvm-ppc64-memlock.conf
# Good ol' keymap 86 still messin with us # Good ol' keymap 86 still messin with us
Patch0: 0001-Remove-problematic-evdev-86-key-from-en-us-keymap.patch Patch0: 0001-Remove-problematic-evdev-86-key-from-en-us-keymap.patch
# Temporary workaround for capstone 4. See:
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/NTFMIAACL7ALBHUC3FZDSB3UMNR2SYJT/
Patch1: 0001-Temporary-workaround-Fix-location-of-capstone-header.patch
# documentation deps # documentation deps
@ -1637,6 +1641,7 @@ getent passwd qemu >/dev/null || \
%changelog %changelog
* Fri Jan 11 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-3 * Fri Jan 11 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-3
- Rebuild for unannounced libcapstone soname bump from 3 to 4. - Rebuild for unannounced libcapstone soname bump from 3 to 4.
- Add a temporary patch to fix capstone header location.
* Tue Dec 18 2018 Adam Williamson <awilliam@redhat.com> - 2:3.1.0-1.1 * Tue Dec 18 2018 Adam Williamson <awilliam@redhat.com> - 2:3.1.0-1.1
- Restore patch to drop phantom 86 key from en-us keymap (bz #1658676) - Restore patch to drop phantom 86 key from en-us keymap (bz #1658676)