SHA256
1
0
forked from pool/redis

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:
Tomáš Chvátal 2013-07-04 17:12:05 +00:00 committed by Git OBS Bridge
parent 2f7ef90de3
commit a2f0d3bed3
3 changed files with 24 additions and 0 deletions

16
redis-x86-backtrace.patch Normal file
View 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__

View File

@ -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

View File

@ -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'
Patch2: skip-aof-test.patch
# for make test
Patch3: redis-x86-backtrace.patch
BuildRequires: tcl
Requires: logrotate
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -54,6 +55,7 @@ different kind of sorting abilities.
%patch0
%patch1
%patch2
%patch3 -p1
%build
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1