Bug 237175 - x11/xfce4-screenshooter-plugin: fix build with GCC-based architectures
Summary: x11/xfce4-screenshooter-plugin: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-xfce (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 07:48 UTC by Piotr Kubaj
Modified: 2019-04-10 20:54 UTC (History)
3 users (show)

See Also:
madpilot: maintainer-feedback+


Attachments
patch (392 bytes, patch)
2019-04-10 07:48 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!