summaryrefslogtreecommitdiff
path: root/games/powermanga/patches/patch-ae
blob: e4e8cefdd8b168a74c26dcb033106e57ca60c5e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.3 2008/09/19 19:16:45 joerg Exp $

--- src/linuxroutines.cpp.orig	2004-08-01 08:43:56.000000000 +0200
+++ src/linuxroutines.cpp
@@ -183,7 +183,7 @@ void libereMemoire(char *_pMemoire)
       }
     }
     if(_pMemoire > 0)
-    { fprintf(stderr, "libereMemoire() : can't release the address %x\n", (int)_pMemoire);
+    { fprintf(stderr, "libereMemoire() : can't release the address %p\n", _pMemoire);
     }
   }
   else
@@ -457,7 +457,7 @@ char *locate_data_file(const char *const
   for(const char **p = data_directories;; p++)
   { char *pathname;
     if(*p == 0)
-    { const char *subdir = "/share/games/powermanga/";
+    { const char *subdir = "/share/powermanga/";
       pathname = &pathstring[0];
       /*pathname=(char *)malloc(strlen(nomprefix) + strlen(subdir) + strlen(name) + 1);
       if(pathname == 0)