summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/opensync/libopensync-plugin-syncml/fixerror.patch13
-rw-r--r--meta/packages/opensync/libopensync-plugin-syncml_0.38.bb7
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-plugin-syncml/fixerror.patch b/meta/packages/opensync/libopensync-plugin-syncml/fixerror.patch
new file mode 100644
index 000000000..7dad88942
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml/fixerror.patch
@@ -0,0 +1,13 @@
+Index: libopensync-plugin-syncml-0.38/src/syncml_callbacks.c
+===================================================================
+--- libopensync-plugin-syncml-0.38.orig/src/syncml_callbacks.c 2009-07-31 10:30:33.000000000 +0100
++++ libopensync-plugin-syncml-0.38/src/syncml_callbacks.c 2009-07-31 10:30:39.000000000 +0100
+@@ -405,7 +405,7 @@
+ } else {
+ /* This problem should be fixed with the next SLOW-SYNC. */
+ osync_trace(TRACE_EXIT_ERROR, "%s - unexpected Add or Replace command", __func__);
+- smlErrorSet(error, SML_ERROR_TEMPORARY, "Unwanted Add or Replace command on second OMA DS session.");
++ smlErrorSet(error, SML_ERROR_GENERIC, "Unwanted Add or Replace command on second OMA DS session.");
+ return FALSE;
+ }
+ }
diff --git a/meta/packages/opensync/libopensync-plugin-syncml_0.38.bb b/meta/packages/opensync/libopensync-plugin-syncml_0.38.bb
new file mode 100644
index 000000000..d32d62de4
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml_0.38.bb
@@ -0,0 +1,7 @@
+require libopensync-plugin_0.36.inc
+
+DEPENDS += " libsyncml (>= 0.4.7)"
+
+SRC_URI += "file://fixerror.patch;patch=1"
+
+PR = "r1" \ No newline at end of file