Bug 237040 - x11/decurs: fix build with GCC-based architectures
Summary: x11/decurs: 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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-05 11:16 UTC by Piotr Kubaj
Modified: 2019-04-07 01:45 UTC (History)
1 user (show)

See Also:


Attachments
patch (1.23 KB, patch)
2019-04-05 11:16 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-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