[packages/libskeleton] - added build patch to fix compilation error

qboosh qboosh at pld-linux.org
Tue Mar 4 07:05:31 CET 2025


commit e7077384d542d415b2e8745a39ab39702b5910ba
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 4 05:40:35 2025 +0100

    - added build patch to fix compilation error

 libskeleton-build.patch | 11 +++++++++++
 libskeleton.spec        |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/libskeleton.spec b/libskeleton.spec
index c6ac7ba..1562062 100644
--- a/libskeleton.spec
+++ b/libskeleton.spec
@@ -12,6 +12,7 @@ Group:		Libraries
 #Source0Download: https://gitlab.xiph.org/xiph/libskeleton/-/tags
 Source0:	https://gitlab.xiph.org/xiph/libskeleton/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
 # Source0-md5:	42ea2b16a1af330078f5f9b49ae1a50e
+Patch0:		%{name}-build.patch
 URL:		https://wiki.xiph.org/Ogg_Skeleton
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -76,6 +77,7 @@ Dokumentacja API biblioteki libskeleton.
 
 %prep
 %setup -q -n %{name}-v%{version}
+%patch -P0 -p1
 
 %build
 %{__libtoolize}
diff --git a/libskeleton-build.patch b/libskeleton-build.patch
new file mode 100644
index 0000000..00843e0
--- /dev/null
+++ b/libskeleton-build.patch
@@ -0,0 +1,11 @@
+--- libskeleton-v0.1.0/src/skeleton_vector.c.orig	2010-03-26 05:31:15.000000000 +0100
++++ libskeleton-v0.1.0/src/skeleton_vector.c	2025-03-03 22:06:35.709004834 +0100
+@@ -95,7 +95,7 @@ del_track_nfo (TrackVect *vect, ogg_int3
+     _ogg_free (t_nfo->index);
+   }  
+   
+-  return ;
++  return 0;
+ }
+ 
+ TrackVect* oggskel_vect_new ()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libskeleton.git/commitdiff/e7077384d542d415b2e8745a39ab39702b5910ba



More information about the pld-cvs-commit mailing list