security/libsparkcrypto: Fix on i386
The source was trying to perform nested inlines on i386 which is no longer allowed by GCC5. Reported by: pkg-fallout
This commit is contained in:
parent
666e04576d
commit
8326b6873a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391357
@ -14,6 +14,7 @@ LICENSE= BSD3CLAUSE
|
||||
|
||||
USES= ada dos2unix gmake tar:tgz
|
||||
DOS2UNIX_FILES= Makefile build/libsparkcrypto.gpr \
|
||||
src/shared/generic/lsc-byteswap64.ads \
|
||||
src/shared/generic/lsc-types.ads
|
||||
SPARKARCH:= ${ARCH:S/amd64/x86_64/:S/i386/i686/}
|
||||
ALL_TARGET= all build
|
||||
|
@ -0,0 +1,9 @@
|
||||
--- src/shared/generic/lsc-byteswap64.ads.orig 2015-07-05 09:06:26 UTC
|
||||
+++ src/shared/generic/lsc-byteswap64.ads
|
||||
@@ -44,6 +44,5 @@ package LSC.Byteswap64 is
|
||||
|
||||
-- Byte-swap @Value@
|
||||
function Swap (Value : Types.Word64) return Types.Word64;
|
||||
- pragma Inline (Swap);
|
||||
|
||||
end LSC.Byteswap64;
|
Loading…
Reference in New Issue
Block a user