Fixes for 64-bit linux, courtesy of Phil Toland
This commit is contained in:
parent
56ece164c7
commit
cce9f59058
2 changed files with 2 additions and 2 deletions
|
@ -347,7 +347,7 @@ static int open_database(const char* name, DBTYPE type, PortData* data, int* dbr
|
|||
|
||||
static int close_database(int dbref, PortData* data)
|
||||
{
|
||||
printf("Closing %d for port %d\n", dbref, (int)data->port);
|
||||
printf("Closing %d for port %p\n", dbref, data->port);
|
||||
|
||||
// Remove this database from our list
|
||||
if (del_dbref(data, dbref))
|
||||
|
|
|
@ -20,7 +20,7 @@ rm -rf system db-${DB_VER}
|
|||
## Untar and build everything
|
||||
tar -xzf db-${DB_VER}.tar.gz && \
|
||||
(cd db-${DB_VER}/build_unix && \
|
||||
../dist/configure --prefix=$WORKDIR --disable-shared && make && ranlib libdb-*.a && make install) && \
|
||||
../dist/configure --prefix=$WORKDIR --disable-shared --with-pic && make && ranlib libdb-*.a && make install) && \
|
||||
rm -rf db-${DB_VER}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue