openbsd-ports/www/chromium/patches/patch-media_ffmpeg_file_protocol_cc
robert 089acff6fe update to the latest stable version which is now 11.0.696.60
+ switch from using system sqlite to the bundled one because they have
  many modifications that are needed
+ add a new mirror for the distfile because the google one is utterly slow
2011-04-29 13:18:01 +00:00

13 lines
585 B
Plaintext

$OpenBSD: patch-media_ffmpeg_file_protocol_cc,v 1.3 2011/04/29 13:18:01 robert Exp $
--- media/ffmpeg/file_protocol.cc.orig Tue Apr 26 10:01:05 2011
+++ media/ffmpeg/file_protocol.cc Thu Apr 28 19:02:41 2011
@@ -56,7 +56,7 @@ static int WriteContext(URLContext* h, unsigned char*
return HANDLE_EINTR(write(GetHandle(h), buf, size));
}
-static int64 SeekContext(URLContext* h, int64 offset, int whence) {
+static int64_t SeekContext(URLContext* h, int64_t offset, int whence) {
#if defined(OS_WIN)
return _lseeki64(GetHandle(h), static_cast<__int64>(offset), whence);
#else