ports/94533: [PATCH] emulators/bochs: update to 2.2.6
Sean Farley
sean-freebsd at farley.org
Thu Mar 16 15:10:17 UTC 2006
>Number: 94533
>Category: ports
>Synopsis: [PATCH] emulators/bochs: update to 2.2.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 16 15:09:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Sean Farley
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Sun Feb 5 13:57:10 CST
>Description:
- Update to 2.2.6
- Change flag to enable/disable SMP instead of obsolete method of
specifying the number of CPU's.
- Updated patches.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- bochs-2.2.6,2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/emulators/bochs.orig/Makefile /usr/ports/emulators/bochs/Makefile
--- /usr/ports/emulators/bochs.orig/Makefile Fri Jan 27 03:35:30 2006
+++ /usr/ports/emulators/bochs/Makefile Wed Mar 15 22:58:30 2006
@@ -7,7 +7,7 @@
#
PORTNAME= bochs
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.6
PORTEPOCH= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -20,7 +20,6 @@
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
USE_XLIB= yes
-USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -39,17 +38,14 @@
MAN1= bochs.1 bochs-dlx.1 bxcommit.1 bximage.1
MAN5= bochsrc.5
-.if defined(WITH_BOCHS_PROCESSORS)
-.if ${WITH_BOCHS_PROCESSORS} < 1 || ${WITH_BOCHS_PROCESSORS} > 15
-IGNORE= Cannot install: WITH_BOCHS_PROCESSORS must be an integer value between 1 and 15
-.endif
-CONFIGURE_ARGS+= --enable-processors=${WITH_BOCHS_PROCESSORS}
+.if defined(WITH_BOCHS_SMP)
+CONFIGURE_ARGS+= --enable-smp
WITH_BOCHS_CPU_LEVEL= 6
.endif
.if defined(WITH_BOCHS_CPU_LEVEL)
.if ${WITH_BOCHS_CPU_LEVEL} < 3 || ${WITH_BOCHS_CPU_LEVEL} > 6
-IGNORE= Cannot install: WITH_BOCHS_CPU_LEVEL must be an integer value between 3 and 6
+IGNORE= cannot install: WITH_BOCHS_CPU_LEVEL must be an integer value between 3 and 6
.endif
CONFIGURE_ARGS+= --enable-cpu-level=${WITH_BOCHS_CPU_LEVEL}
.if ${WITH_BOCHS_CPU_LEVEL} < 5
@@ -98,9 +94,9 @@
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_GUI_NOGUI=yes\""
@${ECHO_MSG}
.endif
-.if !defined(WITH_BOCHS_PROCESSORS)
+.if !defined(WITH_BOCHS_SMP)
@${ECHO_MSG} "If you want to compile with SMP support (implies WITH_BOCHS_CPU_LEVEL=6),"
- @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_PROCESSORS=<number of processors>\""
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_SMP\""
@${ECHO_MSG}
.endif
.if !defined(WITH_BOCHS_DEBUGGER)
diff -ruN --exclude=CVS /usr/ports/emulators/bochs.orig/distinfo /usr/ports/emulators/bochs/distinfo
--- /usr/ports/emulators/bochs.orig/distinfo Thu Nov 24 10:07:46 2005
+++ /usr/ports/emulators/bochs/distinfo Wed Mar 15 22:58:35 2006
@@ -1,3 +1,3 @@
-MD5 (bochs-2.2.1.tar.gz) = 50484c75d8175fcd97a81432ac18fb71
-SHA256 (bochs-2.2.1.tar.gz) = e04f054164ea489c9f52794c7e0b214d72238212362db8382fdffe7df1fbd52c
-SIZE (bochs-2.2.1.tar.gz) = 3785329
+MD5 (bochs-2.2.6.tar.gz) = 961482eb78b55fe3e0e0639e34b4c2c1
+SHA256 (bochs-2.2.6.tar.gz) = 25447ca196794bb2e00d314038f75ad8aeead87dcf34e9501598b900dea639ee
+SIZE (bochs-2.2.6.tar.gz) = 3765867
diff -ruN --exclude=CVS /usr/ports/emulators/bochs.orig/files/patch-aa /usr/ports/emulators/bochs/files/patch-aa
--- /usr/ports/emulators/bochs.orig/files/patch-aa Thu Jun 23 12:49:55 2005
+++ /usr/ports/emulators/bochs/files/patch-aa Wed Mar 15 22:59:12 2006
@@ -1,24 +1,28 @@
---- .bochsrc.orig Fri May 13 20:10:58 2005
-+++ .bochsrc Sat Jun 18 06:06:15 2005
-@@ -70,7 +70,7 @@
- # You can also use the environment variable $BXSHARE to specify the
- # location of the BIOS.
+--- .bochsrc.orig Sun Jan 29 07:56:01 2006
++++ .bochsrc Mon Feb 20 21:10:38 2006
+@@ -74,7 +74,7 @@
+ # now supported, but we still recommend to use the BIOS distributed with
+ # Bochs. Now the start address can be calculated from image size.
#=======================================================================
-romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
-+romimage: file=bios/BIOS-bochs-latest, address=0xf0000
- #romimage: file=bios/BIOS-bochs-2-processors, address=0xf0000
- #romimage: file=bios/BIOS-bochs-4-processors, address=0xf0000
- #romimage: file=bios/rombios.bin, address=0xf0000
-@@ -109,7 +109,7 @@
++romimage: file=/usr/local/share/bochs/BIOS-bochs-latest, address=0xf0000
+ #romimage: file=mybios.bin, address=0xfff80000 # 512k at memory top
+ #romimage: file=mybios.bin # calculate start address from image size
+
+@@ -147,9 +147,9 @@
+ # VGAROMIMAGE
# You now need to load a VGA ROM BIOS into C0000.
#=======================================================================
- #vgaromimage: file=bios/VGABIOS-elpin-2.40
+-#vgaromimage: file=bios/VGABIOS-elpin-2.40
-vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
-+vgaromimage: file=bios/VGABIOS-lgpl-latest
- #vgaromimage: file=bios/VGABIOS-lgpl-latest-cirrus
+-#vgaromimage: file=bios/VGABIOS-lgpl-latest-cirrus
++#vgaromimage: file=/usr/local/share/bochs/VGABIOS-elpin-2.40
++vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest
++#vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest-cirrus
#=======================================================================
-@@ -301,7 +301,7 @@
+ # VGA:
+@@ -319,7 +319,7 @@
#
# Default value are sync=none, time0=local
#=======================================================================
@@ -27,7 +31,7 @@
#=======================================================================
-@@ -326,8 +326,8 @@
+@@ -344,8 +344,8 @@
# log: ./bochs.out
# log: /dev/tty
#=======================================================================
@@ -38,7 +42,7 @@
#=======================================================================
# LOGPREFIX:
-@@ -367,7 +367,7 @@
+@@ -385,7 +385,7 @@
# cause bochs to become unstable. The panic is a "graceful exit," so
# if you disable it you may get a spectacular disaster instead.
#=======================================================================
@@ -47,7 +51,7 @@
error: action=report
info: action=report
debug: action=ignore
-@@ -422,7 +422,7 @@
+@@ -442,7 +442,7 @@
# parport2: enabled=1, file="/dev/lp0"
# parport1: enabled=0
#=======================================================================
diff -ruN --exclude=CVS /usr/ports/emulators/bochs.orig/files/patch-iodev::eth_vde.cc /usr/ports/emulators/bochs/files/patch-iodev::eth_vde.cc
--- /usr/ports/emulators/bochs.orig/files/patch-iodev::eth_vde.cc Mon Feb 20 11:40:13 2006
+++ /usr/ports/emulators/bochs/files/patch-iodev::eth_vde.cc Wed Mar 15 22:59:21 2006
@@ -1,5 +1,5 @@
--- iodev/eth_vde.cc.orig Sat Dec 10 12:37:35 2005
-+++ iodev/eth_vde.cc Mon Feb 20 11:39:02 2006
++++ iodev/eth_vde.cc Mon Feb 20 21:39:02 2006
@@ -41,13 +41,17 @@
#include <sys/poll.h>
#include <sys/time.h>
diff -ruN --exclude=CVS /usr/ports/emulators/bochs.orig/pkg-plist /usr/ports/emulators/bochs/pkg-plist
--- /usr/ports/emulators/bochs.orig/pkg-plist Tue Nov 15 07:17:04 2005
+++ /usr/ports/emulators/bochs/pkg-plist Wed Mar 15 22:58:40 2006
@@ -2,9 +2,6 @@
bin/bochs
bin/bxcommit
bin/bximage
-%%DATADIR%%/BIOS-bochs-2-processors
-%%DATADIR%%/BIOS-bochs-4-processors
-%%DATADIR%%/BIOS-bochs-8-processors
%%DATADIR%%/BIOS-bochs-latest
%%DATADIR%%/VGABIOS-elpin-2.40
%%DATADIR%%/VGABIOS-elpin-LICENSE
@@ -23,6 +20,7 @@
%%DATADIR%%/keymaps/x11-pc-it.map
%%DATADIR%%/keymaps/x11-pc-ru.map
%%DATADIR%%/keymaps/x11-pc-se.map
+%%DATADIR%%/keymaps/x11-pc-si.map
%%DATADIR%%/keymaps/x11-pc-uk.map
%%DATADIR%%/keymaps/x11-pc-us.map
%%DOCSDIR%%/CHANGES
@@ -33,7 +31,6 @@
%%PORTDOCS%%%%DOCSDIR%%/biossums.txt
%%PORTDOCS%%%%DOCSDIR%%/cvs-structure.txt
%%PORTDOCS%%%%DOCSDIR%%/html/Linux.html
-%%PORTDOCS%%%%DOCSDIR%%/html/codingguidelines.html
%%PORTDOCS%%%%DOCSDIR%%/html/cosimulation.html
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/html/iodebug.html
--- bochs-2.2.6,2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list