mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
xbmc*: add upstrea patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f3b8395549
commit
ff4c1fdad6
@ -0,0 +1,36 @@
|
|||||||
|
From f52dd9a555e8e4b087ec6fbf040dc1f1155c4136 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "S. Davilla" <davilla@4pi.com>
|
||||||
|
Date: Sat, 21 Apr 2012 14:11:56 -0400
|
||||||
|
Subject: [PATCH] fixed, failure to broswe for smb shares. this hits all 1st
|
||||||
|
time installs
|
||||||
|
|
||||||
|
---
|
||||||
|
xbmc/filesystem/SmbFile.cpp | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xbmc/filesystem/FileSmb.cpp b/xbmc/filesystem/FileSmb.cpp
|
||||||
|
index 382553c..c390031 100644
|
||||||
|
--- a/xbmc/filesystem/FileSmb.cpp
|
||||||
|
+++ b/xbmc/filesystem/FileSmb.cpp
|
||||||
|
@@ -61,7 +61,6 @@ SMBCSRV* xb_smbc_cache(SMBCCTX* c, const char* server, const char* share, const
|
||||||
|
m_IdleTimeout = 0;
|
||||||
|
#endif
|
||||||
|
m_context = NULL;
|
||||||
|
- smbc_init(xb_smbc_auth, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
CSMB::~CSMB()
|
||||||
|
@@ -149,6 +148,10 @@ void CSMB::Init()
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ // reads smb.conf so this MUST be after we create smb.conf
|
||||||
|
+ // multiple smbc_init calls are ignored by libsmbclient.
|
||||||
|
+ smbc_init(xb_smbc_auth, 0);
|
||||||
|
+
|
||||||
|
#ifdef TARGET_WINDOWS
|
||||||
|
// set the log function
|
||||||
|
set_log_callback(xb_smbc_log);
|
||||||
|
--
|
||||||
|
1.7.10
|
||||||
|
|
@ -0,0 +1,36 @@
|
|||||||
|
From f52dd9a555e8e4b087ec6fbf040dc1f1155c4136 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "S. Davilla" <davilla@4pi.com>
|
||||||
|
Date: Sat, 21 Apr 2012 14:11:56 -0400
|
||||||
|
Subject: [PATCH] fixed, failure to broswe for smb shares. this hits all 1st
|
||||||
|
time installs
|
||||||
|
|
||||||
|
---
|
||||||
|
xbmc/filesystem/SmbFile.cpp | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xbmc/filesystem/SmbFile.cpp b/xbmc/filesystem/SmbFile.cpp
|
||||||
|
index 382553c..c390031 100644
|
||||||
|
--- a/xbmc/filesystem/SmbFile.cpp
|
||||||
|
+++ b/xbmc/filesystem/SmbFile.cpp
|
||||||
|
@@ -61,7 +61,6 @@ SMBCSRV* xb_smbc_cache(SMBCCTX* c, const char* server, const char* share, const
|
||||||
|
m_IdleTimeout = 0;
|
||||||
|
#endif
|
||||||
|
m_context = NULL;
|
||||||
|
- smbc_init(xb_smbc_auth, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
CSMB::~CSMB()
|
||||||
|
@@ -149,6 +148,10 @@ void CSMB::Init()
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ // reads smb.conf so this MUST be after we create smb.conf
|
||||||
|
+ // multiple smbc_init calls are ignored by libsmbclient.
|
||||||
|
+ smbc_init(xb_smbc_auth, 0);
|
||||||
|
+
|
||||||
|
#ifdef TARGET_WINDOWS
|
||||||
|
// set the log function
|
||||||
|
set_log_callback(xb_smbc_log);
|
||||||
|
--
|
||||||
|
1.7.10
|
||||||
|
|
@ -0,0 +1,36 @@
|
|||||||
|
From f52dd9a555e8e4b087ec6fbf040dc1f1155c4136 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "S. Davilla" <davilla@4pi.com>
|
||||||
|
Date: Sat, 21 Apr 2012 14:11:56 -0400
|
||||||
|
Subject: [PATCH] fixed, failure to broswe for smb shares. this hits all 1st
|
||||||
|
time installs
|
||||||
|
|
||||||
|
---
|
||||||
|
xbmc/filesystem/SmbFile.cpp | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xbmc/filesystem/FileSmb.cpp b/xbmc/filesystem/FileSmb.cpp
|
||||||
|
index 382553c..c390031 100644
|
||||||
|
--- a/xbmc/filesystem/FileSmb.cpp
|
||||||
|
+++ b/xbmc/filesystem/FileSmb.cpp
|
||||||
|
@@ -61,7 +61,6 @@ SMBCSRV* xb_smbc_cache(SMBCCTX* c, const char* server, const char* share, const
|
||||||
|
m_IdleTimeout = 0;
|
||||||
|
#endif
|
||||||
|
m_context = NULL;
|
||||||
|
- smbc_init(xb_smbc_auth, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
CSMB::~CSMB()
|
||||||
|
@@ -149,6 +148,10 @@ void CSMB::Init()
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ // reads smb.conf so this MUST be after we create smb.conf
|
||||||
|
+ // multiple smbc_init calls are ignored by libsmbclient.
|
||||||
|
+ smbc_init(xb_smbc_auth, 0);
|
||||||
|
+
|
||||||
|
#ifdef TARGET_WINDOWS
|
||||||
|
// set the log function
|
||||||
|
set_log_callback(xb_smbc_log);
|
||||||
|
--
|
||||||
|
1.7.10
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user