[packages/libopensync02] add missing include

atler atler at pld-linux.org
Sun Feb 2 01:58:05 CET 2025


commit 1932d04e1433a620e807e258267b2012279b1617
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Feb 2 00:02:37 2025 +0100

    add missing include

 includes.patch     | 10 ++++++++++
 libopensync02.spec |  9 +++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/libopensync02.spec b/libopensync02.spec
index 3beaf47..8d8f33a 100644
--- a/libopensync02.spec
+++ b/libopensync02.spec
@@ -106,10 +106,11 @@ Wiązania Pythona do biblioteki opensync.
 
 %prep
 %setup -q -n libopensync-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
 
 [ -x "%{_bindir}/python%{py_ver}-config" ] && sed -i -e 's#python-config#%{_bindir}/python%{py_ver}-config#g' acinclude.m4
 
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..57a5fc5
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,10 @@
+--- libopensync-0.22/formats/vformats-xml/xmldoc.c.orig	2007-03-27 13:49:27.000000000 +0200
++++ libopensync-0.22/formats/vformats-xml/xmldoc.c	2025-02-01 23:58:33.275235120 +0100
+@@ -19,6 +19,7 @@
+  */
+ 
+ #include "xml-support.h"
++#include <stdlib.h>
+ 
+ static osync_bool from_xml(void *conv_data, char *input, int inpsize, char **output, int *outpsize, osync_bool *free_input, OSyncError **error)
+ {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libopensync02.git/commitdiff/1932d04e1433a620e807e258267b2012279b1617



More information about the pld-cvs-commit mailing list