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,20 @@
--- main.cpp.orig Mon Feb 1 13:31:34 2010
+++ main.cpp Thu Oct 27 15:10:55 2016
@@ -340,7 +340,7 @@ void load_palette_cmd(void)
void load_builtin_palette_cmd(void* arg)
{
- int n = reinterpret_cast<int>(arg);
+ int n = *((int*)(&arg));
palette_load_builtin(n);
reapply_palette();
@@ -1001,7 +1001,7 @@ void load_config()
{
using namespace boost::filesystem;
- if (!exists(path(cfgFilename, native)))
+ if (!exists(path(cfgFilename)))
{
return;
}