From: Markus Heidelberg <markus.heidelberg@web.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] mplayer: add patch due to missing sys/timeb.h
Date: Mon, 26 Jan 2009 10:16:09 +0100 [thread overview]
Message-ID: <200901261016.09333.markus.heidelberg@web.de> (raw)
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>
---
.../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
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 0000000..369aa70
--- /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
--
1.6.1.1.227.g86702
next reply other threads:[~2009-01-26 9:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 9:16 Markus Heidelberg [this message]
2009-01-26 9:21 ` [Buildroot] [PATCH 1/2] mplayer: add patch due to missing sys/timeb.h Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200901261016.09333.markus.heidelberg@web.de \
--to=markus.heidelberg@web.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox