[packages/libopensync-plugin-xmlformat] - check API fixes, release 4
qboosh
qboosh at pld-linux.org
Sun Sep 21 13:37:21 CEST 2025
commit 19c5c5950519356576fa1f7c1d537bc1f54fb451
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 21 13:40:22 2025 +0200
- check API fixes, release 4
libopensync-plugin-xmlformat-check.patch | 25 +++++++++++++++++++++++++
libopensync-plugin-xmlformat.spec | 4 +++-
2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/libopensync-plugin-xmlformat.spec b/libopensync-plugin-xmlformat.spec
index d5c9eda..25ebc92 100644
--- a/libopensync-plugin-xmlformat.spec
+++ b/libopensync-plugin-xmlformat.spec
@@ -2,12 +2,13 @@ Summary: OpenSync xmlformat Plugin
Summary(pl.UTF-8): Wtyczka xmlformat dla szkieletu OpenSync
Name: libopensync-plugin-xmlformat
Version: 0.39
-Release: 3
+Release: 4
License: LGPL v2.1+
Group: Libraries
# originally http://www.opensync.org/download/releases/%{version}/%{name}-%{version}.tar.bz2
Source0: %{name}-%{version}.tar.bz2
# Source0-md5: cd0563bb78b50f846b5970b360a49213
+Patch0: %{name}-check.patch
# dead domain
#URL: http://www.opensync.org/
BuildRequires: check-devel
@@ -41,6 +42,7 @@ Ten pakiet zawiera wtyczkę xmlformat dla szkieletu OpenSync.
%prep
%setup -q
+%patch -P0 -p1
%build
install -d build
diff --git a/libopensync-plugin-xmlformat-check.patch b/libopensync-plugin-xmlformat-check.patch
new file mode 100644
index 0000000..4243983
--- /dev/null
+++ b/libopensync-plugin-xmlformat-check.patch
@@ -0,0 +1,25 @@
+--- libopensync-plugin-xmlformat-0.39/tests/support.h.orig 2009-09-20 22:33:27.000000000 +0200
++++ libopensync-plugin-xmlformat-0.39/tests/support.h 2025-09-21 13:33:21.758817355 +0200
+@@ -11,5 +11,5 @@
+
+ char *setup_testbed(const char *fkt_name);
+ void destroy_testbed(char *path);
+-void create_case(Suite *s, const char *name, TFun function);
++void create_case(Suite *s, const char *name, TTest *test);
+
+--- libopensync-plugin-xmlformat-0.39/tests/support.c.orig 2009-09-20 22:33:27.000000000 +0200
++++ libopensync-plugin-xmlformat-0.39/tests/support.c 2025-09-21 13:33:44.002283980 +0200
+@@ -76,11 +76,11 @@ void destroy_testbed(char *path)
+ g_free(path);
+ }
+
+-void create_case(Suite *s, const char *name, TFun function)
++void create_case(Suite *s, const char *name, TTest *test)
+ {
+ TCase *tc_new = tcase_create(name);
+ tcase_set_timeout(tc_new, 30);
+ suite_add_tcase (s, tc_new);
+- tcase_add_test(tc_new, function);
++ tcase_add_test(tc_new, test);
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libopensync-plugin-xmlformat.git/commitdiff/19c5c5950519356576fa1f7c1d537bc1f54fb451
More information about the pld-cvs-commit
mailing list