pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: Patch out silly insistence on bei...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c81333894c7e
branches: trunk
changeset: 458133:c81333894c7e
user: nia <nia%pkgsrc.org@localhost>
date: Fri Sep 10 13:10:58 2021 +0000
description:
qemu: Patch out silly insistence on being compiled with GCC 7.5.0
diffstat:
emulators/qemu/Makefile | 5 ++++-
emulators/qemu/patches/patch-configure | 21 +++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r e71cc4ee0da8 -r c81333894c7e emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Fri Sep 10 12:47:46 2021 +0000
+++ b/emulators/qemu/Makefile Fri Sep 10 13:10:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.286 2021/09/08 21:05:01 nia Exp $
+# $NetBSD: Makefile,v 1.287 2021/09/10 13:10:58 nia Exp $
DISTNAME= qemu-6.1.0
PKGNAME= ${DISTNAME:S/-rc/rc/}
@@ -20,6 +20,9 @@
UNLIMIT_RESOURCES= datasize
HAS_CONFIGURE= yes
+# https://github.com/qemu/qemu/commit/56208a0d473c6db263cc333c787ca48b502d72ab
+GCC_REQD+= 7
+
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme>=0.4.3:../../textproc/py-sphinx-rtd-theme
diff -r e71cc4ee0da8 -r c81333894c7e emulators/qemu/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/qemu/patches/patch-configure Fri Sep 10 13:10:58 2021 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-configure,v 1.34 2021/09/10 13:10:58 nia Exp $
+
+Allow the compiler from NetBSD 9.0.
+
+Requiring a minor version of GCC makes no sense, and indeed,
+the requirement seems to be 7.5.0 because "Ubuntu has that
+version"...
+
+https://github.com/qemu/qemu/commit/56208a0d473c6db263cc333c787ca48b502d72ab
+
+--- configure.orig 2021-08-24 17:35:40.000000000 +0000
++++ configure
+@@ -2099,7 +2099,7 @@ cat > $TMPC << EOF
+ # endif
+ # endif
+ #elif defined(__GNUC__) && defined(__GNUC_MINOR__)
+-# if __GNUC__ < 7 || (__GNUC__ == 7 && __GNUC_MINOR__ < 5)
++# if __GNUC__ < 7
+ # error You need at least GCC v7.5.0 to compile QEMU
+ # endif
+ #else
Home |
Main Index |
Thread Index |
Old Index