wok view kqemu/stuff/kqemu-1.4.0pre1-init_MUTEX.patch @ rev 8605
Added xorg-libXext-dev to mupdf build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 14 04:25:13 2011 +0000 (2011-02-14) |
parents | |
children |
line source
1 Common subdirectories: kqemu-1.4.0pre1-orig/common and kqemu-1.4.0pre1/common
2 diff -u kqemu-1.4.0pre1-orig/kqemu-linux.c kqemu-1.4.0pre1/kqemu-linux.c
3 --- kqemu-1.4.0pre1-orig/kqemu-linux.c 2008-05-30 16:33:34.000000000 -0400
4 +++ kqemu-1.4.0pre1/kqemu-linux.c 2011-01-05 16:51:45.407394748 -0500
5 @@ -53,6 +53,10 @@
6 #define PAGE_KERNEL_EXEC PAGE_KERNEL
7 #endif
9 +/* init_MUTEX macro was removed in 2.6.37 */
10 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 36) && !defined(init_MUTEX)
11 +#define init_MUTEX(sem) sema_init(sem, 1)
12 +#endif
13 //#define DEBUG
15 #ifdef DEBUG
16 Common subdirectories: kqemu-1.4.0pre1-orig/tests and kqemu-1.4.0pre1/tests