freebsd-ports/multimedia/avifile/files/patch-lib_aviread_ReadFile.cpp
Stanislav Sedov d027afefcf - Fix building with recent version of gcc (3.4.6) [1]
- Test for pcvt_ioctl.h existence as it was removed recently.
  Include iokb.h instead if its'nt exists. [1]
- Replace deprecated variable. [2]

Submitted by:	[1] Rainer Alves <rainer.alves@gmail.com>, [2] me (stas)
Approved by:	sem (mentor)
2006-09-23 16:21:23 +00:00

20 lines
487 B
C++

--- lib/aviread/ReadFile.cpp.orig Sat Sep 23 14:17:45 2006
+++ lib/aviread/ReadFile.cpp Sat Sep 23 14:23:49 2006
@@ -8,7 +8,7 @@
AVM_BEGIN_NAMESPACE;
-avm::IReadFile::~IReadFile() {}
+IReadFile::~IReadFile() {}
class ReadFile: public IReadFile
{
@@ -125,7 +125,7 @@
};
-avm::IReadFile* avm::CreateReadFile(const char* name, unsigned int flags)
+IReadFile* CreateReadFile(const char* name, unsigned int flags)
{
ReadFile* r = new ReadFile(name, flags);
return r;