svn commit: r449836 - in head/lang/io: . files

Pietro Cerutti gahr at FreeBSD.org
Thu Sep 14 12:41:18 UTC 2017


Author: gahr
Date: Thu Sep 14 12:41:16 2017
New Revision: 449836
URL: https://svnweb.freebsd.org/changeset/ports/449836

Log:
  lang/io: unbreak on i386

Added:
  head/lang/io/files/patch-CMakeLists.txt   (contents, props changed)
  head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.c   (contents, props changed)
  head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.h   (contents, props changed)
Modified:
  head/lang/io/Makefile
  head/lang/io/files/patch-libs_iovm_source_IoVersion.h

Modified: head/lang/io/Makefile
==============================================================================
--- head/lang/io/Makefile	Thu Sep 14 11:58:58 2017	(r449835)
+++ head/lang/io/Makefile	Thu Sep 14 12:41:16 2017	(r449836)
@@ -11,8 +11,6 @@ COMMENT=	Small prototype-based programming language
 LICENSE=	BSD3CLAUSE
 
 BROKEN_armv6=		fails to compile: ucontext.h: expected parameter declarator
-IGNORE_FreeBSD_10_i386=	needs SSE instructions
-IGNORE_FreeBSD_11_i386=	needs MMX instructions
 
 USES=		cmake:outsource,noninja compiler:c11 ssl
 

Added: head/lang/io/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/io/files/patch-CMakeLists.txt	Thu Sep 14 12:41:16 2017	(r449836)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2017-08-11 18:47:18 UTC
++++ CMakeLists.txt
+@@ -35,7 +35,7 @@ endif()
+ project(IoLanguage)
+ 
+ # Default config when building with gcc variants
+-IF(CMAKE_COMPILER_IS_GNUCC)
++IF(CMAKE_COMPILER_IS_GNUCC OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))
+ 	SET(CMAKE_BUILD_TYPE_DebugFast)
+ 	SET(CMAKE_CXX_FLAGS_DEBUGFAST "-g -O0")
+ 	SET(CMAKE_C_FLAGS_DEBUGFAST "-g -O0")

Added: head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.c	Thu Sep 14 12:41:16 2017	(r449836)
@@ -0,0 +1,11 @@
+--- addons/Oauth/source/Oauth/crypto.c.orig	2017-09-14 12:29:48 UTC
++++ addons/Oauth/source/Oauth/crypto.c
+@@ -658,7 +658,7 @@ void sha1_finalize(struct sha1_context *
+ 	sha1_update(self, bits, 8);
+ 
+ 	/* Store state in digest */
+-	SHA1Encode(digest, (uint32_t *)self->state, 20);
++	SHA1Encode(digest, self->state, 20);
+ 
+ 	/* Zeroize sensitive information.
+ 	 */

Added: head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.h	Thu Sep 14 12:41:16 2017	(r449836)
@@ -0,0 +1,11 @@
+--- addons/Oauth/source/Oauth/crypto.h.orig	2017-09-14 12:33:11 UTC
++++ addons/Oauth/source/Oauth/crypto.h
+@@ -16,7 +16,7 @@ struct md5_context
+ 
+ struct sha1_context
+ {
+-	unsigned long state[5];
++	uint32_t state[5];
+ 	unsigned long count[2];
+ 	unsigned char buffer[64];
+ };

Modified: head/lang/io/files/patch-libs_iovm_source_IoVersion.h
==============================================================================
--- head/lang/io/files/patch-libs_iovm_source_IoVersion.h	Thu Sep 14 11:58:58 2017	(r449835)
+++ head/lang/io/files/patch-libs_iovm_source_IoVersion.h	Thu Sep 14 12:41:16 2017	(r449836)
@@ -1,4 +1,4 @@
---- libs/iovm/source/IoVersion.h.orig	2017-09-13 11:47:59 UTC
+--- libs/iovm/source/IoVersion.h.orig	2017-08-11 18:47:18 UTC
 +++ libs/iovm/source/IoVersion.h
 @@ -1,3 +1,3 @@
  #ifndef IO_VERSION_STRING


More information about the svn-ports-all mailing list