[packages/floppy] Rel 2
arekm
arekm at pld-linux.org
Thu May 21 15:53:33 CEST 2026
commit 1555fae9a92d7bb861f625dbec624c74a6f0d011
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 21 15:53:16 2026 +0200
Rel 2
floppy-gtk-callback-cast.patch | 16 ++++++++++++++++
floppy.spec | 4 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/floppy.spec b/floppy.spec
index fd8bc90..9db1705 100644
--- a/floppy.spec
+++ b/floppy.spec
@@ -6,12 +6,13 @@ Summary: Floppy formatting utility
Summary(pl.UTF-8): Narzędzie do formatowania dyskietek
Name: floppy
Version: 0.18
-Release: 1
+Release: 2
License: GPL v3
Group: Applications/System
Source0: http://downloads.sourceforge.net/floppyutil/%{name}-%{version}.tar.bz2
# Source0-md5: a02aac97c74259ca1b24972c89147ca4
Source1: floppygtk.desktop
+Patch0: %{name}-gtk-callback-cast.patch
URL: http://floppyutil.sourceforge.net/
BuildRequires: gtk+2-devel >= 2.0
BuildRequires: pkgconfig
@@ -43,6 +44,7 @@ służącego do formatowania dyskietek.
%prep
%setup -q
+%patch -P0 -p1
%build
%configure \
diff --git a/floppy-gtk-callback-cast.patch b/floppy-gtk-callback-cast.patch
new file mode 100644
index 0000000..bffc04c
--- /dev/null
+++ b/floppy-gtk-callback-cast.patch
@@ -0,0 +1,16 @@
+--- floppy-0.18.orig/floppygtk.c 2026-05-21 01:31:25.051964481 +0200
++++ floppy-0.18/floppygtk.c 2026-05-21 01:31:25.061332043 +0200
+@@ -1112,11 +1112,11 @@
+
+ menu_items[1].path=_("/Floppy/_Rescan");
+ menu_items[1].accelerator=_("<control>R");
+- menu_items[1].callback= &rescan;
++ menu_items[1].callback= (GtkItemFactoryCallback)&rescan;
+
+ menu_items[2].path=_("/Floppy/_About");
+ menu_items[2].accelerator=_("<control>A");
+- menu_items[2].callback= &about;
++ menu_items[2].callback= (GtkItemFactoryCallback)&about;
+
+ accel_group = gtk_accel_group_new ();
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/floppy.git/commitdiff/1555fae9a92d7bb861f625dbec624c74a6f0d011
More information about the pld-cvs-commit
mailing list