Bug 237040

Summary: x11/decurs: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-04-05 11:16:26 UTC
Created attachment 203401 [details]
patch

Include stdarg.h in src/cppstring.cpp to fix build with GCC.

Also add USES=compiler:c++11-lang dos2unix (to fix patching cppstring.cpp) gnome.

Tested on powerpc64 and amd64.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-04-07 01:36:19 UTC
Committed, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-04-07 01:38:19 UTC
A commit references this bug:

Author: linimon
Date: Sun Apr  7 01:38:10 UTC 2019
New revision: 498230
URL: https://svnweb.freebsd.org/changeset/ports/498230

Log:
  Include stdarg.h in src/cppstring.cpp to fix build with GCC-based
  architectures:

    /usr/local/include/gtkmm-2.0/glibmm/thread.h: In function 'void Glib::thread_init(GThreadFunctions*)':

  Also add USES=dos2unix (to fix patching cppstring.cpp) gnome.

  PR:		237040
  Submitted by:	Piotr Kubaj

Changes:
  head/x11/decurs/Makefile
  head/x11/decurs/files/patch-src_cppstring.cc
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-04-07 01:45:26 UTC
A commit references this bug:

Author: linimon
Date: Sun Apr  7 01:44:32 UTC 2019
New revision: 498231
URL: https://svnweb.freebsd.org/changeset/ports/498231

Log:
  MFH: r498230

  Include stdarg.h in src/cppstring.cpp to fix build with GCC-based
  architectures:

    /usr/local/include/gtkmm-2.0/glibmm/thread.h: In function 'void Glib::thread_init(GThreadFunctions*)':

  Also add USES=dos2unix (to fix patching cppstring.cpp) gnome.

  PR:		237040
  Submitted by:	Piotr Kubaj

  Approved by:	portmgr (tier-2 blanket)

Changes:
_U  branches/2019Q2/
  branches/2019Q2/x11/decurs/Makefile
  branches/2019Q2/x11/decurs/files/patch-src_cppstring.cc