1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

deskutils/solanum: unbreak with libadwaita >= 2021-05-20 snapshot

For consistency with other libadwaita-rs consumers. AdwActionRow isn't
used by Solanum.
This commit is contained in:
Jan Beich 2021-02-08 23:38:19 +00:00
parent 2e2f171642
commit 186efc7b84
2 changed files with 15 additions and 1 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= solanum
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= deskutils
MAINTAINER= jbeich@FreeBSD.org

View File

@ -0,0 +1,14 @@
https://gitlab.gnome.org/GNOME/libadwaita/-/commit/0509755b80d8
https://gitlab.gnome.org/World/Rust/libadwaita-rs/-/commit/986f12d5170d
--- ../libadwaita-rs-b898c11fb6776fc7a9a6b920222fa3173216a80c/libadwaita/sys/src/lib.rs.orig 2021-01-15 00:37:53 UTC
+++ ../libadwaita-rs-b898c11fb6776fc7a9a6b920222fa3173216a80c/libadwaita/sys/src/lib.rs
@@ -73,7 +73,7 @@ pub type AdwAvatarImageLoadFunc =
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AdwActionRowClass {
- pub parent_class: gtk::GtkListBoxRowClass,
+ pub parent_class: AdwPreferencesRowClass,
pub activate: Option<unsafe extern "C" fn(*mut AdwActionRow)>,
pub padding: [gpointer; 4],
}