diff options
author | Eric Benard <eric@eukrea.com> | 2010-04-30 09:33:43 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2010-05-04 12:09:55 +0200 |
commit | ff57f14c99a6ff61ffb7f1c533523e3e934f96e5 (patch) | |
tree | fa3243efde819bbdc5489fc725ffac5be2b638fd /recipes/mplayer/files/fix-emu_qtx_api.diff | |
parent | 402a721af66dd49e6ae99c1b2544c5976a70bc79 (diff) |
mplayer_svn : fix compilation problem
- this patch fix the following error (met for a x86 target) :
| loader/module.o: In function `MODULE_GetProcAddress':
| module.c:(.text+0x125): undefined reference to `report_entry'
| module.c:(.text+0x12f): undefined reference to `report_ret'
| module.c:(.text+0x139): undefined reference to `wrapper_target'
| module.c:(.text+0x13e): undefined reference to `wrapper'
| loader/module.o: In function `LoadLibraryExA':
| module.c:(.text+0x10d4): undefined reference to `report_entry'
| module.c:(.text+0x10de): undefined reference to `report_ret'
| module.c:(.text+0x10ea): undefined reference to `wrapper_target'
| module.c:(.text+0x10f0): undefined reference to `wrapper'
| collect2: ld returned 1 exit status
| make: *** [mplayer] Error 1
- also add --disable-xss --disable-dga1 --disable-dga2 in order to
prevent configure to autodetect these options which leads to a
dependency problem.
Signed-off-by: Eric Benard <eric@eukrea.com>
Acked-by: Denis Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'recipes/mplayer/files/fix-emu_qtx_api.diff')
-rw-r--r-- | recipes/mplayer/files/fix-emu_qtx_api.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/mplayer/files/fix-emu_qtx_api.diff b/recipes/mplayer/files/fix-emu_qtx_api.diff new file mode 100644 index 0000000000..e657475d56 --- /dev/null +++ b/recipes/mplayer/files/fix-emu_qtx_api.diff @@ -0,0 +1,33 @@ +http://bugs.gentoo.org/213836 + +Fix the following error : + +| loader/module.o: In function `MODULE_GetProcAddress': +| module.c:(.text+0x125): undefined reference to `report_entry' +| module.c:(.text+0x12f): undefined reference to `report_ret' +| module.c:(.text+0x139): undefined reference to `wrapper_target' +| module.c:(.text+0x13e): undefined reference to `wrapper' +| loader/module.o: In function `LoadLibraryExA': +| module.c:(.text+0x10d4): undefined reference to `report_entry' +| module.c:(.text+0x10de): undefined reference to `report_ret' +| module.c:(.text+0x10ea): undefined reference to `wrapper_target' +| module.c:(.text+0x10f0): undefined reference to `wrapper' +| collect2: ld returned 1 exit status +| make: *** [mplayer] Error 1 + +--- +diff --git a/loader/module.c b/loader/module.c +index e316cf0..2023acb 100644 +--- a/loader/module.c ++++ b/loader/module.c +@@ -9,8 +9,8 @@ + */ + + // define for quicktime calls debugging and/or MacOS-level emulation: +-#ifndef __APPLE__ +-#define EMU_QTX_API ++#ifdef __APPLE__ ++#undef EMU_QTX_API + #endif /* __APPLE__ */ + + // define for quicktime debugging (verbose logging): |