[Python-modules-commits] r26597 - in packages/python-llfuse/trunk/debian (3 files)
nikratio-guest at users.alioth.debian.org
nikratio-guest at users.alioth.debian.org
Thu Nov 28 05:19:34 UTC 2013
Date: Thursday, November 28, 2013 @ 05:19:33
Author: nikratio-guest
Revision: 26597
Added force_xattr_api.diff to support compilation under GNU/kFreeBSD.
Added:
packages/python-llfuse/trunk/debian/patches/force_xattr_api.diff
Modified:
packages/python-llfuse/trunk/debian/changelog
packages/python-llfuse/trunk/debian/patches/series
Modified: packages/python-llfuse/trunk/debian/changelog
===================================================================
--- packages/python-llfuse/trunk/debian/changelog 2013-11-28 04:21:27 UTC (rev 26596)
+++ packages/python-llfuse/trunk/debian/changelog 2013-11-28 05:19:33 UTC (rev 26597)
@@ -2,6 +2,7 @@
* Some cosmetic fixes to debian/
* Bumped standards version to 3.9.5, no other changes required.
+ * Added force_xattr_api.diff to support compilation under GNU/kFreeBSD.
-- Nikolaus Rath <Nikolaus at rath.org> Wed, 27 Nov 2013 20:19:13 -0800
Added: packages/python-llfuse/trunk/debian/patches/force_xattr_api.diff
===================================================================
--- packages/python-llfuse/trunk/debian/patches/force_xattr_api.diff (rev 0)
+++ packages/python-llfuse/trunk/debian/patches/force_xattr_api.diff 2013-11-28 05:19:33 UTC (rev 26597)
@@ -0,0 +1,30 @@
+Forwarded: not-needed
+Last-Update: 2013-11-27
+Author: Nikolaus Rath <Nikolaus at rath.org>
+Description: Force use of libattr1-dev API
+ 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.
+ .
+
+--- python-llfuse-0.40.orig/src/llfuse/capi.c
++++ python-llfuse-0.40/src/llfuse/capi.c
+@@ -7,14 +7,4 @@ This file is part of LLFUSE (http://pyth
+ LLFUSE can be distributed under the terms of the GNU LGPL.
+ */
+
+-#ifdef __gnu_linux__
+ #include "capi_linux.c"
+-#elif __FreeBSD__
+-#include "capi_freebsd.c"
+-#elif __APPLE__ && __MACH__
+-#include "capi_darwin.c"
+-#else
+-#error "Unable to determine system (Linux/FreeBSD/Darwin)"
+-#endif
+-
+-
Modified: packages/python-llfuse/trunk/debian/patches/series
===================================================================
--- packages/python-llfuse/trunk/debian/patches/series 2013-11-28 04:21:27 UTC (rev 26596)
+++ packages/python-llfuse/trunk/debian/patches/series 2013-11-28 05:19:33 UTC (rev 26597)
@@ -1 +1,2 @@
use-local-intersphinx-inventory.patch
+force_xattr_api.diff
More information about the Python-modules-commits
mailing list