diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-07-12 15:40:22 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-01 08:52:05 +0100 |
commit | ccbc1a278d95fa82def941e5fa6393dba575f53c (patch) | |
tree | ba9a3056cfd44038023e83132db3d97f16378dc4 /sys-apps/gscanbus | |
parent | x11-libs/fox: Fix C++17 does not allow register storage class (diff) | |
download | gentoo-ccbc1a278d95fa82def941e5fa6393dba575f53c.tar.gz gentoo-ccbc1a278d95fa82def941e5fa6393dba575f53c.tar.bz2 gentoo-ccbc1a278d95fa82def941e5fa6393dba575f53c.zip |
sys-apps/gscanbus: Fix incompatible function pointer types
Closes: https://bugs.gentoo.org/887001
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31852
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/gscanbus')
-rw-r--r-- | sys-apps/gscanbus/files/gscanbus-0.8-incompatible-function-pointer-types.patch | 30 | ||||
-rw-r--r-- | sys-apps/gscanbus/gscanbus-0.8-r1.ebuild | 24 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-apps/gscanbus/files/gscanbus-0.8-incompatible-function-pointer-types.patch b/sys-apps/gscanbus/files/gscanbus-0.8-incompatible-function-pointer-types.patch new file mode 100644 index 000000000000..d38603c34962 --- /dev/null +++ b/sys-apps/gscanbus/files/gscanbus-0.8-incompatible-function-pointer-types.patch @@ -0,0 +1,30 @@ +Bug: https://bugs.gentoo.org/887001 +--- a/menues.c ++++ b/menues.c +@@ -280,7 +280,7 @@ static void readQuadletApp(gpointer callback_data, guint callback_action, + gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog->dialog)->vbox), + table, TRUE, TRUE, 0); + +- transactionDialogAddOkClose(dialog, readQuadletAppOk); ++ transactionDialogAddOkClose(dialog, (GtkSignalFunc)readQuadletAppOk); + + gtk_widget_show_all(dialog->dialog); + } +@@ -336,7 +336,7 @@ static void writeQuadletApp(gpointer callback_data, guint callback_action, + gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog->dialog)->vbox), + table, TRUE, TRUE, 0); + +- transactionDialogAddOkClose(dialog, writeQuadletAppOk); ++ transactionDialogAddOkClose(dialog, (GtkSignalFunc)writeQuadletAppOk); + + gtk_widget_show_all(dialog->dialog); + } +@@ -417,7 +417,7 @@ static void readBlockApp(gpointer callback_data, guint callback_action, + table, TRUE, TRUE, 0); + + //dialogAddOkClose(dialog->dialog, readBlockAppOk); +- transactionDialogAddOkClose(dialog, readBlockAppOk); ++ transactionDialogAddOkClose(dialog, (GtkSignalFunc)readBlockAppOk); + + gtk_widget_show_all(dialog->dialog); + } diff --git a/sys-apps/gscanbus/gscanbus-0.8-r1.ebuild b/sys-apps/gscanbus/gscanbus-0.8-r1.ebuild new file mode 100644 index 000000000000..d11c19a7efae --- /dev/null +++ b/sys-apps/gscanbus/gscanbus-0.8-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Bus scanning, testing and topology visualizing tool for Linux IEEE1394 subsystem" +HOMEPAGE="https://sourceforge.net/projects/gscanbus.berlios/" +SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + sys-libs/libraw1394 + x11-libs/gtk+:2" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch + "${FILESDIR}"/${P}-incompatible-function-pointer-types.patch + +) |