diff --git a/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-11.0.1-983-fixed-failure-to-broswe-for-smb-shares.patch b/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-11.0.1-983-fixed-failure-to-broswe-for-smb-shares.patch new file mode 100644 index 0000000000..24af12df39 --- /dev/null +++ b/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-11.0.1-983-fixed-failure-to-broswe-for-smb-shares.patch @@ -0,0 +1,36 @@ +From f52dd9a555e8e4b087ec6fbf040dc1f1155c4136 Mon Sep 17 00:00:00 2001 +From: "S. Davilla" +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 + diff --git a/packages/mediacenter/xbmc-rpi/patches/xbmc-rpi-d8a02e0-983-fixed-failure-to-broswe-for-smb-shares.patch b/packages/mediacenter/xbmc-rpi/patches/xbmc-rpi-d8a02e0-983-fixed-failure-to-broswe-for-smb-shares.patch new file mode 100644 index 0000000000..3236fbe9cc --- /dev/null +++ b/packages/mediacenter/xbmc-rpi/patches/xbmc-rpi-d8a02e0-983-fixed-failure-to-broswe-for-smb-shares.patch @@ -0,0 +1,36 @@ +From f52dd9a555e8e4b087ec6fbf040dc1f1155c4136 Mon Sep 17 00:00:00 2001 +From: "S. Davilla" +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 + diff --git a/packages/mediacenter/xbmc/patches/xbmc-11.0.1-983-fixed-failure-to-broswe-for-smb-shares.patch b/packages/mediacenter/xbmc/patches/xbmc-11.0.1-983-fixed-failure-to-broswe-for-smb-shares.patch new file mode 100644 index 0000000000..24af12df39 --- /dev/null +++ b/packages/mediacenter/xbmc/patches/xbmc-11.0.1-983-fixed-failure-to-broswe-for-smb-shares.patch @@ -0,0 +1,36 @@ +From f52dd9a555e8e4b087ec6fbf040dc1f1155c4136 Mon Sep 17 00:00:00 2001 +From: "S. Davilla" +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 +