[Bug 221609] audio/clementine-player: fix build on 12-CURRENT
    bugzilla-noreply at freebsd.org 
    bugzilla-noreply at freebsd.org
       
    Fri Aug 18 14:41:33 UTC 2017
    
    
  
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221609
            Bug ID: 221609
           Summary: audio/clementine-player: fix build on 12-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbruno at FreeBSD.org
          Reporter: pawel at FreeBSD.org
          Assignee: sbruno at FreeBSD.org
             Flags: maintainer-feedback?(sbruno at FreeBSD.org)
Created attachment 185550
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185550&action=edit
build fix
- Fix build on 12-CURRENT by adding -Wno-expansion-to-defined to CFLAGS:
In file included from src/core/application.cpp:28:
In file included from src/core/tagreaderclient.h:25:
In file included from ext/libclementine-tagreader/tagreadermessages.pb.h:9:
In file included from /usr/local/include/google/protobuf/stubs/common.h:45:
/usr/local/include/google/protobuf/stubs/port.h:263:5: error: macro expansion
producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
#if GOOGLE_PROTOBUF_USE_UNALIGNED
    ^
/usr/local/include/google/protobuf/stubs/port.h:259:40: note: expanded from
macro 'GOOGLE_PROTOBUF_USE_UNALIGNED'
# define GOOGLE_PROTOBUF_USE_UNALIGNED defined(_M_X64) || \
                                       ^
/usr/local/include/google/protobuf/stubs/port.h:263:5: error: macro expansion
producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/usr/local/include/google/protobuf/stubs/port.h:260:6: note: expanded from
macro 'GOOGLE_PROTOBUF_USE_UNALIGNED'
     defined(__x86_64__) || defined(_M_IX86) || defined(__i386__)
     ^
/usr/local/include/google/protobuf/stubs/port.h:263:5: error: macro expansion
producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/usr/local/include/google/protobuf/stubs/port.h:260:29: note: expanded from
macro 'GOOGLE_PROTOBUF_USE_UNALIGNED'
     defined(__x86_64__) || defined(_M_IX86) || defined(__i386__)
                            ^
/usr/local/include/google/protobuf/stubs/port.h:263:5: error: macro expansion
producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
/usr/local/include/google/protobuf/stubs/port.h:260:49: note: expanded from
macro 'GOOGLE_PROTOBUF_USE_UNALIGNED'
     defined(__x86_64__) || defined(_M_IX86) || defined(__i386__)
- Remove INSTALLS_ICONS, it's for GTK applications only
- Add missing dependencies found by stage-qa
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the freebsd-ports-bugs
mailing list