3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/foundationdb/patches
Raphael Borun Das Gupta 450de176cf foundationdb: fix build: use glibc's gettid()
to avoid build error due to conflicting declaration:

    flow/Profiler.actor.cpp: In function 'uint64_t gettid()':
    flow/Profiler.actor.cpp:56:17: error: ambiguating new declaration of 'uint64_t gettid()'
      FILE* f;
                     ^
    In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/unistd.h:1170:0,
                     from ./flow/Platform.h:49,
                     from ./flow/flow.h:40,
                     from flow/Profiler.actor.cpp:39:
    /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/unistd_ext.h:34:16: note: old declaration '__pid_t gettid()'
     extern __pid_t gettid (void) __THROW;
                    ^~~~~~
2020-10-11 19:53:53 +02:00
..
clang-libcxx.patch
fix-scm-version.patch
gcc-fixes.patch foundationdb: fix build: use glibc's gettid() 2020-10-11 19:53:53 +02:00
ldflags-5.1.patch
ldflags-5.2.patch
ldflags-6.0.patch
suppress-clang-warnings.patch