SHA256
1
0
forked from pool/redis

Accepting request 182467 from server:database

- enable backtrace for x86 and ia64 only
  redis-enable-bactrace-on-x86-and-ia64-only.patch (forwarded request 182466 from k0da)

OBS-URL: https://build.opensuse.org/request/show/182467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/redis?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2013-07-08 19:46:00 +00:00 committed by Git OBS Bridge
commit 021f22e1ea
3 changed files with 24 additions and 0 deletions

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 and ia64 only
redis-enable-bactrace-on-x86-and-ia64-only.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-enable-bactrace-on-x86-and-ia64-only.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