]> git.pld-linux.org Git - packages/qt5-qtbase.git/blob - qt5-qtbase-glibc.patch
- up to 5.11.1; docs are gone from this package
[packages/qt5-qtbase.git] / qt5-qtbase-glibc.patch
1 diff -up qtbase-everywhere-src-5.11.1/mkspecs/linux-g++/qplatformdefs.h.glibc qtbase-everywhere-src-5.11.1/mkspecs/linux-g++/qplatformdefs.h
2 --- qtbase-everywhere-src-5.11.1/mkspecs/linux-g++/qplatformdefs.h.glibc        2018-06-15 09:29:31.000000000 +0200
3 +++ qtbase-everywhere-src-5.11.1/mkspecs/linux-g++/qplatformdefs.h      2018-07-26 15:40:56.887961897 +0200
4 @@ -72,7 +72,9 @@
5  #include <sys/time.h>
6  #include <sys/shm.h>
7  #include <sys/socket.h>
8 +#if 0
9  #include <sys/stat.h>
10 +#endif
11  #include <sys/wait.h>
12  #include <netinet/in.h>
13  
14 diff -up qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp.glibc qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp
15 --- qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp.glibc        2018-06-15 09:29:31.000000000 +0200
16 +++ qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp      2018-07-26 16:34:54.346840184 +0200
17 @@ -50,7 +50,9 @@
18  #include <pwd.h>
19  #include <stdlib.h> // for realpath()
20  #include <sys/types.h>
21 +#if 0
22  #include <sys/stat.h>
23 +#endif
24  #include <unistd.h>
25  #include <stdio.h>
26  #include <errno.h>
27 @@ -91,7 +93,9 @@ extern "C" NSString *NSTemporaryDirector
28  #  include <sys/syscall.h>
29  #  include <sys/sendfile.h>
30  #  include <linux/fs.h>
31 +#if 0
32  #  include <linux/stat.h>
33 +#endif
34  
35  // in case linux/fs.h is too old and doesn't define it:
36  #ifndef FICLONE
37 @@ -105,13 +109,13 @@ extern "C" NSString *NSTemporaryDirector
38  #    undef SYS_renameat2
39  #    undef SYS_statx
40  #    undef STATX_BASIC_STATS
41 -#  else
42 -#    if !QT_CONFIG(renameat2) && defined(SYS_renameat2)
43 +#  else 
44 +#    if 0 && !QT_CONFIG(renameat2) && defined(SYS_renameat2)
45  static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newpath, unsigned flags)
46  { return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
47  #    endif
48  
49 -#    if !QT_CONFIG(statx) && defined(SYS_statx)
50 +#    if 0 && !QT_CONFIG(statx) && defined(SYS_statx)
51  static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf)
52  { return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); }
53  #    elif !QT_CONFIG(statx) && !defined(SYS_statx)
This page took 0.079998 seconds and 3 git commands to generate.