[arch-commits] Commit in bochs/trunk (PKGBUILD bochs-2.3.7-typo-fixes.patch)

Kevin Piche kevin at archlinux.org
Sat Jun 14 03:30:51 UTC 2008


    Date: Friday, June 13, 2008 @ 23:30:48
  Author: kevin
Revision: 2739

upgpkg: bochs 2.3.7-1

Added:
  bochs/trunk/bochs-2.3.7-typo-fixes.patch
Modified:
  bochs/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |    7 ++++---
 bochs-2.3.7-typo-fixes.patch |   24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-06-14 03:11:41 UTC (rev 2738)
+++ PKGBUILD	2008-06-14 03:30:48 UTC (rev 2739)
@@ -3,18 +3,19 @@
 # Maintainer: Kevin Piche <kevin at archlinux.org>
 
 pkgname=bochs
-pkgver=2.3.6
+pkgver=2.3.7
 pkgrel=1
 pkgdesc="A portable x86 PC emulation software package"
 arch=(i686 x86_64)
 license=('LGPL')
 url="http://bochs.sourceforge.net/"
-source=(http://dl.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=(http://dl.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz bochs-2.3.7-typo-fixes.patch)
 depends=('gcc-libs' 'libxpm')
-md5sums=('5b666fb64d7ccf9baa0122ec15a3f4b9')
+md5sums=('a2e5f922505bf16cabd36bb9d571a2c4')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
+  patch -Np1 -i ../bochs-2.3.7-typo-fixes.patch || return 1
   ./configure --prefix=/usr --enable-vbe --without-wx --enable-cpu-level=6 \
         --enable-4meg-pages --enable-global-pages --enable-pae --enable-fpu \
         --enable-mmx --enable-3dnow --enable-sse --enable-sep

Added: bochs-2.3.7-typo-fixes.patch
===================================================================
--- bochs-2.3.7-typo-fixes.patch	                        (rev 0)
+++ bochs-2.3.7-typo-fixes.patch	2008-06-14 03:30:48 UTC (rev 2739)
@@ -0,0 +1,24 @@
+diff -NaurwB bochs-2.3.7.orig/cpu/ia_opcodes.h bochs-2.3.7/cpu/ia_opcodes.h
+--- bochs-2.3.7.orig/cpu/ia_opcodes.h	2008-05-30 22:35:08.000000000 +0200
++++ bochs-2.3.7/cpu/ia_opcodes.h	2008-06-04 14:56:46.000000000 +0200
+@@ -891,7 +891,7 @@
+ bx_define_opcode(BX_IA_PF2ID_PqQq, BX_CPU_C::PF2ID_PqQq)
+ bx_define_opcode(BX_IA_PF2IW_PqQq, BX_CPU_C::PF2IW_PqQq)
+ bx_define_opcode(BX_IA_PFACC_PqQq, BX_CPU_C::PFACC_PqQq)
+-bx_define_opcode(BX_IA_PFADD_PqQq, BX_CPU_C::BX_PFADD_PqQq)
++bx_define_opcode(BX_IA_PFADD_PqQq, BX_CPU_C::PFADD_PqQq)
+ bx_define_opcode(BX_IA_PFCMPEQ_PqQq, BX_CPU_C::PFCMPEQ_PqQq)
+ bx_define_opcode(BX_IA_PFCMPGE_PqQq, BX_CPU_C::PFCMPGE_PqQq)
+ bx_define_opcode(BX_IA_PFCMPGT_PqQq, BX_CPU_C::PFCMPGT_PqQq)
+diff -NaurwB bochs-2.3.7.orig/iodev/iodebug.h bochs-2.3.7/iodev/iodebug.h
+--- bochs-2.3.7.orig/iodev/iodebug.h	2008-05-01 22:46:58.000000000 +0200
++++ bochs-2.3.7/iodev/iodebug.h	2008-06-04 14:45:50.000000000 +0200
+@@ -18,7 +18,7 @@
+   virtual void init(void);
+   virtual void reset (unsigned type) {}
+   static void mem_write(BX_CPU_C *cpu, bx_phy_address addr, unsigned len, void *data);
+-  static void mem_read(BX_CPU_C *cpu, bx_phy_addressu addr, unsigned len, void *data);
++  static void mem_read(BX_CPU_C *cpu, bx_phy_address addr, unsigned len, void *data);
+ 
+ private:
+   static Bit32u read_handler(void *this_ptr, Bit32u address, unsigned io_len);





More information about the arch-commits mailing list