On Sun, 27 May 2018, 22:17 Landry Breuil, <lan...@openbsd.org> wrote:
> On Sun, May 27, 2018 at 10:01:22PM +0200, Landry Breuil wrote: > > On Sun, May 27, 2018 at 09:56:25PM +0200, Landry Breuil wrote: > > > On Sun, May 27, 2018 at 09:41:26PM +0200, viq wrote: > > > > On Sun, May 27, 2018 at 10:19 AM, Landry Breuil <lan...@openbsd.org> > wrote: > > > > > > > > > On Sun, May 27, 2018 at 09:59:49AM +0200, viq wrote: > > > > > > Currently davical is broken with PHP 7 due to old version of AWL > that > > > > > > doesn't work there. > > > > > > I'll try and cook up an update, but feel free to beat me to it ;) > > > > > > > > > > Per https://gitlab.com/davical-project/awl/blob/master/ChangeLog > there's > > > > > been some php7 changes, how 'broken' is davical ? > > > > > > > > > > > > > Getting 408 and following error: > > > > PHP message: PHP Fatal error: 'break' not in the 'loop' or 'switch' > > > > context in /awl/inc/AwlQuery.php on line 261 > > > > and sync clients don't work, so "very". > > > > > > > > > > > > > https://gitlab.com/davical-project/awl/issues/11 ? one of > > > > > https://gitlab.com/davical-project/awl/issues ? > > > > > > > > > > > > This specific error seems to be addressed by > > > > https://gitlab.com/davical-project/awl/merge_requests/6 > > > > > > Good, so a first shot would be to update to 0.56 as it contains this > MR, > > > and then eventually updating awk & davical together in a second time. > > > > Oh well according to > > > https://gitlab.com/davical-project/davical/commit/348532e13b8a8377aa069bdd1cb98eb5d9f00da9 > > davical needs an update too to work with php7. Blarf. > > So here are two quick diffs, totally untested yet, but cant be worse > than being broken with php 7. > I may have gotten rusty, but those diffs fail to apply for me. >