[clfft] 01/32: Enable support for kFreeBSD.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Apr 26 08:34:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository clfft.

commit 29226258e596784e4ce27fed9871013c3322fe1d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Dec 5 11:26:45 2015 +0000

    Enable support for kFreeBSD.
    
    
    Gbp-Pq: Name Enable-support-for-kFreeBSD.patch
---
 src/include/sharedLibrary.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/sharedLibrary.h b/src/include/sharedLibrary.h
index 4e1751b..07d456e 100644
--- a/src/include/sharedLibrary.h
+++ b/src/include/sharedLibrary.h
@@ -52,7 +52,7 @@ inline void* LoadSharedLibrary( std::string unixPrefix, std::string libraryName,
   {
           std::cerr << ::dlerror( ) << std::endl;
   }
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD_kernel__)
         tstring freebsdName = unixPrefix;
         freebsdName += libraryName += ".so";
         void* fileHandle = ::dlopen( freebsdName.c_str( ), RTLD_NOW );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list