Hello community,

here is the log from the commit of package crash for openSUSE:Factory checked 
in at 2014-05-17 21:43:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crash (Old)
 and      /work/SRC/openSUSE:Factory/.crash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crash"

Changes:
--------
--- /work/SRC/openSUSE:Factory/crash/crash.changes      2014-05-02 
13:54:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2014-05-17 
21:43:20.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 16 19:39:11 UTC 2014 - [email protected]
+
+- crash_enable_snappy_support.patch: enable snappy support.
+
+-------------------------------------------------------------------

New:
----
  crash_enable_snappy_support.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ crash.spec ++++++
--- /var/tmp/diff_new_pack.PQ7Wp2/_old  2014-05-17 21:43:21.000000000 +0200
+++ /var/tmp/diff_new_pack.PQ7Wp2/_new  2014-05-17 21:43:21.000000000 +0200
@@ -20,6 +20,14 @@
 %define scripts_version  2008-02-08
 %define gcore_version  2011-09-22
 
+%if 0%{!?have_snappy:1}
+%if 0%{?suse_version} >= 1310
+%define have_snappy 1
+%else
+%define have_snappy 0
+%endif
+%endif
+
 Name:           crash
 %ifarch ppc
 %define build_sial 0
@@ -71,12 +79,16 @@
 Patch12:        eppic-switch-to-system-lib.patch
 Patch13:        %{name}-patch-gdb.patch
 Patch14:        %{name}-x86_64-nested-nmi.patch
+Patch15:        %{name}_enable_snappy_support.patch
 Patch90:        %{name}-sial-ps-2.6.29.diff
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  libeppic-devel
 BuildRequires:  lzo-devel
 BuildRequires:  ncurses-devel
+%if %{have_snappy}
+BuildRequires:  snappy-devel
+%endif
 BuildRequires:  zlib-devel
 Requires:       /usr/bin/nm
 ExclusiveArch:  %ix86 x86_64 ia64 s390 s390x ppc64 ppc64le alpha
@@ -257,6 +269,9 @@
 %patch11 -p1
 %patch13 -p1
 %patch14 -p1
+%if %{have_snappy}
+%patch15 -p1
+%endif
 ## GDB patches
 for f in %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} \
        %{S:105} %{S:106} %{S:107} %{S:108} %{S:109} ; do

++++++ crash_enable_snappy_support.patch ++++++
From: Petr Tesarik <[email protected]>
Subject: enably snappy support
Patch-mainline: never, configurable default

Signed-off-by: Petr Tesarik <[email protected]>

---
 CFLAGS.extra  |    2 +-
 LDFLAGS.extra |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/CFLAGS.extra
+++ b/CFLAGS.extra
@@ -1 +1 @@
--DLZO
+-DLZO -DSNAPPY
--- a/LDFLAGS.extra
+++ b/LDFLAGS.extra
@@ -1 +1 @@
--llzo2
+-llzo2 -lsnappy
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to