[Bug 202958] Fix www/varnish4 build with clang 3.7.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 7 21:30:07 UTC 2015


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

            Bug ID: 202958
           Summary: Fix www/varnish4 build with clang 3.7.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(feld at FreeBSD.org)
          Assignee: feld at FreeBSD.org

Created attachment 160823
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160823&action=edit
Fix left-shifting of negative value in varnish4's copy of libz

During the exp-run in bug 201377, it was found that www/varnish4 gives errors
with a recent clang 3.7.0 snapshot:

http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/varnish4-4.0.3_7.log

This is because it includes its own copy of libz, which does a left-shift on a
negative number, and that is undefined.  I propose a similar fix as went into
head very recently:

https://svnweb.freebsd.org/changeset/base/287541

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


More information about the freebsd-ports-bugs mailing list