emulators/bochs: Update the port to the latest release
Update the port to the latest release. take maintership as well Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D13104
This commit is contained in:
parent
cdcad0666d
commit
0ecef81981
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454975
@ -2,13 +2,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bochs
|
||||
PORTVERSION= 2.6.8
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 2.6.9
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= mmokhi@FreeBSD.org
|
||||
COMMENT= IA-32 (x86) PC emulator that runs DOS, Win 95, and more
|
||||
|
||||
LICENSE= LGPL21
|
||||
@ -16,6 +15,7 @@ LICENSE= LGPL21
|
||||
BROKEN_i386= does not build on i386 (../cpu.h:4513:117: error: 'regparm' parameter must be between 0 and 3 inclusive)
|
||||
|
||||
USES= gmake libtool:keepla pkgconfig
|
||||
USE_XORG= x11
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= ac_cv_header_alsa_asoundlib_h=no \
|
||||
ac_cv_header_ltdl_h=no
|
||||
@ -269,7 +269,7 @@ post-build:
|
||||
@${LN} -sf .bochsrc ${WRKSRC}/bochsrc-sample.txt
|
||||
|
||||
post-install:
|
||||
.for f in bochs bximage
|
||||
.for f in bochs bxhub bximage
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
|
||||
.endfor
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (bochs-2.6.8.tar.gz) = 79700ef0914a0973f62d9908ff700ef7def62d4a28ed5de418ef61f3576585ce
|
||||
SIZE (bochs-2.6.8.tar.gz) = 5075617
|
||||
TIMESTAMP = 1510759198
|
||||
SHA256 (bochs-2.6.9.tar.gz) = ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c
|
||||
SIZE (bochs-2.6.9.tar.gz) = 5169187
|
||||
|
25
emulators/bochs/files/patch-iodev_network_eth__socket.cc
Normal file
25
emulators/bochs/files/patch-iodev_network_eth__socket.cc
Normal file
@ -0,0 +1,25 @@
|
||||
--- iodev/network/eth_socket.cc.orig 2017-11-15 14:29:17 UTC
|
||||
+++ iodev/network/eth_socket.cc
|
||||
@@ -78,16 +78,21 @@ extern "C" {
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
+#include <sys/param.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <netpacket/packet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if.h>
|
||||
+#if defined(__FreeBSD__)
|
||||
+#include <sys/types.h>
|
||||
+#else
|
||||
+#include <netpacket/packet.h>
|
||||
#include <linux/types.h>
|
||||
+#endif
|
||||
#include <netdb.h>
|
||||
#define closesocket(s) close(s)
|
||||
typedef int SOCKET;
|
@ -1,4 +1,5 @@
|
||||
bin/bochs
|
||||
bin/bxhub
|
||||
bin/bximage
|
||||
man/man1/bochs.1.gz
|
||||
man/man1/bochs-dlx.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user