parent
dbb99ced65
commit
eeeec89925
2 changed files with 3 additions and 23 deletions
|
@ -1,19 +0,0 @@
|
||||||
Some endian-conditional functions had incorrect signatures on BE hosts.
|
|
||||||
|
|
||||||
--- bochs.h
|
|
||||||
+++ bochs.h
|
|
||||||
@@ -627,12 +627,12 @@ BX_CPP_INLINE void WriteHostWordToLittleEndian(Bit16u *hostPtr, Bit16u nativeVar
|
|
||||||
*(hostPtr) = bx_bswap16(nativeVar16);
|
|
||||||
}
|
|
||||||
|
|
||||||
-BX_CPP_INLINE void WriteHostDWordToLittleEndian(Bit8u *hostPtr, Bit32u nativeVar32)
|
|
||||||
+BX_CPP_INLINE void WriteHostDWordToLittleEndian(Bit32u *hostPtr, Bit32u nativeVar32)
|
|
||||||
{
|
|
||||||
*(hostPtr) = bx_bswap32(nativeVar32);
|
|
||||||
}
|
|
||||||
|
|
||||||
-BX_CPP_INLINE void WriteHostQWordToLittleEndian(Bit8u *hostPtr, Bit64u nativeVar64)
|
|
||||||
+BX_CPP_INLINE void WriteHostQWordToLittleEndian(Bit64u *hostPtr, Bit64u nativeVar64)
|
|
||||||
{
|
|
||||||
*(hostPtr) = bx_bswap64(nativeVar64);
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'bochs'
|
# Template file for 'bochs'
|
||||||
pkgname=bochs
|
pkgname=bochs
|
||||||
version=2.6.10
|
version=2.6.11
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-debugger --enable-disasm --disable-readline"
|
configure_args="--enable-debugger --enable-disasm --disable-readline"
|
||||||
|
@ -11,9 +11,8 @@ maintainer="mid-kid <esteve.varela@gmail.com>"
|
||||||
license="LGPL-2.1-only"
|
license="LGPL-2.1-only"
|
||||||
homepage="http://bochs.sourceforge.net/"
|
homepage="http://bochs.sourceforge.net/"
|
||||||
distfiles="$SOURCEFORGE_SITE/bochs/bochs-${version}.tar.gz"
|
distfiles="$SOURCEFORGE_SITE/bochs/bochs-${version}.tar.gz"
|
||||||
checksum=723f808b2c2ac6f886d90c4eb2000b8d075992661e6e47c8474e668e16e175b0
|
checksum=63897b41fbbbdfb1c492d3c4dee1edb4224282a07bbdf442a4a68c19bcc18862
|
||||||
disable_parallel_build=yes
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
|
vsed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue