diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-26 09:22:47 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-26 09:22:47 +0000 |
commit | 3c0dea728ec32a40c14679066935b0fbf498f21a (patch) | |
tree | 7e8f6a76cf0fe3bbe1d03054097414676f426eb1 /package/multimedia/mplayer | |
parent | 1510bb58fe7d9f06837ba53ee93ed57175076cd7 (diff) |
mplayer: add patch due to missing sys/timeb.h
This include file is only available, if uClibc is compiled with
UCLIBC_SUSV3_LEGACY defined and ftime() is not needed in this part of
mplayer at all.
This solves the following compiler error:
win32.c:67:23: error: sys/timeb.h: No such file or directory
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Diffstat (limited to 'package/multimedia/mplayer')
-rw-r--r-- | package/multimedia/mplayer/mplayer-1.0rc1-remove-sys-timeb.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer-1.0rc1-remove-sys-timeb.patch b/package/multimedia/mplayer/mplayer-1.0rc1-remove-sys-timeb.patch new file mode 100644 index 000000000..369aa70ea --- /dev/null +++ b/package/multimedia/mplayer/mplayer-1.0rc1-remove-sys-timeb.patch @@ -0,0 +1,12 @@ +win32.c:67:23: error: sys/timeb.h: No such file or directory + +--- a/loader/win32.c 2009-01-26 01:53:20.000000000 +0100 ++++ b/loader/win32.c 2009-01-26 01:53:39.000000000 +0100 +@@ -64,7 +64,6 @@ + #include <sys/types.h> + #include <dirent.h> + #include <sys/time.h> +-#include <sys/timeb.h> + #ifdef HAVE_KSTAT + #include <kstat.h> + #endif |