Summary: | sysutils/xfce4-cpugraph-plugin: fix build on GCC architectures | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-xfce (Nobody) <xfce> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | linimon, madpilot, xfce | ||||
Priority: | --- | Flags: | madpilot:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Thanks for the report. I'll commit after some quick test. Committed. Thanks! A commit references this bug: Author: madpilot Date: Fri Jul 12 16:56:54 UTC 2019 New revision: 506482 URL: https://svnweb.freebsd.org/changeset/ports/506482 Log: Fix build on GCC architectures. PR: 239123 Submitted by: pkubaj Changes: head/sysutils/xfce4-cpugraph-plugin/Makefile |
Created attachment 205677 [details] patch After last update this port needs USE_CSTD=c99 to build with base GCC: cpu.c:573: error: 'for' loop initial declaration used outside C99 mode cpu.c: In function 'set_color': cpu.c:592: warning: 'gtk_widget_override_background_color' is deprecated (declared at /usr/local/include/gtk-3.0/gtk/gtkwidget.h:1150) cpu.c:593: warning: 'gtk_widget_override_background_color' is deprecated (declared at /usr/local/include/gtk-3.0/gtk/gtkwidget.h:1150)