mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
cdf53fbe51
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
15 lines
448 B
Plaintext
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);
|