Apply NetBSD pkgsrc patches

Patches obtained from
https://github.com/NetBSD/pkgsrc/blob/trunk/emulators/BasiliskII/
This commit is contained in:
robxnano 2022-10-11 17:27:24 +01:00
parent 0118e99764
commit ae9d917d5e
2 changed files with 3 additions and 5 deletions

View File

@ -278,6 +278,9 @@ void AddPlatformPrefsDefaults(void)
{
PrefsReplaceString("mixer", "/dev/mixer");
}
#elif defined (__NetBSD__)
PrefsReplaceString("dsp", "/dev/audio");
PrefsReplaceString("mixer", "/dev/mixer");
#else
PrefsReplaceString("dsp", "/dev/dsp");
PrefsReplaceString("mixer", "/dev/mixer");

View File

@ -122,11 +122,6 @@
#ifdef HAVE_PTHREADS
#define USE_PTHREADS_SERVICES
#endif
#if EMULATED_68K
#if defined(__NetBSD__)
#define USE_CPU_EMUL_SERVICES
#endif
#endif
#ifdef USE_CPU_EMUL_SERVICES
#undef USE_PTHREADS_SERVICES
#endif