openbsd-ports/www/chromium/patches/patch-media_ffmpeg_file_protocol_cc
espie ae6e8f236b late update to chromium 9, robert@ did the work, but he doesn't have the
time right now.
Tree is still locked!
Reasons for the update:
- good work that can be used now
- only builds on i386/amd64, and they're fast
- multiple security problems in old chrome
- old chrome half working, can't break it more than it was.

This one requires resources (see MESSAGE), but it's ways more stable.

Again, discussed with sthen@, jasper@, naddy@, miod@
2011-02-08 09:43:02 +00:00

13 lines
570 B
Plaintext

$OpenBSD: patch-media_ffmpeg_file_protocol_cc,v 1.2 2011/02/08 09:43:02 espie Exp $
--- media/ffmpeg/file_protocol.cc.orig Fri Jan 21 10:19:46 2011
+++ media/ffmpeg/file_protocol.cc Mon Jan 24 11:24:49 2011
@@ -58,7 +58,7 @@ int WriteContext(URLContext* h, unsigned char* buf, in
return HANDLE_EINTR(write(GetHandle(h), buf, size));
}
-int64 SeekContext(URLContext* h, int64 offset, int whence) {
+int64_t SeekContext(URLContext* h, int64_t offset, int whence) {
#if defined(OS_WIN)
return _lseeki64(GetHandle(h), static_cast<__int64>(offset), whence);
#else