[Python-modules-commits] r34291 - in packages/python-llfuse/trunk/debian (3 files)

nikratio-guest at users.alioth.debian.org nikratio-guest at users.alioth.debian.org
Wed Sep 16 21:03:43 UTC 2015


    Date: Wednesday, September 16, 2015 @ 21:03:41
  Author: nikratio-guest
Revision: 34291

Added patches/mips_dev_t.diff to work around bug in mips/mipsel libc
(cf. https://sourceware.org/bugzilla/show_bug.cgi?id=17786).
Closes: #635197.

Added:
  packages/python-llfuse/trunk/debian/patches/mips_dev_t.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	2015-09-16 16:35:51 UTC (rev 34290)
+++ packages/python-llfuse/trunk/debian/changelog	2015-09-16 21:03:41 UTC (rev 34291)
@@ -1,3 +1,11 @@
+python-llfuse (0.41.1+dfsg-4) UNRELEASED; urgency=medium
+
+  * Added patches/mips_dev_t.diff to work around bug in mips/mipsel libc
+    (cf. https://sourceware.org/bugzilla/show_bug.cgi?id=17786).
+    Closes: #635197.
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Wed, 16 Sep 2015 13:59:11 -0700
+
 python-llfuse (0.41.1+dfsg-3) unstable; urgency=medium
 
   * Bumped Cython dependency to >= 0.21.1. Older versions don't have

Added: packages/python-llfuse/trunk/debian/patches/mips_dev_t.diff
===================================================================
--- packages/python-llfuse/trunk/debian/patches/mips_dev_t.diff	                        (rev 0)
+++ packages/python-llfuse/trunk/debian/patches/mips_dev_t.diff	2015-09-16 21:03:41 UTC (rev 34291)
@@ -0,0 +1,30 @@
+Forwarded: no
+Last-Update: 2015-09-16
+Author: Nikolaus Rath <Nikolaus at rath.org>
+Description: Work around bug in mips+mipsel libc
+
+On mips and mipsel, the st_dev and st_rdev members of struct stat do not
+have type dev_t. This breaks POSIX compatibility, but is difficult to fix
+(cf. https://sourceware.org/bugzilla/show_bug.cgi?id=17786).
+
+To work around the issue, we change the definition of struct stat that
+is used by Cython. Upstream is not interested in this change.
+
+--- a/Include/libc/sys/stat.pxd
++++ b/Include/libc/sys/stat.pxd
+@@ -17,13 +17,13 @@
+         S_IFDIR
+ 
+     struct stat:
+-        dev_t     st_dev
++        int       st_dev
+         ino_t     st_ino
+         mode_t    st_mode
+         nlink_t   st_nlink
+         uid_t     st_uid
+         gid_t     st_gid
+-        dev_t     st_rdev
++        int       st_rdev
+         off_t     st_size
+         blksize_t st_blksize
+         blkcnt_t  st_blocks

Modified: packages/python-llfuse/trunk/debian/patches/series
===================================================================
--- packages/python-llfuse/trunk/debian/patches/series	2015-09-16 16:35:51 UTC (rev 34290)
+++ packages/python-llfuse/trunk/debian/patches/series	2015-09-16 21:03:41 UTC (rev 34291)
@@ -1,3 +1,4 @@
 use-local-intersphinx-inventory.patch
 force_xattr_api.diff
 setattr_compat_patch.diff
+mips_dev_t.diff




More information about the Python-modules-commits mailing list