Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 14:13:19 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547542 - in head/audio/supercollider: . files
Message-ID:  <202009041413.084EDJkW046820@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri Sep  4 14:13:19 2020
New Revision: 547542
URL: https://svnweb.freebsd.org/changeset/ports/547542

Log:
  audio/supercollider: fix build on non-x86
  
  1. Don't require WebEngine on non-x86.
  2. Fix AltiVec for powerpc(64).

Added:
  head/audio/supercollider/files/patch-external__libraries_nova-simd_vec_vec__int__altivec.hpp   (contents, props changed)
Modified:
  head/audio/supercollider/Makefile

Modified: head/audio/supercollider/Makefile
==============================================================================
--- head/audio/supercollider/Makefile	Fri Sep  4 14:08:32 2020	(r547541)
+++ head/audio/supercollider/Makefile	Fri Sep  4 14:13:19 2020	(r547542)
@@ -22,7 +22,7 @@ USES=		cmake compiler:c++11-lang iconv localbase pkgco
 		qt:5 readline shared-mime-info tar:bzip2 xorg
 USE_QT=		buildtools_build concurrent core declarative gui linguisttools location \
 		network opengl printsupport qmake_build sensors \
-		sql widgets webengine websockets webchannel svg
+		sql widgets websockets webchannel svg
 USE_XORG=	x11
 USE_LDCONFIG=	yes
 
@@ -53,7 +53,9 @@ SUPERNOVA_CMAKE_BOOL=	SUPERNOVA
 .include <bsd.port.pre.mk>
 
 .if ! ${ARCH} == amd64 && ! ${ARCH} == i386
-CMAKE_ARGS+=	-DSSE:BOOL=FALSE -DSSE2:BOOL=FALSE
+CMAKE_ARGS+=	-DSSE:BOOL=FALSE -DSSE2:BOOL=FALSE -DSC_USE_QTWEBENGINE:BOOL=FALSE
+.else
+USE_QT+=	webengine
 .endif
 
 .include <bsd.port.post.mk>

Added: head/audio/supercollider/files/patch-external__libraries_nova-simd_vec_vec__int__altivec.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/supercollider/files/patch-external__libraries_nova-simd_vec_vec__int__altivec.hpp	Fri Sep  4 14:13:19 2020	(r547542)
@@ -0,0 +1,11 @@
+--- external_libraries/nova-simd/vec/vec_int_altivec.hpp.orig	2020-09-03 23:55:08.848538000 +0200
++++ external_libraries/nova-simd/vec/vec_int_altivec.hpp	2020-09-03 23:58:16.614642000 +0200
+@@ -35,7 +35,7 @@
+     static ivec set_vector(int i)
+     {
+ #ifdef __GNUC__
+-        return (ivec){i, i, i, i};
++        return (ivec){static_cast<unsigned int>(i), static_cast<unsigned int>(i), static_cast<unsigned int>(i), static_cast<unsigned int>(i)};
+ #else
+ #error compiler not supported
+ #endif



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