pkgsrc/emulators/BasiliskII/patches/patch-ah
adam 1c561c96ed Changes 1.0-20060501:
* Handle up to 1 GB of Mac memory
* Handle MacOS idle wait (idlewait prefs item)
* Fix a crash with the AppleShare extension
* Improve SLiRP network emulation performance
* Portability fixes to IRIX/mips, Solaris/SPARC
Mac OS X:
* Port to Mac OS X for Intel, including the JIT
* Add a primitive graphical preferences editor
* Fix clipboard (copy/paste of text from/to the host OS)
* Fix external filesystem
* Fix SLiRP network emulation (workaround MacOS X bugs)
Windows:
* Add SLiRP network emulation (ether slirp)
* Add TAP-Win32 network emulation (ether tap)
* Fix CD-ROM auto-detection (pollmedia now works)
* Improve GUI for network configuration
2006-05-13 20:52:35 +00:00

13 lines
536 B
Text

$NetBSD: patch-ah,v 1.2 2006/05/13 20:52:35 adam Exp $
--- src/Unix/serial_unix.cpp.orig 2005-12-04 16:03:11.000000000 +0100
+++ src/Unix/serial_unix.cpp
@@ -212,7 +212,7 @@ int16 XSERDPort::open(uint16 config)
if (fstat(fd, &st) == 0)
if (S_ISCHR(st.st_mode))
protocol = ((MAJOR(st.st_rdev) == LP_MAJOR) ? parallel : serial);
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
// Parallel port?
struct stat st;
if (fstat(fd, &st) == 0)