File tree 2 files changed +18
-0
lines changed
pkgs/applications/virtualization/bochs
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/iodev/network/slirp/slirp.h b/iodev/network/slirp/slirp.h
2
+ index 7c16aa3..202a1b7 100644
3
+ --- a/iodev/network/slirp/slirp.h
4
+ +++ b/iodev/network/slirp/slirp.h
5
+ @@ -33,8 +33,8 @@ typedef char *caddr_t;
6
+ #endif
7
+
8
+ #include <sys/types.h>
9
+ - #if defined(__OpenBSD__)
10
+ #include <stdint.h>
11
+ + #if defined(__OpenBSD__)
12
+ #include <sys/wait.h>
13
+ #endif
14
+ #ifdef HAVE_SYS_BITYPES_H
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
26
26
sha256 = "1379cq4cnfprhw8mgh60i0q9j8fz8d7n3d5fnn2g9fdiv5znfnzf" ;
27
27
} ;
28
28
29
+ patches = [ ./bochs-2.6.9-glibc-2.26.patch ] ;
30
+
29
31
buildInputs = with stdenv . lib ;
30
32
[ pkgconfig libtool gtk2 mesa readline libX11 libXpm docbook_xml_dtd_45 docbook_xsl ]
31
33
++ optionals termSupport [ ncurses ]
@@ -107,6 +109,8 @@ stdenv.mkDerivation rec {
107
109
108
110
hardeningDisable = [ "format" ] ;
109
111
112
+ enableParallelBuilding = true ;
113
+
110
114
meta = {
111
115
description = "An open-source IA-32 (x86) PC emulator" ;
112
116
longDescription = ''
You can’t perform that action at this time.
0 commit comments