[packages/libopensync-plugin-vformat] Rel 2
arekm
arekm at pld-linux.org
Sun Mar 15 15:23:28 CET 2026
commit b36baee84e997eaf553a4f09866b80265af9f80c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 15:23:21 2026 +0100
Rel 2
check-0.15.patch | 38 ++++++++++++++++++++++++++++++++++++++
libopensync-plugin-vformat.spec | 4 +++-
2 files changed, 41 insertions(+), 1 deletion(-)
---
diff --git a/libopensync-plugin-vformat.spec b/libopensync-plugin-vformat.spec
index 2ba0df8..30ffee5 100644
--- a/libopensync-plugin-vformat.spec
+++ b/libopensync-plugin-vformat.spec
@@ -2,12 +2,13 @@ Summary: OpenSync vFormat Plugin
Summary(pl.UTF-8): Wtyczka vFormat dla szkieletu OpenSync
Name: libopensync-plugin-vformat
Version: 0.39
-Release: 1
+Release: 2
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: 2c4e179fd6e9e07e1af136c23a9b49c8
+Patch0: check-0.15.patch
# dead domain
#URL: http://www.opensync.org/
BuildRequires: cmake >= 2.4.4
@@ -39,6 +40,7 @@ Ten pakiet zawiera wtyczkę vFormat dla szkieletu OpenSync.
%prep
%setup -q
+%patch -P0 -p1
%build
install -d build
diff --git a/check-0.15.patch b/check-0.15.patch
new file mode 100644
index 0000000..f55cc49
--- /dev/null
+++ b/check-0.15.patch
@@ -0,0 +1,38 @@
+--- a/tests/support.h 2009-09-20 22:33:51.000000000 +0200
++++ b/tests/support.h 2026-03-15 12:49:35.796564026 +0100
+@@ -9,7 +9,7 @@
+ char *setup_testbed(char *fkt_name);
+ void destroy_testbed(char *path);
+ // create_case() with timeout of 30seconds (default)
+-void create_case(Suite *s, const char *name, TFun function);
++void create_case(Suite *s, const char *name, const TTest *ttest);
+ // create_case_timeout() allow to specific a specific timeout - intended for breaking testcases which needs longer then 30seconds (default)
+-void create_case_timeout(Suite *s, const char *name, TFun function, int timeout);
++void create_case_timeout(Suite *s, const char *name, const TTest *ttest, int timeout);
+
+--- a/tests/support.c 2009-09-20 22:33:51.000000000 +0200
++++ b/tests/support.c 2026-03-15 12:49:42.059897359 +0100
+@@ -77,20 +77,20 @@
+ g_free(path);
+ }
+
+-void create_case(Suite *s, const char *name, TFun function)
++void create_case(Suite *s, const char *name, const TTest *ttest)
+ {
+ 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, ttest, 0, 0, 0, 1);
+ }
+
+
+-void create_case_timeout(Suite *s, const char *name, TFun function, int timeout)
++void create_case_timeout(Suite *s, const char *name, const TTest *ttest, int timeout)
+ {
+ TCase *tc_new = tcase_create(name);
+ tcase_set_timeout(tc_new, timeout);
+ suite_add_tcase (s, tc_new);
+- tcase_add_test(tc_new, function);
++ _tcase_add_test(tc_new, ttest, 0, 0, 0, 1);
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libopensync-plugin-vformat.git/commitdiff/b36baee84e997eaf553a4f09866b80265af9f80c
More information about the pld-cvs-commit
mailing list