ports/emulators/catapult/files/patch-build_detectsys.py
Daniel Menelkir 894b604719 emulators/catapult: re-add port: GUI for openMSX
Catapult is a frontend for OpenMSX, the open source MSX
emulator that tries to achieve near-perfect emulation by
using a novel emulation model.

WWW: https://openmsx.org

PR:		257892
Reported by:	Daniel Menelkir <menelkir@itroll.org> (new maintainer)
2021-12-25 19:59:25 +09:00

11 lines
456 B
Python

--- build/detectsys.py.orig 2021-08-16 20:45:31 UTC
+++ build/detectsys.py
@@ -10,7 +10,7 @@ def detectOS():
Raises ValueError if no known OS is detected.
'''
os = system().lower()
- if os in ('linux', 'darwin', 'freebsd', 'netbsd', 'openbsd', 'gnu'):
+ if os in ('linux', 'darwin', 'dragonfly', 'freebsd', 'netbsd', 'openbsd', 'gnu'):
return os
elif os.startswith('gnu/'):
# GNU userland on non-Hurd kernel, for example Debian GNU/kFreeBSD.