Hello community,

here is the log from the commit of package libsigrok for openSUSE:Factory 
checked in at 2020-09-16 19:36:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsigrok (Old)
 and      /work/SRC/openSUSE:Factory/.libsigrok.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsigrok"

Wed Sep 16 19:36:12 2020 rev:14 rq:834767 version:0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsigrok/libsigrok.changes      2020-02-04 
19:53:54.229340866 +0100
+++ /work/SRC/openSUSE:Factory/.libsigrok.new.4249/libsigrok.changes    
2020-09-16 19:36:49.814640944 +0200
@@ -1,0 +2,5 @@
+Tue Sep 15 06:52:30 UTC 2020 - Jiri Slaby <[email protected]>
+
+- add 0001-tests-strutil-use-ck_assert.patch to fix build
+
+-------------------------------------------------------------------

New:
----
  0001-tests-strutil-use-ck_assert.patch

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

Other differences:
------------------
++++++ libsigrok.spec ++++++
--- /var/tmp/diff_new_pack.oRy8RT/_old  2020-09-16 19:36:52.626643544 +0200
+++ /var/tmp/diff_new_pack.oRy8RT/_new  2020-09-16 19:36:52.630643547 +0200
@@ -29,6 +29,7 @@
 Source1:        sigrok-mime.xml
 Patch0:         0001-Use-pkg-config-for-rpc-library-detection.patch
 Patch1:         LTO-linking-fix.patch
+Patch2:         0001-tests-strutil-use-ck_assert.patch
 BuildRequires:  alsa-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -104,8 +105,7 @@
 libraries.
 
 %prep
-%setup -q
-%autopatch -p1
+%autosetup -p1
 # avoid autoconf/automake rerun
 touch aclocal.m4 Makefile.in configure
 

++++++ 0001-tests-strutil-use-ck_assert.patch ++++++
From: Jiri Slaby <[email protected]>
Date: Tue, 15 Sep 2020 08:50:48 +0200
Subject: tests: strutil, use ck_assert
Patch-mainline: submitted 2020/09/15
References: build fix

We pass no message, so use ck_assert instead of ck_assert_msg.

Signed-off-by: Jiri Slaby <[email protected]>
---
 tests/strutil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/strutil.c b/tests/strutil.c
index fca70eaaee36..ec2233329b76 100644
--- a/tests/strutil.c
+++ b/tests/strutil.c
@@ -154,7 +154,7 @@ START_TEST(test_locale)
        fprintf(stderr, "Old locale = %s\n", old_locale);
        /* Copy the name so it won’t be clobbered by setlocale. */
        saved_locale = g_strdup(old_locale);
-       ck_assert_msg(saved_locale != NULL);
+       ck_assert(saved_locale != NULL);
 
 #ifdef _WIN32
        /*
-- 
2.28.0


Reply via email to