diff --git a/amanda-3.4.2-fix-sse.patch b/amanda-3.4.2-fix-sse.patch index 6cfdfcf..6b58323 100644 --- a/amanda-3.4.2-fix-sse.patch +++ b/amanda-3.4.2-fix-sse.patch @@ -1,13 +1,15 @@ diff --git a/common-src/amutil.c b/common-src/amutil.c -index b46ad77..4b356d6 100644 +index 864d78f..25d9fca 100644 --- a/common-src/amutil.c +++ b/common-src/amutil.c -@@ -1904,6 +1904,9 @@ static int get_sse42(void) +@@ -2096,6 +2096,11 @@ static int get_sse42(void) #endif return (ecx >> 20) & 1; } -+#else /* if defined __x86_64__ || defined __i386__ ... */ -+static int get_sse42(void) { ++#else ++static int get_sse42(void) ++{ ++ return 0; +} #endif diff --git a/amanda.spec b/amanda.spec index eb63f1b..9d5182c 100644 --- a/amanda.spec +++ b/amanda.spec @@ -28,8 +28,8 @@ Patch2: amanda-3.1.1-tcpport.patch Patch3: amanda-3.2.0-config-dir.patch #Bugfix - solved problem with permission error message (#1257686) Patch4: amanda-3.3.9-hash-permission.patch -# Fails to build on non-x86 due to sse-related things. Reported upstream to -# amanda-hackers on 2017-01-31. +# Fails to build on non-x86 due to sse-related things. This patch comes from +# upstream. Patch5: amanda-3.4.2-fix-sse.patch License: BSD and GPLv3+ and GPLv2+ and GPLv2