Project

General

Profile

Bug #591

strongsway 5.1.3 compile failure when --enable-padlock on FreeBSD 9.2

Added by Dewayne Geraghty about 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
freebsd
Target version:
Start date:
14.05.2014
Due date:
Estimated time:
Affected version:
5.1.3
Resolution:
Fixed

Description

The include file byteswap.h is not part of the base system.

Creating a file containing
bswap_32(x) __bswap32(x)
enabled a clean compilation.

I'd suggest inclusion of something like
http://cgit.haiku-os.org/haiku/plain/src/system/libroot/posix/glibc/string/byteswap.h
be added in your application tar file along with the change to
strongswan-5.1.3/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h
from #include <byteswap.h>
to #include "byteswap.h"
to use the more general location.
Regards, Dewayne.

Associated revisions

Revision fe4ed457 (diff)
Added by Tobias Brunner almost 4 years ago

padlock: Use builtin bswap32() to fix compilation on FreeBSD

Fixes #591.

History

#1 Updated by Tobias Brunner almost 4 years ago

  • Tracker changed from Issue to Bug
  • Category changed from build to freebsd
  • Status changed from New to Closed
  • Assignee set to Tobias Brunner
  • Target version set to 5.5.1
  • Resolution set to Fixed

Should be fixed with the associated commit.

Also available in: Atom PDF