]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - python3/patches/00114-statvfs-f_flag-constants.patch
perl: Rebuild against libdb
[people/amarx/ipfire-3.x.git] / python3 / patches / 00114-statvfs-f_flag-constants.patch
CommitLineData
bf250edf
MT
1diff -up Python-3.3.0b1/Modules/posixmodule.c.statvfs-f_flag-constants Python-3.3.0b1/Modules/posixmodule.c
2--- Python-3.3.0b1/Modules/posixmodule.c.statvfs-f_flag-constants 2012-06-26 16:19:54.000000000 -0400
3+++ Python-3.3.0b1/Modules/posixmodule.c 2012-07-20 13:39:18.595546387 -0400
4@@ -11665,6 +11665,35 @@ all_ins(PyObject *d)
5 if (ins(d, "ST_NOSUID", (long)ST_NOSUID)) return -1;
6 #endif /* ST_NOSUID */
7
8+ /* GNU extensions */
9+#ifdef ST_NODEV
10+ if (ins(d, "ST_NODEV", (long)ST_NODEV)) return -1;
11+#endif /* ST_NODEV */
12+#ifdef ST_NOEXEC
13+ if (ins(d, "ST_NOEXEC", (long)ST_NOEXEC)) return -1;
14+#endif /* ST_NOEXEC */
15+#ifdef ST_SYNCHRONOUS
16+ if (ins(d, "ST_SYNCHRONOUS", (long)ST_SYNCHRONOUS)) return -1;
17+#endif /* ST_SYNCHRONOUS */
18+#ifdef ST_MANDLOCK
19+ if (ins(d, "ST_MANDLOCK", (long)ST_MANDLOCK)) return -1;
20+#endif /* ST_MANDLOCK */
21+#ifdef ST_WRITE
22+ if (ins(d, "ST_WRITE", (long)ST_WRITE)) return -1;
23+#endif /* ST_WRITE */
24+#ifdef ST_APPEND
25+ if (ins(d, "ST_APPEND", (long)ST_APPEND)) return -1;
26+#endif /* ST_APPEND */
27+#ifdef ST_NOATIME
28+ if (ins(d, "ST_NOATIME", (long)ST_NOATIME)) return -1;
29+#endif /* ST_NOATIME */
30+#ifdef ST_NODIRATIME
31+ if (ins(d, "ST_NODIRATIME", (long)ST_NODIRATIME)) return -1;
32+#endif /* ST_NODIRATIME */
33+#ifdef ST_RELATIME
34+ if (ins(d, "ST_RELATIME", (long)ST_RELATIME)) return -1;
35+#endif /* ST_RELATIME */
36+
37 /* FreeBSD sendfile() constants */
38 #ifdef SF_NODISKIO
39 if (ins(d, "SF_NODISKIO", (long)SF_NODISKIO)) return -1;