Package: libterralib Version: 3.3.1-1 Severity: important Tags: patch User: glibc-bsd-de...@lists.alioth.debian.org Usertags: kfreebsd
Hi, please find attached a patch to fix FTBFS on GNU/kFreeBSD. A similar defined() on __GNU__ might help GNU/Hurd people, but I didn't check the build on such a platform. Thanks for considering. Mraw, KiBi.
--- a/src/terralib/kernel/TeDefines.h +++ b/src/terralib/kernel/TeDefines.h @@ -49,7 +49,7 @@ of this library and its documentation. #if defined( WIN32 ) || defined( __WIN32__ ) || defined ( _WIN32 ) || defined( WIN64 ) || defined( _WIN32_WCE ) #define TePLATFORM TePLATFORMCODE_MSWINDOWS -#elif defined( __LINUX__ ) || defined( linux ) || defined( __linux__ ) ||defined( __FreeBSD__ ) //FAMI +#elif defined( __LINUX__ ) || defined( linux ) || defined( __linux__ ) ||defined( __FreeBSD__ ) || defined( __GLIBC__ ) //FAMI #define TePLATFORM TePLATFORMCODE_LINUX #elif defined( __APPLE_CC__ ) || defined( APPLE_CC ) #define TePLATFORM TePLATFORMCODE_APPLE
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel