Skip to contentSkip to conversation

mplayer: add patch due to missing sys/timeb.h

PATCH New Markus Heidelberg 2 participants 2 messages Jan 26, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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

---
 .../mplayer/mplayer-1.0rc1-remove-sys-timeb.patch  |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 package/multimedia/mplayer/mplayer-1.0rc1-remove-sys-timeb.patch
package/multimedia/mplayer/mplayer-1.0rc1-remove-sys-timeb.patch new file +12 -0
new file mode 100644
index 0000000..369aa70
@@ -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
Signature · 1 line
1.6.1.1.227.g86702
#1 lore raw

PATCH 1/2 mplayer: add patch due to missing sys/timeb.h

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markus" == Markus Heidelberg <[email protected]> writes:

Markus> This include file is only available, if uClibc is compiled with Markus> UCLIBC_SUSV3_LEGACY defined and ftime() is not needed in this part of Markus> mplayer at all.

That obviously seems correct, but I wonder why I didn't see that when recently building mplayer?

Anyway, committed.

Signature · 1 line
Bye, Peter Korsgaard