1 |
commit: 48dc0173191a6bdea35ada3682f5426511ccd654 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 23 00:41:00 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 23 00:41:00 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48dc0173 |
7 |
|
8 |
app-emulation/qemu: update cflags patch #565866 |
9 |
|
10 |
app-emulation/qemu/files/qemu-2.5.0-cflags.patch | 13 +++++++++++++ |
11 |
app-emulation/qemu/qemu-9999.ebuild | 2 +- |
12 |
2 files changed, 14 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/app-emulation/qemu/files/qemu-2.5.0-cflags.patch b/app-emulation/qemu/files/qemu-2.5.0-cflags.patch |
15 |
new file mode 100644 |
16 |
index 0000000..173394f |
17 |
--- /dev/null |
18 |
+++ b/app-emulation/qemu/files/qemu-2.5.0-cflags.patch |
19 |
@@ -0,0 +1,13 @@ |
20 |
+--- a/configure |
21 |
++++ b/configure |
22 |
+@@ -4468,10 +4468,6 @@ fi |
23 |
+ if test "$gcov" = "yes" ; then |
24 |
+ CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS" |
25 |
+ LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS" |
26 |
+-elif test "$fortify_source" = "yes" ; then |
27 |
+- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS" |
28 |
+-elif test "$debug" = "no"; then |
29 |
+- CFLAGS="-O2 $CFLAGS" |
30 |
+ fi |
31 |
+ |
32 |
+ ########################################## |
33 |
|
34 |
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild |
35 |
index 3123715..aa8b852 100644 |
36 |
--- a/app-emulation/qemu/qemu-9999.ebuild |
37 |
+++ b/app-emulation/qemu/qemu-9999.ebuild |
38 |
@@ -306,7 +306,7 @@ src_prepare() { |
39 |
# Cheap hack to disable gettext .mo generation. |
40 |
use nls || rm -f po/*.po |
41 |
|
42 |
- epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch |
43 |
+ epatch "${FILESDIR}"/qemu-2.5.0-cflags.patch |
44 |
[[ -n ${BACKPORTS} ]] && \ |
45 |
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ |
46 |
epatch |