Control: tags -1 patch
Hi,
In Ubuntu, the attached patch was applied to achieve the following:
* d/p/fix-mycalendar-test.patch: Cherrypick upstream fix for failing
myCalendar test, fixing FTBFS on rebuild.
Thanks for considering the patch.
Logan
diff -Nru awl-0.62/debian/patches/fix-mycalendar-test.patch
awl-0.62/debian/patches/fix-mycalendar-test.patch
--- awl-0.62/debian/patches/fix-mycalendar-test.patch 1969-12-31
19:00:00.000000000 -0500
+++ awl-0.62/debian/patches/fix-mycalendar-test.patch 2022-08-20
23:35:14.000000000 -0400
@@ -0,0 +1,13 @@
+diff --git a/tests/myCalendarTest.php b/tests/myCalendarTest.php
+index
aa1795a027a57c36add737fa1474cb99658d0c9c..3d795147f234e298498e7444e54c386fb9df5ab3
100644
+--- a/tests/myCalendarTest.php
++++ b/tests/myCalendarTest.php
+@@ -58,7 +58,7 @@ class myCalendarTest extends PHPUnit_Framework_TestCase {
+
+ $data =
explode("\n",$this->getData('tests/data/0244-MOZ-POST-FB.test'));
+
+- $data = implode($data, "\r\n");
++ $data = implode("\r\n", $data);
+
+ $mycalendar = new vCalendar($data);
+ // foreach($mycalendar->GetComponents() as $comp){
diff -Nru awl-0.62/debian/patches/series awl-0.62/debian/patches/series
--- awl-0.62/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
+++ awl-0.62/debian/patches/series 2022-08-20 23:35:37.000000000 -0400
@@ -0,0 +1 @@
+fix-mycalendar-test.patch