]> git.pld-linux.org Git - packages/sheepdog.git/commitdiff
- fix missing declarations on ix86
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 25 Jul 2015 11:15:27 +0000 (13:15 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 25 Jul 2015 11:15:27 +0000 (13:15 +0200)
ix86-cpus.patch [new file with mode: 0644]
sheepdog.spec

diff --git a/ix86-cpus.patch b/ix86-cpus.patch
new file mode 100644 (file)
index 0000000..7c339c8
--- /dev/null
@@ -0,0 +1,15 @@
+--- sheepdog-sheepdog-c648986/include/compiler.h~      2014-10-31 07:32:03.000000000 +0100
++++ sheepdog-sheepdog-c648986/include/compiler.h       2015-07-25 13:14:37.507366860 +0200
+@@ -164,6 +164,12 @@
+ #define cpu_has_avx           cpu_has(X86_FEATURE_AVX)
+ #define cpu_has_osxsave               cpu_has(X86_FEATURE_OSXSAVE)
++#else
++
++#define cpu_has_ssse3           0
++#define cpu_has_avx           0
++#define cpu_has_osxsave               0
++
+ #endif /* __x86_64__ */
+ #endif        /* SD_COMPILER_H */
index 566eea6eec4e64195b6238dc7205c5b84b0de223..c6835a244742dbc23f88de18554ba9fdd49b2adb 100644 (file)
@@ -12,6 +12,7 @@ License:      GPL v2
 Group:         Applications/System
 Source0:       https://github.com/collie/sheepdog/tarball/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: 47f2381734a2e3f9ed4b10ef38254ba9
+Patch0:                ix86-cpus.patch
 URL:           http://www.osrg.net/sheepdog/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake
@@ -56,6 +57,7 @@ Bashowe dopełnianie składni dla polecenia dog z pakietu sheepdog.
 
 %prep
 %setup -q -n sheepdog-sheepdog-c648986
+%patch0 -p1
 
 %build
 %{__aclocal}
This page took 0.172888 seconds and 4 git commands to generate.