Bug 237175

Summary: x11/xfce4-screenshooter-plugin: fix build with GCC-based 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, pkubaj
Priority: --- Flags: madpilot: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-04-10 07:48:15 UTC
Created attachment 203557 [details]
patch

Sources use C99 features but GCC 4.2 by default compiles in C89. Set USE_CSTD=c99 to fix build.

Tested on powerpc64 and amd64.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2019-04-10 09:38:52 UTC
Going to perform some testing before committing.

Thanks for the patch!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-04-10 20:53:02 UTC
A commit references this bug:

Author: madpilot
Date: Wed Apr 10 20:52:58 UTC 2019
New revision: 498598
URL: https://svnweb.freebsd.org/changeset/ports/498598

Log:
  Fix build with GCC-based architectures.

  PR:		237175
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/x11/xfce4-screenshooter-plugin/Makefile
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2019-04-10 20:54:08 UTC
Committed. Thanks!