From 0e1fbf5d77bffe4b8e3e160f9c23815713629a00 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Wed, 28 Nov 2018 16:26:30 +0100 Subject: [PATCH] Remove obsolete aarch64 patch Freerdp is built properly on aarch64 even without this patch and I don't see any differences of cmake parameters, or its output (in build.log). Also other distributions seems don't use such patch. So I suppose it is obsolete nowadays. --- freerdp-aarch64.patch | 22 ---------------------- freerdp.spec | 1 - 2 files changed, 23 deletions(-) delete mode 100644 freerdp-aarch64.patch diff --git a/freerdp-aarch64.patch b/freerdp-aarch64.patch deleted file mode 100644 index e760aaa..0000000 --- a/freerdp-aarch64.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Naur FreeRDP-be8f8f72387e7878717b6f04c9a87f999449d20d.old/cmake/ConfigOptions.cmake FreeRDP-be8f8f72387e7878717b6f04c9a87f999449d20d/cmake/ConfigOptions.cmake ---- FreeRDP-be8f8f72387e7878717b6f04c9a87f999449d20d.old/cmake/ConfigOptions.cmake 2015-11-11 12:54:34.000000000 +0100 -+++ FreeRDP-be8f8f72387e7878717b6f04c9a87f999449d20d/cmake/ConfigOptions.cmake 2015-11-15 11:40:13.639673908 +0100 -@@ -7,6 +7,8 @@ - elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (APPLE)) - # Mac is weird like that. - set(TARGET_ARCH "x64") -+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") -+ set(TARGET_ARCH "AARCH64") - elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm*") - set(TARGET_ARCH "ARM") - elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "sparc") -@@ -23,6 +25,9 @@ - option(WITH_SSE2 "Enable SSE2 optimization." OFF) - endif() - -+if(TARGET_ARCH MATCHES "AARCH64") -+endif() -+ - if(TARGET_ARCH MATCHES "ARM") - if (NOT DEFINED WITH_NEON) - option(WITH_NEON "Enable NEON optimization." ON) diff --git a/freerdp.spec b/freerdp.spec index c28b3c4..980a2f9 100644 --- a/freerdp.spec +++ b/freerdp.spec @@ -23,7 +23,6 @@ License: ASL 2.0 URL: http://www.freerdp.com/ Source0: https://github.com/FreeRDP/FreeRDP/archive/%{commit0}/FreeRDP-%{commit0}.tar.gz#/FreeRDP-%{shortcommit0}.tar.gz -Patch0: freerdp-aarch64.patch BuildRequires: gcc BuildRequires: gcc-c++