freebsd-ports/multimedia/avifile/files/patch-aa
Mario Sergio Fujikawa Ferreira cdf53fbe51 Update to version 0.49
While I am here, do some clean up:

1) Added RESTRICTED tag, for codec LEGAL status is unsure
2) Added ${PKGMESSAGE} regarding kernel USE_LDT
3) Upheld the "only under ${WRKDIR}" rule

Approved by: maintainer <holger@eit.uni-kl.de>

PR: 21663
2000-10-09 15:52:17 +00:00

15 lines
448 B
Plaintext

--- lib/avifile/AviWrite.cpp.orig Fri Oct 6 12:58:16 2000
+++ lib/avifile/AviWrite.cpp Fri Oct 6 12:59:14 2000
@@ -23,7 +23,11 @@
try
{
m_status=0;
+#ifdef O_LARGEFILE
m_fd=new FileBuffer(name, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, mask);
+#else
+ m_fd=new FileBuffer(name, O_WRONLY | O_CREAT | O_TRUNC, mask);
+#endif
const int junk_size=0x800;
char* junk=new char[junk_size];
memset(junk, 0, junk_size);