we don't have USER_LDT anymore; talk about machdep.userldt instead.
maintainer ok
This commit is contained in:
parent
5451cee62d
commit
05be7b910f
15
x11/mplayer/patches/patch-loader_ldt_keeper_c
Normal file
15
x11/mplayer/patches/patch-loader_ldt_keeper_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-loader_ldt_keeper_c,v 1.1 2005/12/28 15:22:35 fgsch Exp $
|
||||
--- loader/ldt_keeper.c.orig Fri Apr 15 20:17:12 2005
|
||||
+++ loader/ldt_keeper.c Wed Dec 28 14:30:44 2005
|
||||
@@ -243,7 +243,11 @@ ldt_fs_t* Setup_LDT_Keeper(void)
|
||||
{
|
||||
perror("install_fs");
|
||||
printf("Couldn't install fs segment, expect segfault\n");
|
||||
+#if defined(__OpenBSD__)
|
||||
+ printf("Did you set \"machdep.userldt\" to 1?\n");
|
||||
+#else
|
||||
printf("Did you reconfigure the kernel with \"options USER_LDT\"?\n");
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
#endif /* __NetBSD__ || __FreeBSD__ || __OpenBSD__ */
|
Loading…
Reference in New Issue
Block a user