[Bug 234557] www/gallery2: update to work with php72

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 2 06:10:20 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234557

            Bug ID: 234557
           Summary: www/gallery2: update to work with php72
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: mjl at luckie.org.nz
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

Created attachment 200693
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200693&action=edit
fix php syntax not valid in php 7.2

With the deprecation of php versions less than 7.1, www/gallery2 needs to be
updated to work.  The attached patch makes gallery2 work for me.  The error the
patch solves is:

[Wed Jan 02 17:47:26.801016 2019] [php7:error] [pid 36662] [client
192.168.3.23:50754] PHP Fatal error:  'break' not in the 'loop' or 'switch'
context in /usr/local/www/gallery2/lib/adodb/adodb-time.inc.php on line 1009

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list