Remove the EOLN_NATIVE flag from a ton of files (patches & the like for which line...
[vuplus_openembedded] / qpealarmclock / qpealarmclock-1.0.4 / fix-compile.patch
index e69de29..bd69318 100644 (file)
@@ -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)
+ {