python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / package-management / checkinstall / readlink-types.patch
bloba860607fcf66b53bf3645e38f98729ded83ee4fb
1 Extracted from Arch's patch
2 https://projects.archlinux.org/svntogit/community.git/tree/trunk/build-fix.patch?h=packages/checkinstall
3 diff -wbBur checkinstall-1.6.2/installwatch/installwatch.c checkinstall-1.6.2.my/installwatch/installwatch.c
4 --- checkinstall-1.6.2/installwatch/installwatch.c 2008-11-16 19:20:53.000000000 +0300
5 +++ checkinstall-1.6.2.my/installwatch/installwatch.c 2010-01-15 18:55:50.112716628 +0300
6 @@ -2938,13 +2938,8 @@
7 return result;
10 -#if (GLIBC_MINOR <= 4)
11 -int readlink(const char *path,char *buf,size_t bufsiz) {
12 - int result;
13 -#else
14 ssize_t readlink(const char *path,char *buf,size_t bufsiz) {
15 ssize_t result;
16 -#endif
17 instw_t instw;
18 int status;