[packages/gtkpod] add missing includes
atler
atler at pld-linux.org
Fri Feb 14 23:11:45 CET 2025
commit 0894df81fb844ce606602defe3c3c89c0e254f28
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Feb 14 23:11:27 2025 +0100
add missing includes
gtkpod.spec | 2 ++
includes.patch | 12 ++++++++++++
2 files changed, 14 insertions(+)
---
diff --git a/gtkpod.spec b/gtkpod.spec
index 8311271..deb1e34 100644
--- a/gtkpod.spec
+++ b/gtkpod.spec
@@ -12,6 +12,7 @@ Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
Patch0: desktop.patch
Patch1: %{name}-linguas.patch
Patch2: automake-1.13.patch
+Patch3: includes.patch
URL: http://www.gtkpod.org/
BuildRequires: autoconf >= 2.65
BuildRequires: automake >= 1:1.9
@@ -68,6 +69,7 @@ urządzeń Apple iPod. Pozwala wgrywać pliki i listy utworów do iPoda.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
%{__sed} -i -e 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh
%{__sed} -i -e '/^dist_profiles_DATA/s:=.*:=:' plugins/sjcd/data/Makefile.am
%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' ./scripts/sync-palm-jppy.py
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..4ca5b7f
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,12 @@
+--- gtkpod-2.1.5/libgtkpod/misc.c.orig 2015-06-02 20:14:21.000000000 +0200
++++ gtkpod-2.1.5/libgtkpod/misc.c 2025-02-14 23:01:11.745471475 +0100
+@@ -48,6 +48,9 @@
+ #include "directories.h"
+ #include "gp_private.h"
+
++#include <libxml/parser.h>
++#include <libxml/xmlmemory.h>
++
+ #define DEBUG_MISC 0
+
+ /*------------------------------------------------------------------*\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtkpod.git/commitdiff/0894df81fb844ce606602defe3c3c89c0e254f28
More information about the pld-cvs-commit
mailing list