Bug 240662

Summary: net/sems: fix build on big-endian architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Nathan Whitehorn <nwhitehorn>
Status: Closed FIXED    
Severity: Affects Only Me CC: nwhitehorn
Priority: --- Flags: bugzilla: maintainer-feedback? (nwhitehorn)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (nwhitehorn)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-09-18 08:31:18 UTC
Created attachment 207598 [details]
patch

This port needs C++11 compiler:
cc1plus: error: unrecognized command line option "-std=c++11"

Additionally, it needs appropriate definitions for big-endian architectures:
/usr/local/poudriere/ports/default/net/sems/work/sems-7400051/core/plug-in/isac/libisac/typedefs.h:80:2: error: #error Please add support for your architecture in typedefs.h                                       
   80 | #error Please add support for your architecture in typedefs.h                                     
      |  ^~~~~
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-09-19 21:41:28 UTC
Approved as mentor pending maintainer action (builds on ppcports).
Comment 2 Nathan Whitehorn freebsd_committer freebsd_triage 2019-09-24 18:19:37 UTC
Patch looks great to me. Could you also submit upstream?
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2019-09-25 10:23:13 UTC
(In reply to Nathan Whitehorn from comment #2)
https://github.com/sems-server/sems/pull/134