summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdepim/kdepim-3.5.4-korganizer-use-sys-timezone.patch
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:06:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:06:23 +0900
commit40be1ebef7a688235d4730561908a02f10505385 (patch)
treeab182bf59496abaee2ddbf03d3e910bd37ae57e8 /mandriva/2010.2/kdepim/kdepim-3.5.4-korganizer-use-sys-timezone.patch
parentc169e89296c2d885faa5cdeba21dc35b10b2f583 (diff)
downloadtde-packaging-40be1ebef7a688235d4730561908a02f10505385.tar.gz
tde-packaging-40be1ebef7a688235d4730561908a02f10505385.zip
Removed obsolete Mandriva 2010 packaging files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'mandriva/2010.2/kdepim/kdepim-3.5.4-korganizer-use-sys-timezone.patch')
-rw-r--r--mandriva/2010.2/kdepim/kdepim-3.5.4-korganizer-use-sys-timezone.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/mandriva/2010.2/kdepim/kdepim-3.5.4-korganizer-use-sys-timezone.patch b/mandriva/2010.2/kdepim/kdepim-3.5.4-korganizer-use-sys-timezone.patch
deleted file mode 100644
index 8ed14fd3a..000000000
--- a/mandriva/2010.2/kdepim/kdepim-3.5.4-korganizer-use-sys-timezone.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- kdepim-3.5.4/korganizer/koprefsdialog.cpp-- 2006-07-27 19:50:56.000000000 +0200
-+++ kdepim-3.5.4/korganizer/koprefsdialog.cpp 2006-07-27 19:58:12.000000000 +0200
-@@ -193,13 +193,27 @@ class KOPrefsDialogTime : public KPrefsM
- pclose(f);
- }
- #else
-- if((f = fopen("/etc/timezone", "r")) != NULL) {
-- // get the currently set timezone
-- fgets(tempstring, 100, f);
-- tempstring[strlen(tempstring) - 1] = '\0';
-- sCurrentlySet = TQString(tempstring);
-- fclose(f);
-+ TQFile file( "/etc/sysconfig/clock" );
-+ if( file.exists())
-+ {
-+ TQString line;
-+ if ( file.open( IO_ReadOnly ) ) {
-+ TQTextStream stream( &file );
-+ while ( !stream.atEnd() )
-+ {
-+ line = stream.readLine(); // line of text excluding '\n'
-+ if( line.contains("ZONE")!=0)
-+ {
-+ line = line.remove("ZONE=");
-+ break;
-+ }
-+ }
-+ file.close();
-+ }
-+ if(!line.isEmpty())
-+ sCurrentlySet = line;
- }
-+
- #endif // !USE_SOLARIS
-
- mTimeZoneCombo->insertItem(i18n("[No selection]"));