]> git.sesse.net Git - vlc/commitdiff
contrib: fix live555 on WinCE
authorPierre Ynard <linkfanel@yahoo.fr>
Fri, 13 Nov 2009 09:44:33 +0000 (10:44 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Fri, 13 Nov 2009 09:44:33 +0000 (10:44 +0100)
Remove patch merged upstream

extras/contrib/src/Makefile
extras/contrib/src/Patches/live-wince.patch [deleted file]

index 53f2381e88dcf54c74ad98f8e9907120b558223f..69d9a2c08a8d3363287888cdd69e0378301b42d8 100644 (file)
@@ -1222,9 +1222,6 @@ live: live555-$(LIVEDOTCOM_VERSION).tar.gz
 ifdef HAVE_WIN64
        patch -p0 < Patches/live-win64.patch
 endif
-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 (file)
index ef03594..0000000
+++ /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 {