Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2018 18:07:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227328] [PATCH] fix for archivers/snappy to compile with any external compiler
Message-ID:  <bug-227328-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227328

            Bug ID: 227328
           Summary: [PATCH] fix for archivers/snappy to compile with any
                    external compiler
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vanilla@FreeBSD.org
          Reporter: kennethsalerno@yahoo.com
             Flags: maintainer-feedback?(vanilla@FreeBSD.org)
          Assignee: vanilla@FreeBSD.org

Created attachment 192293
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192293&action=
=3Dedit
Patch to fix compilation with external compilers

Tested with llvm60 (CC=3Dclang60), but this patch will address the following
error for any llvm version other than the system compiler in base:

In file included from snappy_unittest.cc:40:
./snappy-test.h:110:10: fatal error: 'lzo/lzo1x.h' file not found

Added a BUILD_DEPENDS and -I CFLAGS patch to Makefile to get this result
instead:
=3D=3D=3D>   snappy-1.1.6 depends on file: /usr/local/include/lzo/lzo1x.h -=
 found

See attached patch for your review.

Thank you.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227328-7788>