[Python-modules-commits] r34293 - in packages/python-llfuse/trunk/debian/patches (1 file)

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


    Date: Wednesday, September 16, 2015 @ 21:33:03
  Author: nikratio-guest
Revision: 34293

One more try to get the mips patch right

Modified:
  packages/python-llfuse/trunk/debian/patches/mips_dev_t.diff

Modified: packages/python-llfuse/trunk/debian/patches/mips_dev_t.diff
===================================================================
--- packages/python-llfuse/trunk/debian/patches/mips_dev_t.diff	2015-09-16 21:21:18 UTC (rev 34292)
+++ packages/python-llfuse/trunk/debian/patches/mips_dev_t.diff	2015-09-16 21:33:03 UTC (rev 34293)
@@ -17,13 +17,14 @@
 
 --- a/Include/libc/sys/stat.pxd
 +++ b/Include/libc/sys/stat.pxd
-@@ -16,7 +16,23 @@
+@@ -16,7 +16,25 @@
          S_IFMT
          S_IFDIR
  
 -    struct stat:
 +IF UNAME_MACHINE.startswith('mips64'):
-+    cdef struct stat:
++    cdef extern from "sys/stat.h" nogil:
++      struct stat:
 +        int       st_dev
 +        ino_t     st_ino
 +        mode_t    st_mode
@@ -38,7 +39,8 @@
 +        time_t    st_mtime
 +        time_t    st_ctime
 +ELSE:
-+    cdef struct stat:
++    cdef extern from "sys/stat.h" nogil:
++      struct stat:
          dev_t     st_dev
          ino_t     st_ino
          mode_t    st_mode




More information about the Python-modules-commits mailing list