svn commit: r416859 - in head/emulators/qemu-sbruno: . files

Sean Bruno sbruno at FreeBSD.org
Mon Jun 13 19:12:51 UTC 2016


Author: sbruno
Date: Mon Jun 13 19:12:50 2016
New Revision: 416859
URL: https://svnweb.freebsd.org/changeset/ports/416859

Log:
  Use correct ELF magic to run powerpc64 binaries.
  
  PR:		209983
  Submitted by:	jbeich

Modified:
  head/emulators/qemu-sbruno/Makefile
  head/emulators/qemu-sbruno/files/qemu_user_static.in

Modified: head/emulators/qemu-sbruno/Makefile
==============================================================================
--- head/emulators/qemu-sbruno/Makefile	Mon Jun 13 19:05:31 2016	(r416858)
+++ head/emulators/qemu-sbruno/Makefile	Mon Jun 13 19:12:50 2016	(r416859)
@@ -3,6 +3,7 @@
 
 PORTNAME=	qemu
 PORTVERSION=	2.6.50.g20160611
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	GH \
 		LOCAL/nox:dtc \

Modified: head/emulators/qemu-sbruno/files/qemu_user_static.in
==============================================================================
--- head/emulators/qemu-sbruno/files/qemu_user_static.in	Mon Jun 13 19:05:31 2016	(r416858)
+++ head/emulators/qemu-sbruno/files/qemu_user_static.in	Mon Jun 13 19:12:50 2016	(r416859)
@@ -98,7 +98,7 @@ list_cmd="${BINMISCCTL} list"
 	interpreter=${QEMU_DIR}/${QEMU_PREFIX}ppc64${QEMU_SUFFIX}
 	if [ -x "${interpreter}" ]; then
 		${BINMISCCTL} add powerpc64 --interpreter "${interpreter}" \
-			--magic "\x7f\x45\x4c\x46\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15" \
+			--magic "\x7f\x45\x4c\x46\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15" \
 			--mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff" \
 			--size 20 --set-enabled
 	else


More information about the svn-ports-head mailing list