Index: head/lang/io/Makefile =================================================================== --- head/lang/io/Makefile (revision 449835) +++ head/lang/io/Makefile (revision 449836) @@ -1,56 +1,54 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= io PORTVERSION= 2017.09.06 CATEGORIES= lang MAINTAINER= gahr@FreeBSD.org 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 USE_GITHUB= yes GH_ACCOUNT= stevedekorte MAKE_JOBS_UNSAFE=yes USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_GROUP= ADDONS OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.addons" post-patch: ${REINPLACE_CMD} -e 's/^[ ]*add_subdirectory/#&/' \ ${WRKSRC}/addons/CMakeLists.txt ${RM} ${WRKSRC}/modules/FindFreetype.cmake .for addon in ${ADDONS} ${ECHO} "add_subdirectory(${addon})" >> ${WRKSRC}/addons/CMakeLists.txt .endfor ${FIND} ${WRKSRC}/addons -name "*.bak" -o -name "*.orig" -delete post-install: ${FIND} -d ${STAGEDIR}${PREFIX}/lib/io/addons -type d -empty -delete ${FIND} ${STAGEDIR}${PREFIX}/lib/io/addons -type f -name "*.so" -exec \ ${STRIP_CMD} {} \; ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} do-test: cd ${BUILD_WRKSRC} && \ ./_build/binaries/io ${WRKSRC}/libs/iovm/tests/correctness/run.io .include Index: head/lang/io/files/patch-CMakeLists.txt =================================================================== --- head/lang/io/files/patch-CMakeLists.txt (nonexistent) +++ head/lang/io/files/patch-CMakeLists.txt (revision 449836) @@ -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") Property changes on: head/lang/io/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.c =================================================================== --- head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.c (nonexistent) +++ head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.c (revision 449836) @@ -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. + */ Property changes on: head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.h =================================================================== --- head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.h (nonexistent) +++ head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.h (revision 449836) @@ -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]; + }; Property changes on: head/lang/io/files/patch-addons_Oauth_source_Oauth_crypto.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/io/files/patch-libs_iovm_source_IoVersion.h =================================================================== --- head/lang/io/files/patch-libs_iovm_source_IoVersion.h (revision 449835) +++ head/lang/io/files/patch-libs_iovm_source_IoVersion.h (revision 449836) @@ -1,7 +1,7 @@ ---- 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 -#define IO_VERSION_STRING "20151111" +#define IO_VERSION_STRING "20170906" #endif