Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2015 18:35:55 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381430 - in head/security/libsparkcrypto: . files
Message-ID:  <201503161835.t2GIZtJ3062469@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Mar 16 18:35:54 2015
New Revision: 381430
URL: https://svnweb.freebsd.org/changeset/ports/381430
QAT: https://qat.redports.org/buildarchive/r381430/

Log:
  security/libsparkcrypto: Fix gcc5-aux support and stop stage building
  
  This port failed to build on gcc5-aux because 3 data types could not
  be inlined after an explicit pragma requested it (the pragmas were
  removed).
  
  I noticed half the port was building in the stage phase, so I changed
  the ALL_TARGET to make all of it build during the build phase.  This
  probably didn't need revbump, but I'm going to anyway to make sure the
  FreeBSD builders are still happy.

Added:
  head/security/libsparkcrypto/files/patch-src_shared_generic_lsc-types.ads   (contents, props changed)
Modified:
  head/security/libsparkcrypto/Makefile

Modified: head/security/libsparkcrypto/Makefile
==============================================================================
--- head/security/libsparkcrypto/Makefile	Mon Mar 16 17:56:59 2015	(r381429)
+++ head/security/libsparkcrypto/Makefile	Mon Mar 16 18:35:54 2015	(r381430)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libsparkcrypto
 PORTVERSION=	0.1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	http://senier.net/libsparkcrypto/
 
@@ -13,8 +13,10 @@ COMMENT=	Cryptographic library implement
 LICENSE=	BSD3CLAUSE
 
 USES=		ada dos2unix gmake tar:tgz
-DOS2UNIX_FILES=	Makefile build/libsparkcrypto.gpr
+DOS2UNIX_FILES=	Makefile build/libsparkcrypto.gpr \
+		src/shared/generic/lsc-types.ads
 SPARKARCH:=	${ARCH:S/amd64/x86_64/:S/i386/i686/}
+ALL_TARGET=	all build
 
 MAKE_ENV+=	SPARKARCH=${SPARKARCH} \
 		SPARK_DIR=${WRKSRC}/src/spark \

Added: head/security/libsparkcrypto/files/patch-src_shared_generic_lsc-types.ads
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/libsparkcrypto/files/patch-src_shared_generic_lsc-types.ads	Mon Mar 16 18:35:54 2015	(r381430)
@@ -0,0 +1,21 @@
+--- src/shared/generic/lsc-types.ads.orig	2015-03-16 17:16:28 UTC
++++ src/shared/generic/lsc-types.ads
+@@ -102,18 +102,14 @@ package LSC.Types is
+ 
+    -- Convert 32-bit word to 32-bit byte array
+    function Word32_To_Byte_Array32 (Value : Word32) return Byte_Array32_Type;
+-   pragma Inline (Word32_To_Byte_Array32);
+ 
+    -- Convert 32-bit byte array to 32-bit word
+    function Byte_Array32_To_Word32 (Value : Byte_Array32_Type) return Word32;
+-   pragma Inline (Byte_Array32_To_Word32);
+ 
+    -- Convert 64-bit word to 64-bit byte array
+    function Word64_To_Byte_Array64 (Value : Word64) return Byte_Array64_Type;
+-   pragma Inline (Word64_To_Byte_Array64);
+ 
+    -- Convert 64-bit byte array to 64-bit word
+    function Byte_Array64_To_Word64 (Value : Byte_Array64_Type) return Word64;
+-   pragma Inline (Byte_Array64_To_Word64);
+ 
+ end LSC.Types;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503161835.t2GIZtJ3062469>