diff options
Diffstat (limited to 'abs/core/mythtv/stable-0.25/mythtv/myth_settings-2.patch')
-rwxr-xr-x | abs/core/mythtv/stable-0.25/mythtv/myth_settings-2.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythtv/myth_settings-2.patch b/abs/core/mythtv/stable-0.25/mythtv/myth_settings-2.patch deleted file mode 100755 index 4e83473..0000000 --- a/abs/core/mythtv/stable-0.25/mythtv/myth_settings-2.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/mythtv/programs/mythutil/settingsutils.cpp b/mythtv/programs/mythutil/settingsutils.cpp -index ff7e509..d229f27 100644 ---- a/mythtv/programs/mythutil/settingsutils.cpp -+++ b/mythtv/programs/mythutil/settingsutils.cpp -@@ -382,6 +382,17 @@ static int ImportSettings(const MythUtilCommandLineParser &cmdline) - else - value_pair_map[record_element.nodeName()] = record_element.text(); - } -+ if (import_filename.endsWith("syssettings.xml")) -+ { -+ if ( value_pair_map["value"] == "BackendServerIP") -+ { -+ out_string = "sysettings, ignoring backendserver ip record"; -+ cout << out_string.toLocal8Bit().constData() << endl; -+ } -+ else -+ gCoreContext->import_settings(value_pair_map,table_name); -+ } -+ else - //perform insert - gCoreContext->import_settings(value_pair_map,table_name); - } -@@ -454,7 +465,6 @@ static int ExportSettings(const MythUtilCommandLineParser &cmdline) - QDomElement tag = doc.createElement(y.key()); - record.appendChild(tag); - QDomText t; -- - if ( distro_default == TRUE ) - { // If exporting distro_default then change hostname + table - if ( y.key() == "hostname" ) -@@ -500,6 +510,7 @@ static int ExportSettings(const MythUtilCommandLineParser &cmdline) - } - } - QFile file( export_filename ); -+ - if( !file.open(QIODevice::WriteOnly) ) - return -1; - |