Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2022 19:34:01 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: dbcfb00ff080 - 2022Q4 - emulators/qemu-powernv: Fix build on armv7
Message-ID:  <202212091934.2B9JY18i015296@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q4 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dbcfb00ff0806f9c4457a1e7ce253c46fe503408

commit dbcfb00ff0806f9c4457a1e7ce253c46fe503408
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-12-09 19:31:25 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2022-12-09 19:33:39 +0000

    emulators/qemu-powernv: Fix build on armv7
    
    PR:             268225
    (cherry picked from commit a93f9e4117c5d55a036c92a7dee7ff23180d3c57)
---
 emulators/qemu-powernv/files/patch-configure | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/emulators/qemu-powernv/files/patch-configure b/emulators/qemu-powernv/files/patch-configure
index 5fac68a9cc9f..0099085a85de 100644
--- a/emulators/qemu-powernv/files/patch-configure
+++ b/emulators/qemu-powernv/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2019-12-12 02:59:10 UTC
+--- configure.orig	2018-12-25 04:28:30 UTC
 +++ configure
-@@ -3261,10 +3261,10 @@ fi
+@@ -3387,10 +3387,10 @@ fi
  # curses probe
  if test "$curses" != "no" ; then
    if test "$mingw32" = "yes" ; then
@@ -13,7 +13,7 @@
      curses_lib_list="$($pkg_config --libs ncursesw 2>/dev/null):-lncursesw:-lcursesw"
    fi
    curses_found=no
-@@ -3381,7 +3381,7 @@ for i in $glib_modules; do
+@@ -3501,7 +3501,7 @@ for i in $glib_modules; do
          glib_libs=$($pkg_config --libs $i)
          QEMU_CFLAGS="$glib_cflags $QEMU_CFLAGS"
          LIBS="$glib_libs $LIBS"
@@ -22,7 +22,7 @@
      else
          error_exit "glib-$glib_req_ver $i is required to compile QEMU"
      fi
-@@ -5517,27 +5517,30 @@ if ( [ "$linux_user" = yes ] || [ "$bsd_user" = yes ] 
+@@ -5846,27 +5846,30 @@ if ( [ "$linux_user" = yes ] || [ "$bsd_user" = yes ] 
      cat > $TMPC <<EOF
      int main(void) { return 0; }
  EOF
@@ -72,3 +72,12 @@
      fi
    fi
  fi
+@@ -6840,6 +6843,8 @@ elif test "$ARCH" = "x86_64" -o "$ARCH" = "x32" ; then
+   QEMU_INCLUDES="-iquote \$(SRC_PATH)/tcg/i386 $QEMU_INCLUDES"
+ elif test "$ARCH" = "ppc64" ; then
+   QEMU_INCLUDES="-iquote \$(SRC_PATH)/tcg/ppc $QEMU_INCLUDES"
++elif test "${ARCH%v?}" = "arm" ; then
++  QEMU_INCLUDES="-iquote \$(SRC_PATH)/tcg/arm $QEMU_INCLUDES"
+ else
+   QEMU_INCLUDES="-iquote \$(SRC_PATH)/tcg/\$(ARCH) $QEMU_INCLUDES"
+ fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212091934.2B9JY18i015296>