SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,21 @@
Index: src/Iindex.cxx
--- src/Iindex.cxx.orig
+++ src/Iindex.cxx
@@ -43,7 +43,7 @@ Author: Nassib Nassar, nrn@cnidr.org
#include <stdlib.h>
#include <errno.h>
#include <string.h>
-#include <iostream.h>
+#include <iostream>
#include <locale.h>
#if defined(_MSDOS) || defined(_WIN32)
@@ -149,7 +149,7 @@ void AddFile(PIDB IdbPtr, STRING& PathName, STRING& Fi
}
}
if (Found) {
- Offset = (GPTYPE)((UINT4)Found - (UINT4)Buffer);
+ Offset = (GPTYPE)((UINT8)Found - (UINT8)Buffer);
/* the separator marks the beginning of the next
record. (offset - 1), then marks the end of
the current record. we must make sure that the