Bug 237871 - x11/gmrun: fix build with GCC-based architectures
Summary: x11/gmrun: 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: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 09:13 UTC by Piotr Kubaj
Modified: 2019-05-27 11:44 UTC (History)
1 user (show)

See Also:
garga: maintainer-feedback+


Attachments
patch (1.18 KB, patch)
2019-05-13 09:13 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (garga)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 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 2019-05-13 11:34:11 UTC
Approved. Thank you!
Comment 2 commit-hook freebsd_committer 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