From 0714b04130a071fc2d6c917df8945df7e28c2cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 16 Sep 2023 23:13:12 +0200 Subject: [PATCH] gsimplecal-gtk3: update to 2.5. --- srcpkgs/gsimplecal-gtk3/patches/invalid-cast.patch | 13 +++++++++++++ srcpkgs/gsimplecal-gtk3/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/gsimplecal-gtk3/patches/invalid-cast.patch diff --git a/srcpkgs/gsimplecal-gtk3/patches/invalid-cast.patch b/srcpkgs/gsimplecal-gtk3/patches/invalid-cast.patch new file mode 100644 index 0000000000000..6006f3a6f78d7 --- /dev/null +++ b/srcpkgs/gsimplecal-gtk3/patches/invalid-cast.patch @@ -0,0 +1,13 @@ +diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp +index 02eca42..323d5db 100644 +--- a/src/MainWindow.cpp ++++ b/src/MainWindow.cpp +@@ -163,7 +163,7 @@ MainWindow::MainWindow() + closure = g_cclosure_new(G_CALLBACK(keys[key].func), (gpointer)this, NULL); + gtk_accel_group_connect(accelerators, keys[key].key, + (GdkModifierType)keys[key].modifier, +- (GtkAccelFlags)NULL, closure); ++ (GtkAccelFlags)0, closure); + g_closure_unref(closure); + } + diff --git a/srcpkgs/gsimplecal-gtk3/template b/srcpkgs/gsimplecal-gtk3/template index a9a4b18141ce2..c5f4ebb2a3794 100644 --- a/srcpkgs/gsimplecal-gtk3/template +++ b/srcpkgs/gsimplecal-gtk3/template @@ -1,6 +1,6 @@ # Template file for 'gsimplecal-gtk3' pkgname=gsimplecal-gtk3 -version=2.4.1 +version=2.5 revision=1 build_style=gnu-configure hostmakedepends="automake pkg-config" @@ -11,7 +11,7 @@ license="BSD-3-Clause" homepage="http://dmedvinsky.github.io/gsimplecal/" changelog="https://github.com/dmedvinsky/gsimplecal/raw/master/ChangeLog" distfiles="https://github.com/dmedvinsky/${pkgname%-*}/archive/v${version}.tar.gz" -checksum=fd47df49ec26115bd6022d0e6a24648873c619e0406375d807fb18428d07d000 +checksum=f0be977de36fabc4da489698d2c06e64143572e53f166ab26e6055f6b36deae4 pre_configure() { ./autogen.sh