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, Mar 24, 4:02 AM
Unknown Object (File)
Sun, Mar 22, 11:27 PM
Unknown Object (File)
Wed, Mar 18, 2:43 AM
Unknown Object (File)
Tue, Mar 17, 6:50 AM
Unknown Object (File)
Feb 23 2026, 1:51 PM
Unknown Object (File)
Feb 22 2026, 11:26 PM
Unknown Object (File)
Jan 31 2026, 6:42 AM
Unknown Object (File)
Jan 31 2026, 3:48 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.