[Bug 227328] [PATCH] fix for archivers/snappy to compile with any external compiler

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 6 18:07:38 UTC 2018


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

            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 at FreeBSD.org
          Reporter: kennethsalerno at yahoo.com
             Flags: maintainer-feedback?(vanilla at FreeBSD.org)
          Assignee: vanilla at FreeBSD.org

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

Tested with llvm60 (CC=clang60), 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:
===>   snappy-1.1.6 depends on file: /usr/local/include/lzo/lzo1x.h - found

See attached patch for your review.

Thank you.

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


More information about the freebsd-ports-bugs mailing list