[Bug 233616] sysutils/conky: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 28 19:02:24 UTC 2018


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

            Bug ID: 233616
           Summary: sysutils/conky: fix build with GCC-based architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot at FreeBSD.org
          Reporter: pkubaj at anongoth.pl
             Flags: maintainer-feedback?(madpilot at FreeBSD.org)
          Assignee: madpilot at FreeBSD.org

Created attachment 199648
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199648&action=edit
patch

GCC includes during compilation /usr/include/machine/md_var.h. This header has
a definition of void cpu_setup(u_int) which clashes with static short cpu_setup
in src/freebsd.cc. Change name of cpu_setup to conky_cpu_setup to fix
compilation.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

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


More information about the freebsd-ports-bugs mailing list