[packages/libbtctl] - fix for missing prototype; release 3
qboosh
qboosh at pld-linux.org
Sun Sep 7 13:25:00 CEST 2025
commit b6c66783d0811626e82717f7180ad3c06a32056f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 7 13:27:51 2025 +0200
- fix for missing prototype; release 3
libbtctl-proto.patch | 14 ++++++++++++++
libbtctl.spec | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/libbtctl.spec b/libbtctl.spec
index b31b89d..5f33360 100644
--- a/libbtctl.spec
+++ b/libbtctl.spec
@@ -10,7 +10,7 @@ Summary: Bluetooth GObject based library
Summary(pl.UTF-8): Biblioteka do programowania urządzeń Bluetooth
Name: libbtctl
Version: 0.11.1
-Release: 2
+Release: 3
# most code is LGPL v2.1+ but obexsdp.c is GPL v2+
License: GPL v2+
Group: Libraries
@@ -20,6 +20,7 @@ Patch0: %{name}-openobex.patch
Patch1: %{name}-pygobject.patch
Patch2: %{name}-gtkdoc.patch
Patch3: format-security.patch
+Patch4: %{name}-proto.patch
# dead
#URL: http://usefulinc.com/software/gnome-bluetooth/
BuildRequires: autoconf >= 2.52
@@ -105,6 +106,7 @@ Dokumentacja API libbtctl.
%patch -P1 -p1
%patch -P2 -p1
%patch -P3 -p1
+%patch -P4 -p1
%build
%{__libtoolize}
diff --git a/libbtctl-proto.patch b/libbtctl-proto.patch
new file mode 100644
index 0000000..262005f
--- /dev/null
+++ b/libbtctl-proto.patch
@@ -0,0 +1,14 @@
+--- libbtctl-0.11.1/src/btctl.c.orig 2007-03-06 00:07:20.000000000 +0100
++++ libbtctl-0.11.1/src/btctl.c 2025-09-07 07:16:37.016564226 +0200
+@@ -28,6 +28,11 @@
+ #include "btctlimpl.h"
+ #include "btctl-marshal.h"
+
++void
++btctl_controller_impl_set_hci_device(BtctlController *bc,
++ const char *hci_device,
++ GError **err);
++
+ static gpointer parent_class = NULL;
+
+ /* gobject prototypes */
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libbtctl.git/commitdiff/b6c66783d0811626e82717f7180ad3c06a32056f
More information about the pld-cvs-commit
mailing list