aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2017-03-11 05:09:05 +0800
committerbofh <bofh@FreeBSD.org>2017-03-11 05:09:05 +0800
commitb0d018055cfa0d91a265fb3faaddb34c786027dc (patch)
treeaadb3959ed7641ea6335fbd33ba263a0ab473013 /emulators
parent502624fb4edc53005e05a0179b9d147854d90346 (diff)
downloadfreebsd-ports-gnome-b0d018055cfa0d91a265fb3faaddb34c786027dc.tar.gz
freebsd-ports-gnome-b0d018055cfa0d91a265fb3faaddb34c786027dc.tar.zst
freebsd-ports-gnome-b0d018055cfa0d91a265fb3faaddb34c786027dc.zip
emulators/qemu: Fix post-patch for CDROM_DMA option
Submitted by: ilavsky.martin@gmail.com
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 503e04d6b4ce..b974d2f963ae 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -3,6 +3,7 @@
PORTNAME= qemu
PORTVERSION= 2.8.0
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://wiki.qemu.org/download/
DIST_SUBDIR= qemu/${PORTVERSION}
@@ -146,7 +147,7 @@ post-patch:
.endif
post-patch-CDROM_DMA-off:
- @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/hw/ide/internal.h
+ @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h
post-patch-GNS3-on:
@${REINPLACE_CMD} -e 's|(buf\[0\] & 1) && (rctl & E1000_RCTL_MPE)|buf[0] \& 1|' \