diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-20 12:25:49 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-20 12:25:49 +0100 |
commit | a74b8da459dcdee1d1fc633d9d1856fdb89fd7bd (patch) | |
tree | 291ff6b5793e74c8994696a7fe26e82f6f646601 /package/mplayer/patches/patch-loader_ldt_keeper_c | |
parent | 33adad70313bb73464cbd002370cd14bade79a54 (diff) |
fix musl compile, when xorg package collection is selected. X still does not work with musl
Diffstat (limited to 'package/mplayer/patches/patch-loader_ldt_keeper_c')
-rw-r--r-- | package/mplayer/patches/patch-loader_ldt_keeper_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mplayer/patches/patch-loader_ldt_keeper_c b/package/mplayer/patches/patch-loader_ldt_keeper_c new file mode 100644 index 000000000..d2f42d46a --- /dev/null +++ b/package/mplayer/patches/patch-loader_ldt_keeper_c @@ -0,0 +1,11 @@ +--- MPlayer-1.1.1.orig/loader/ldt_keeper.c 2011-05-24 21:51:38.000000000 +0200 ++++ MPlayer-1.1.1/loader/ldt_keeper.c 2013-11-14 13:24:09.000000000 +0100 +@@ -210,7 +210,7 @@ ldt_fs_t* Setup_LDT_Keeper(void) + array.seg_not_present=0; + array.contents=MODIFY_LDT_CONTENTS_DATA; + array.limit_in_pages=0; +-#ifdef __linux__ ++#if defined(__linux__) && (__GLIBC__) + //ret=LDT_Modify(0x1, &array, sizeof(struct modify_ldt_ldt_s)); + ret=modify_ldt(0x1, &array, sizeof(struct modify_ldt_ldt_s)); + if(ret<0) |