Date: Tue, 28 Apr 2020 16:51:51 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533255 - in head/net/neatvnc: . files Message-ID: <202004281651.03SGpplq042841@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Tue Apr 28 16:51:50 2020 New Revision: 533255 URL: https://svnweb.freebsd.org/changeset/ports/533255 Log: net/neatvnc: drop unsafe optimization for modern CPUs Reported by: Miguel Clara Added: head/net/neatvnc/files/ head/net/neatvnc/files/patch-default-target (contents, props changed) Modified: head/net/neatvnc/Makefile (contents, props changed) Modified: head/net/neatvnc/Makefile ============================================================================== --- head/net/neatvnc/Makefile Tue Apr 28 16:07:58 2020 (r533254) +++ head/net/neatvnc/Makefile Tue Apr 28 16:51:50 2020 (r533255) @@ -3,6 +3,7 @@ PORTNAME= neatvnc DISTVERSIONPREFIX= v DISTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= jbeich@FreeBSD.org Added: head/net/neatvnc/files/patch-default-target ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/neatvnc/files/patch-default-target Tue Apr 28 16:51:50 2020 (r533255) @@ -0,0 +1,24 @@ +Revert https://github.com/any1/neatvnc/commit/a43bb5d3d438 in favor of CPUTYPE. +Not all i386 and amd64 support AVX and not all armv6 support NEON. + +https://github.com/any1/wayvnc/issues/34 + +--- meson.build.orig 2020-02-21 23:04:19 UTC ++++ meson.build +@@ -19,16 +19,6 @@ if buildtype == 'release' or buildtype == 'plain' + c_args += '-DNDEBUG' + endif + +-cpu = host_machine.cpu_family() +- +-if cpu == 'x86_64' +- c_args += '-mavx' +-elif cpu == 'arm' +- c_args += '-mfpu=neon' +-endif +- +-add_project_arguments(c_args, language: 'c') +- + cc = meson.get_compiler('c') + + libm = cc.find_library('m', required: false)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004281651.03SGpplq042841>