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)
Tue, Jun 11, 4:51 PM
Unknown Object (File)
Apr 29 2024, 2:04 PM
Unknown Object (File)
Apr 29 2024, 2:04 PM
Unknown Object (File)
Apr 24 2024, 2:49 AM
Unknown Object (File)
Apr 24 2024, 2:37 AM
Unknown Object (File)
Apr 20 2024, 3:55 PM
Unknown Object (File)
Dec 20 2023, 4:33 AM
Unknown Object (File)
Dec 1 2023, 5:18 PM
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.