logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0002-Fix-build-without-symbol-versioning.patch (1060B)


  1. From 71ff6ec2055f486f2fe7578d5b3baeebee747e4d Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Wed, 3 Jul 2019 00:52:16 -0700
  4. Subject: [PATCH] Fix build without symbol versioning
  5. ---
  6. include/fuse.h | 6 +++++-
  7. 1 file changed, 5 insertions(+), 1 deletion(-)
  8. diff --git a/include/fuse.h b/include/fuse.h
  9. index 9e6c633..f584a54 100644
  10. --- a/include/fuse.h
  11. +++ b/include/fuse.h
  12. @@ -922,7 +922,11 @@ void fuse_lib_help(struct fuse_args *args);
  13. * `struct fuse_operations.init` handler.
  14. * @return the created FUSE handle
  15. */
  16. -#if FUSE_USE_VERSION == 30
  17. +#if FUSE_USE_VERSION == 31
  18. +struct fuse *fuse_new_31(struct fuse_args *args, const struct fuse_operations *op,
  19. + size_t op_size, void *private_data);
  20. +#define fuse_new(args, op, size, data) fuse_new_31(args, op, size, data)
  21. +#elif FUSE_USE_VERSION == 30
  22. struct fuse *fuse_new_30(struct fuse_args *args, const struct fuse_operations *op,
  23. size_t op_size, void *private_data);
  24. #define fuse_new(args, op, size, data) fuse_new_30(args, op, size, data)
  25. --
  26. 2.32.0