diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
commit | 119b59cd0df00269bfe51d906657193217b8c884 (patch) | |
tree | be4bc7f812a9df2c6b3f17e6c3cc9bfafad07253 /qpealarmclock | |
parent | c985a77fad25302d576fbcf92149c983887bc0b9 (diff) |
Remove the EOLN_NATIVE flag from a ton of files (patches & the like for which line ending conversions can break things).
BKrev: 41a5b1c6eA2OPeQrDQEgEwAmKXvQJg
Diffstat (limited to 'qpealarmclock')
-rw-r--r-- | qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch b/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch index e69de29bb2..bd69318a5c 100644 --- a/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch +++ b/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch @@ -0,0 +1,83 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- qpealarmclock_V1.0.4/AlarmDetails.h~fix-compile ++++ qpealarmclock_V1.0.4/AlarmDetails.h +@@ -64,25 +64,8 @@ + WEEKDAYS_IGNORE = 0xFF // do not change any days + }; + +- static const Weekdays flags[] = +- { +- WEEKDAYS_MONDAY, +- WEEKDAYS_TUESDAY, +- WEEKDAYS_WEDNSDAY, +- WEEKDAYS_THURSDAY, +- WEEKDAYS_FRIDAY, +- WEEKDAYS_SATURDAY, +- WEEKDAYS_SUNDAY +- }; +- +- static const AlarmDetails::Weekdays weekdaysGroups[] = +- { +- AlarmDetails::WEEKDAYS_NONE, +- AlarmDetails::WEEKDAYS_ALL, +- AlarmDetails::WEEKDAYS_WORKDAYS, +- AlarmDetails::WEEKDAYS_WEEKEND, +- AlarmDetails::WEEKDAYS_IGNORE +- }; ++ static const Weekdays flags[]; ++ static const AlarmDetails::Weekdays weekdaysGroups[]; + + AlarmDetails(int alarmNumberInit); + ~AlarmDetails(); +--- qpealarmclock_V1.0.4/AlarmDetails.cpp~fix-compile ++++ qpealarmclock_V1.0.4/AlarmDetails.cpp +@@ -3,22 +3,39 @@ + * + * Copyright (C) 2002 Dafydd Walters <dwalters@users.sourceforge.net> + * Modified by Anton Maslovsky <my-zaurus@narod.ru> 2003/01/28 +- * ++ * + * This program may be modified or redistributed under the terms of the GNU +- * General Public License (GPL), version 2 or later. A copy of the GNU GPL +- * should have accompanied the source code of this program. If not, please ++ * General Public License (GPL), version 2 or later. A copy of the GNU GPL ++ * should have accompanied the source code of this program. If not, please + * write to the Free Software Foundation Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * This program is distributed without any warranty. +- */ ++ */ + + #include "AlarmDetails.h" + #include <qpe/config.h> + #include <qpe/alarmserver.h> + +-const AlarmDetails::Weekdays AlarmDetails::flags[]; +-const AlarmDetails::Weekdays AlarmDetails::weekdaysGroups[]; ++const AlarmDetails::Weekdays AlarmDetails::flags[] = ++{ ++ WEEKDAYS_MONDAY, ++ WEEKDAYS_TUESDAY, ++ WEEKDAYS_WEDNSDAY, ++ WEEKDAYS_THURSDAY, ++ WEEKDAYS_FRIDAY, ++ WEEKDAYS_SATURDAY, ++ WEEKDAYS_SUNDAY ++}; ++ ++const AlarmDetails::Weekdays AlarmDetails::weekdaysGroups[] = ++{ ++ AlarmDetails::WEEKDAYS_NONE, ++ AlarmDetails::WEEKDAYS_ALL, ++ AlarmDetails::WEEKDAYS_WORKDAYS, ++ AlarmDetails::WEEKDAYS_WEEKEND, ++ AlarmDetails::WEEKDAYS_IGNORE ++}; + + AlarmDetails::AlarmDetails(int alarmNumberInit) : alarmNumber(alarmNumberInit) + { |