aboutsummaryrefslogtreecommitdiff
path: root/package/libfuse3/0001-remove-old-uclibc-hack.patch
blob: 79b2f8c65e92ec465d4c58a9b8bf4189ab043a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 4ebb018e78b53a8afe0368e7cd7a17a67c52e3df Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Wed, 28 Oct 2020 19:20:35 -0700
Subject: [PATCH] remove old uclibc hack

This actually prevents sshfs linking to it as fuse_new becomes
unavailable.

According to the git history, this seems to predate 2006.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[Retrieved from:
https://github.com/libfuse/libfuse/commit/4ebb018e78b53a8afe0368e7cd7a17a67c52e3df]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 lib/fuse_misc.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h
index a8b59617..f384aeab 100644
--- a/lib/fuse_misc.h
+++ b/lib/fuse_misc.h
@@ -10,10 +10,9 @@
 
 /*
   Versioned symbols cannot be used in some cases because it
-    - confuse the dynamic linker in uClibc
     - not supported on MacOSX (in MachO binary format)
 */
-#if (!defined(__UCLIBC__) && !defined(__APPLE__))
+#ifndef __APPLE__
 # if HAVE_SYMVER_ATTRIBUTE
 #  define FUSE_SYMVER(sym1, sym2) __attribute__ ((symver (sym2)))
 # else