[vlc-devel] commit: contrib: fix live555 on WinCE (Pierre Ynard )

git version control git at videolan.org
Fri Nov 13 10:53:32 CET 2009


vlc | branch: 1.0-bugfix | Pierre Ynard <linkfanel at yahoo.fr> | Fri Nov 13 10:53:09 2009 +0100| [006708e1764b7a8e6c78b86de689ba2083c07d14] | committer: Pierre Ynard 

contrib: fix live555 on WinCE

Remove patch merged upstream
(cherry picked from commit 837bf32ec86bd696d7422a27fafb103f9d12474f)

Conflicts:

	extras/contrib/src/Makefile

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=006708e1764b7a8e6c78b86de689ba2083c07d14
---

 extras/contrib/src/Makefile                 |    3 --
 extras/contrib/src/Patches/live-wince.patch |   42 ---------------------------
 2 files changed, 0 insertions(+), 45 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index eafedcf..30682b8 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -1276,9 +1276,6 @@ live: live555-$(LIVEDOTCOM_VERSION).tar.gz
 	$(EXTRACT_GZ)
 	patch -p0 < Patches/live-noapps.patch
 	patch -p0 < Patches/live-uselocale.patch
-ifdef HAVE_WINCE
-	patch -p0 < Patches/live-wince.patch
-endif
 
 .live: live
 ifdef HAVE_WIN32
diff --git a/extras/contrib/src/Patches/live-wince.patch b/extras/contrib/src/Patches/live-wince.patch
deleted file mode 100644
index ef03594..0000000
--- a/extras/contrib/src/Patches/live-wince.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -urp live.orig/groupsock/GroupsockHelper.cpp live/groupsock/GroupsockHelper.cpp
---- live.orig/groupsock/GroupsockHelper.cpp	2009-09-28 17:16:16.000000000 +0200
-+++ live/groupsock/GroupsockHelper.cpp	2009-11-11 01:10:28.000000000 +0100
-@@ -728,7 +728,7 @@ char const* timestampString() {
- int gettimeofday(struct timeval* tp, int* /*tz*/) {
- #if defined(_WIN32_WCE)
-   /* FILETIME of Jan 1 1970 00:00:00. */
--  static const unsigned __int64 epoch = 116444736000000000L;
-+  static const unsigned __int64 epoch = 116444736000000000LL;
- 
-   FILETIME    file_time;
-   SYSTEMTIME  system_time;
-diff -urp live.orig/liveMedia/InputFile.cpp live/liveMedia/InputFile.cpp
---- live.orig/liveMedia/InputFile.cpp	2009-09-28 17:16:16.000000000 +0200
-+++ live/liveMedia/InputFile.cpp	2009-11-11 01:06:45.000000000 +0100
-@@ -35,7 +35,7 @@ FILE* OpenInputFile(UsageEnvironment& en
-   // Check for a special case file name: "stdin"
-   if (strcmp(fileName, "stdin") == 0) {
-     fid = stdin;
--#if defined(__WIN32__) || defined(_WIN32)
-+#if (defined(__WIN32__) || defined(_WIN32)) && !defined(_WIN32_WCE)
-     _setmode(_fileno(stdin), _O_BINARY); // convert to binary mode
- #endif
-   } else {
-diff -urp live.orig/liveMedia/OutputFile.cpp live/liveMedia/OutputFile.cpp
---- live.orig/liveMedia/OutputFile.cpp	2009-09-28 17:16:16.000000000 +0200
-+++ live/liveMedia/OutputFile.cpp	2009-11-11 01:07:50.000000000 +0100
-@@ -35,12 +35,12 @@ FILE* OpenOutputFile(UsageEnvironment& e
-   // Check for special case 'file names': "stdout" and "stderr"
-   if (strcmp(fileName, "stdout") == 0) {
-     fid = stdout;
--#if defined(__WIN32__) || defined(_WIN32)
-+#if (defined(__WIN32__) || defined(_WIN32)) && !defined(_WIN32_WCE)
-     _setmode(_fileno(stdout), _O_BINARY);       // convert to binary mode
- #endif
-   } else if (strcmp(fileName, "stderr") == 0) {
-     fid = stderr;
--#if defined(__WIN32__) || defined(_WIN32)
-+#if (defined(__WIN32__) || defined(_WIN32)) && !defined(_WIN32_WCE)
-     _setmode(_fileno(stderr), _O_BINARY);       // convert to binary mode
- #endif
-   } else {




More information about the vlc-devel mailing list