Page MenuHomeFreeBSD

security/steghide: fix build on GCC architectures
ClosedPublic

Authored by pkubaj on Aug 24 2019, 7:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 9:48 AM
Unknown Object (File)
Oct 31 2024, 5:30 PM
Unknown Object (File)
Oct 4 2024, 8:43 AM
Unknown Object (File)
Sep 5 2024, 5:51 AM
Unknown Object (File)
Aug 19 2024, 9:37 AM
Unknown Object (File)
Aug 17 2024, 6:17 PM
Unknown Object (File)
Aug 10 2024, 12:22 AM
Unknown Object (File)
Aug 10 2024, 12:22 AM
Subscribers
None

Details

Summary

Add -Wno-static-float-init only when clang is used. Also add USES=localbase.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This fails to build for me:

Graph.cc: In member function 'void Graph::printVerboseInfo()':
Graph.cc:226:26: error: 'ULONG_MAX' was not declared in this scope

unsigned long mindeg = ULONG_MAX ;
                       ^~~~~~~~~

Graph.cc:226:26: note: 'ULONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?

This fails to build for me:

Graph.cc: In member function 'void Graph::printVerboseInfo()':
Graph.cc:226:26: error: 'ULONG_MAX' was not declared in this scope

unsigned long mindeg = ULONG_MAX ;
                       ^~~~~~~~~

Graph.cc:226:26: note: 'ULONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?

Builds here:
https://talos.anongoth.pl/data/latest-per-pkg/steghide/0.5.1_7/powerpc64-default.log

This built on ppcports; I have no idea why it failed on my own machine.

This revision is now accepted and ready to land.Sep 13 2019, 12:03 PM
This revision was automatically updated to reflect the committed changes.