Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLCKit
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rman Garaman
VLCKit
Commits
dc29fcd5
Commit
dc29fcd5
authored
2 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
libvlc: smb2 compilation fix for 32bit runtime
parent
1b71bcf2
No related branches found
Branches containing commit
Tags
3.4.1b4
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Resources/MobileVLCKit/patches/0072-smb2-32-bit-compilation-fix.patch
+28
-0
28 additions, 0 deletions
...bileVLCKit/patches/0072-smb2-32-bit-compilation-fix.patch
with
28 additions
and
0 deletions
Resources/MobileVLCKit/patches/0072-smb2-32-bit-compilation-fix.patch
0 → 100644
+
28
−
0
View file @
dc29fcd5
From 51d2d2426d10e5725093c1eb0548eefac049b21b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <felix@feepk.net>
Date: Fri, 8 Apr 2022 14:13:52 +0200
Subject: [PATCH 72/72] smb2: 32-bit compilation fix
---
modules/access/smb2.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/access/smb2.c b/modules/access/smb2.c
index 3032627505..adb981039d 100644
--- a/modules/access/smb2.c
+++ b/modules/access/smb2.c
@@ -208,7 +208,11 @@
__attribute__((weak)) const t_socket *
smb2_get_fds(struct smb2_context *smb2, size_t *fd_count, int *timeout)
{
(void) timeout;
+#if defined (__i386__) || defined (__arm__)
+ static t_socket fd;
+#else
static thread_local t_socket fd;
+#endif
*fd_count = 1;
fd = smb2_get_fd(smb2);
--
2.32.0 (Apple Git-132)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment