0001-Fix-build-on-libtirpc-less-glibc.patch 766 B

123456789101112131415161718192021222324
  1. From: Berk Cakar <berk2238@hotmail.com>
  2. Date: Tue, 22 Jun 2021 20:19:32 +0300
  3. Subject: [PATCH] Fix build on libtirpc-less glibc
  4. ---
  5. lib/replace/wscript | 2 ++
  6. 1 file changed, 2 insertions(+)
  7. diff --git a/lib/replace/wscript b/lib/replace/wscript
  8. index 5d6324ef619..80afda75c96 100644
  9. --- a/lib/replace/wscript
  10. +++ b/lib/replace/wscript
  11. @@ -109,6 +109,7 @@ def configure(conf):
  12. conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h')
  13. conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h')
  14. + conf.CHECK_CODE('', headers='rpc/rpc.h rpcsvc/yp_prot.h', define='HAVE_RPCSVC_YP_PROT_H')
  15. conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h')
  16. conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h')
  17. --
  18. 2.24.3 (Apple Git-128)