Bug 232115 - devel/socket_wrapper: fix build on GCC-based architectures
Summary: devel/socket_wrapper: fix build on 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: 2018-10-09 10:21 UTC by Piotr Kubaj
Modified: 2018-10-28 09:43 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments
patch (762 bytes, patch)
2018-10-09 10:21 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 2018-10-09 10:21:45 UTC
Created attachment 197962 [details]
patch

Building with GCC requires adding to CFLAGS -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast.

Add it for architectures that use base GCC.

Tested on powerpc64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-10-28 09:43:29 UTC
A commit references this bug:

Author: linimon
Date: Sun Oct 28 09:42:44 UTC 2018
New revision: 483252
URL: https://svnweb.freebsd.org/changeset/ports/483252

Log:
  Fix build on GCC-based architectures.

  PR:		232115
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/devel/socket_wrapper/Makefile