[Python-modules-commits] [python-llfuse] 05/09: From 4baa45092b0517cb905c0993610885f52a09c735 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath <Nikolaus at rath.org> Date: Thu, 8 Oct 2015 12:24:35 -0700 Subject: Force use of libattr1-dev API

Nikolaus Rath nikratio-guest at moszumanska.debian.org
Mon Feb 1 16:49:54 UTC 2016


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

nikratio-guest pushed a commit to branch master
in repository python-llfuse.

commit f1417ab403aefb0446f59018a8360afc3895b51b
Author: Nikolaus Rath <Nikolaus at rath.org>
Date:   Mon Feb 1 08:40:44 2016 -0800

    From 4baa45092b0517cb905c0993610885f52a09c735 Mon Sep 17 00:00:00 2001
    From: Nikolaus Rath <Nikolaus at rath.org>
    Date: Thu, 8 Oct 2015 12:24:35 -0700
    Subject: Force use of libattr1-dev API
    
    Forwarded: not-needed
    Last-Update: 2015-08-21
     Compilation under GNU/kFreeBSD fails because none of upstream's
     preprocessor macros matches this combination. It is also not clear
     how to properly test for the extended attribute API without
     introducing something heavyweight like autoconf. In Debian, however,
     the libattr1-dev API is available for all supported architectures,
     so it is safe to just hardcode the use of this API. This is what
     this patch does.
     .
    
    Patch-Name: force_xattr_api.diff
---
 src/llfuse.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/llfuse.h b/src/llfuse.h
index 159e712..1606745 100644
--- a/src/llfuse.h
+++ b/src/llfuse.h
@@ -12,18 +12,7 @@ the terms of the GNU LGPL.
 #define PLATFORM_BSD 2
 #define PLATFORM_DARWIN 3
 
-#ifdef __gnu_linux__
 #define PLATFORM PLATFORM_LINUX
-#elif __FreeBSD__
-#define PLATFORM PLATFORM_BSD
-#elif __NetBSD__
-#define PLATFORM PLATFORM_BSD
-#elif __APPLE__ && __MACH__
-#define PLATFORM PLATFORM_DARWIN
-#include "darwin_compat.h"
-#else
-#error "Unable to determine system (Linux/FreeBSD/NetBSD/Darwin)"
-#endif
 
 #include <fuse.h>
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-llfuse.git



More information about the Python-modules-commits mailing list