Bug 237871

Summary: x11/gmrun: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Only Me CC: garga
Priority: --- Flags: garga: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (garga)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-05-13 09:13:42 UTC
Created attachment 204350 [details]
patch

Add USES=compiler:c++11-lang.

Include cstring in src/ci_string.h.

Both are needed on GCC architectures.

While here, also add USES=gnome localbase:ldflags.
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2019-05-13 11:34:11 UTC
Approved. Thank you!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-05-27 11:36:14 UTC
A commit references this bug:

Author: garga
Date: Mon May 27 11:35:28 UTC 2019
New revision: 502783
URL: https://svnweb.freebsd.org/changeset/ports/502783

Log:
  x11/gmrun: Fix build with GCC architectures [1]

  - Add USES=compiler:c++11-lang [1]
  - Include cstring in src/ci_string.h [1]
  - Add USES=gnome localbase:ldflags [1]
  - While here, add mising dependencies and pet portlint

  PR:		237871 [1]
  Submitted by:	pkubaj@
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Changes:
  head/x11/gmrun/Makefile
  head/x11/gmrun/files/patch-src__gtkcompletionline.cc
  head/x11/gmrun/files/patch-src__gtkcompletionline.h
  head/x11/gmrun/files/patch-src_ci__string.h