net-misc/freerdp: fix SIGILL with older CPUs
authorMike Gilbert <floppym@gentoo.org>
Sun, 10 Dec 2017 04:47:08 +0000 (23:47 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 10 Dec 2017 04:48:20 +0000 (23:48 -0500)
The WITH_SSE2 option actually enables SSSE3 code.

Package-Manager: Portage-2.3.17, Repoman-2.3.6_p24

net-misc/freerdp/freerdp-2.0.0_rc0.ebuild
net-misc/freerdp/freerdp-9999.ebuild

index 524d988f03e2f283d6ca5155be30b92adab8ad4c..25a544e24894332bbe0d6fd4024bf7cc44ba8dbd 100644 (file)
@@ -22,7 +22,7 @@ HOMEPAGE="http://www.freerdp.com/"
 
 LICENSE="Apache-2.0"
 SLOT="0/2"
-IUSE="alsa +client cpu_flags_x86_sse2 cups debug doc ffmpeg gstreamer jpeg libav libressl neon openh264 pulseaudio server smartcard systemd test usb wayland X xinerama xv"
+IUSE="alsa +client cpu_flags_x86_ssse3 cups debug doc ffmpeg gstreamer jpeg libav libressl neon openh264 pulseaudio server smartcard systemd test usb wayland X xinerama xv"
 
 RDEPEND="
        !libressl? ( dev-libs/openssl:0= )
@@ -113,7 +113,8 @@ src_configure() {
                -DWITH_SERVER=$(usex server)
                -DWITH_PCSC=$(usex smartcard)
                -DWITH_LIBSYSTEMD=$(usex systemd)
-               -DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+               # WITH_SSE2 actually enables code requiring SSSE3
+               -DWITH_SSE2=$(usex cpu_flags_x86_ssse3)
                -DWITH_X11=$(usex X)
                -DWITH_XINERAMA=$(usex xinerama)
                -DWITH_XV=$(usex xv)
index 4f99bd08f244dacb1238b7e8640ec08ea189b815..3c043ec465cdd80144cde96d5f00dc425eeacfdc 100644 (file)
@@ -22,7 +22,7 @@ HOMEPAGE="http://www.freerdp.com/"
 
 LICENSE="Apache-2.0"
 SLOT="0/2"
-IUSE="alsa +client cpu_flags_x86_sse2 cups debug doc ffmpeg gstreamer jpeg libav libressl neon openh264 pulseaudio server smartcard systemd test usb wayland X xinerama xv"
+IUSE="alsa +client cpu_flags_x86_ssse3 cups debug doc ffmpeg gstreamer jpeg libav libressl neon openh264 pulseaudio server smartcard systemd test usb wayland X xinerama xv"
 
 RDEPEND="
        !libressl? ( dev-libs/openssl:0= )
@@ -109,7 +109,8 @@ src_configure() {
                -DWITH_SERVER=$(usex server)
                -DWITH_PCSC=$(usex smartcard)
                -DWITH_LIBSYSTEMD=$(usex systemd)
-               -DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+               # WITH_SSE2 actually enables code requiring SSSE3
+               -DWITH_SSE2=$(usex cpu_flags_x86_ssse3)
                -DWITH_X11=$(usex X)
                -DWITH_XINERAMA=$(usex xinerama)
                -DWITH_XV=$(usex xv)