Noticed a couple more FreeBSD related issues when trying to build.
#1
For FreeBSD, I was unable to configure (cmake) with any references to DL_LIB existing in the CMakeLists.txt file.
After removing these, game builds and runs fine.
NOTE: Also commented out the vegaserver related stuff to get past an error during config but I don't believe
this is FreeBSD specific?
#2
vegastrike/src/cmd/basecomputer.cpp:3119
change:
#if defined (__FREEBSD__) || defined (__APPLE__)
static int nodirs( struct dirent *entry )
#else
static int nodirs( const struct dirent * entry )
#endif
to:
#if defined (__APPLE__)
static int nodirs( struct dirent *entry )
#else
static int nodirs( const struct dirent * entry )
#endif
#3
vegastrike/src/cmd/basecomputer.cpp:3119
change:
#if (defined (_WIN32) && !defined (__CYGWIN__ ) ) || (defined (__GLIBC_MINOR__) && __GLIBC_MINOR__ >= 10) || defined(__HAIKU__)
typedef int (*scancompare)( const struct dirent **v1, const struct dirent **v2 );
#else
typedef int (*scancompare)( const void *v1, const void *v2 );
#endif
to:
#if (defined __FREEBSD__) || (defined (_WIN32) && !defined (__CYGWIN__ ) ) || (defined (__GLIBC_MINOR__) && __GLIBC_MINOR__ >= 10) || defined(__HAIKU__)
typedef int (*scancompare)( const struct dirent **v1, const struct dirent **v2 );
#else
typedef int (*scancompare)( const void *v1, const void *v2 );
#endif
Great game and glad to see this game able to run on FreeBSD, keep up the great work guys!
-segfault-
Anonymous
thanks for the bug reports and fixes :) Not sure if klauss has seen this yet or made the changes yet so I will leave this for him while I hunt down more data bugs
Yep, I did.
I thought I had closed this one... weird...
No problem, thanks for the prompt fixes. Will do some more testing intermittently as I have time to do so.