From 119b59cd0df00269bfe51d906657193217b8c884 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 25 Nov 2004 10:19:50 +0000 Subject: Remove the EOLN_NATIVE flag from a ton of files (patches & the like for which line ending conversions can break things). BKrev: 41a5b1c6eA2OPeQrDQEgEwAmKXvQJg --- .../qpealarmclock-1.0.4/fix-compile.patch | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) (limited to 'qpealarmclock') 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 + * Modified by Anton Maslovsky 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 + #include + +-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) + { -- cgit v1.2.3