[packages/libbeagle] Rel 9; fix build
arekm
arekm at pld-linux.org
Fri Jul 25 23:34:49 CEST 2025
commit 56c03ca4d5eeab5e7e0907481f145276afcc98e8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Jul 25 23:34:42 2025 +0200
Rel 9; fix build
build.patch | 28 ++++++++++++++++++++++++++++
libbeagle.spec | 5 ++++-
2 files changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/libbeagle.spec b/libbeagle.spec
index 006c324..0519c02 100644
--- a/libbeagle.spec
+++ b/libbeagle.spec
@@ -7,13 +7,14 @@ Summary: Beagle C interface
Summary(pl.UTF-8): Interfejs w C do Beagle
Name: libbeagle
Version: 0.3.9
-Release: 8
+Release: 9
License: MIT
Group: Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libbeagle/0.3/%{name}-%{version}.tar.bz2
# Source0-md5: af1e25bdfb704ee87047bc49a73fbb10
Patch0: %{name}-am.patch
Patch1: format-security.patch
+Patch2: build.patch
URL: http://beagle-project.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -105,6 +106,7 @@ Wiązania języka Python dla Beagle.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
%{__libtoolize}
@@ -113,6 +115,7 @@ Wiązania języka Python dla Beagle.
%{__autoheader}
%{__automake}
%configure \
+ PYTHON=%{__python} \
%{?with_apidocs:--enable-gtk-doc} \
--with-html-dir=%{_gtkdocdir}
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..28abb32
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,28 @@
+--- libbeagle-0.3.9/beagle/beagle-util.c~ 2008-07-19 13:24:51.000000000 +0200
++++ libbeagle-0.3.9/beagle/beagle-util.c 2025-07-25 23:26:05.185399462 +0200
+@@ -35,6 +35,7 @@
+ #include <sys/un.h>
+
+ #include "beagle-util.h"
++#include "beagle-private.h"
+
+ GQuark
+ beagle_error_quark (void)
+--- libbeagle-0.3.9/examples/beagle-info.c~ 2008-03-11 21:59:55.000000000 +0100
++++ libbeagle-0.3.9/examples/beagle-info.c 2025-07-25 23:26:51.092343139 +0200
+@@ -1,3 +1,4 @@
++#include <glib/gprintf.h>
+ #include <beagle/beagle.h>
+
+ static void
+--- libbeagle-0.3.9/wrappers/python/beagle.override~ 2008-02-10 05:02:59.000000000 +0100
++++ libbeagle-0.3.9/wrappers/python/beagle.override 2025-07-25 23:33:10.327964894 +0200
+@@ -216,7 +216,7 @@ _wrap_beagle_hit_get_one_property_mappin
+ }
+
+ static PyMappingMethods _wrap_beagle_hit_tp_as_mapping = {
+- (inquiry) 0, /* number of properties as len (hit) */
++ (lenfunc) 0, /* number of properties as len (hit) */
+ (binaryfunc) _wrap_beagle_hit_get_one_property_mapping, /* getting value of property as hit [...] */
+ (objobjargproc) 0 /* for setting value of property as hit[...] = X*/
+ };
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libbeagle.git/commitdiff/56c03ca4d5eeab5e7e0907481f145276afcc98e8
More information about the pld-cvs-commit
mailing list