Accepting request 182226 from home:k0da:ppc
- enable backtrace for x86 only redis-x86-backtrace.patch OBS-URL: https://build.opensuse.org/request/show/182226 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=41
This commit is contained in:
parent
65e863b0a9
commit
064a3a04b6
16
redis-x86-backtrace.patch
Normal file
16
redis-x86-backtrace.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Index: redis-2.6.9/src/config.h
|
||||||
|
===================================================================
|
||||||
|
--- redis-2.6.9.orig/src/config.h
|
||||||
|
+++ redis-2.6.9/src/config.h
|
||||||
|
@@ -54,9 +54,11 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Test for backtrace() */
|
||||||
|
+#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__)
|
||||||
|
#if defined(__APPLE__) || defined(__linux__) || defined(__sun)
|
||||||
|
#define HAVE_BACKTRACE 1
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/* Test for polling API */
|
||||||
|
#ifdef __linux__
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 4 16:10:47 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- enable backtrace for x86 only
|
||||||
|
redis-x86-backtrace.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 24 14:15:49 UTC 2013 - vjt@openssl.it
|
Mon Jun 24 14:15:49 UTC 2013 - vjt@openssl.it
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ Patch1: %{name}-conf.patch
|
|||||||
# PATCH-FIX-UPSTREAM -- Fixed AOF: Server should have been started: Expected '1' to equal or match '0'
|
# PATCH-FIX-UPSTREAM -- Fixed AOF: Server should have been started: Expected '1' to equal or match '0'
|
||||||
Patch2: skip-aof-test.patch
|
Patch2: skip-aof-test.patch
|
||||||
# for make test
|
# for make test
|
||||||
|
Patch3: redis-x86-backtrace.patch
|
||||||
BuildRequires: tcl
|
BuildRequires: tcl
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -54,6 +55,7 @@ different kind of sorting abilities.
|
|||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
|
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
|
||||||
|
Loading…
Reference in New Issue
Block a user