SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
graphics/gfract/patches/patch-main_cpp
Normal file
20
graphics/gfract/patches/patch-main_cpp
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue