2 Commits

3 changed files with 42 additions and 0 deletions

33
cardpeek-gcc15.patch Normal file
View File

@@ -0,0 +1,33 @@
--- cardpeek-0.8.4.orig/lua_nodes.c 2025-06-09 14:34:14.842798983 +0000
+++ cardpeek-0.8.4/lua_nodes.c 2025-06-09 14:35:33.062310151 +0000
@@ -275,7 +275,7 @@ static int subr_nodes_append(lua_State*
lua_push_node_ref(L,&node);
- ui_update(1);
+ ui_update();
return 1;
}
@@ -424,7 +424,7 @@ static int subr_nodes_remove(lua_State*
else
lua_pushboolean(L,1);
- ui_update(1);
+ ui_update();
return 1;
}
diff -upr cardpeek-0.8.4.orig/ui/gtk/gui_cardview.c cardpeek-0.8.4/ui/gtk/gui_cardview.c
--- cardpeek-0.8.4.orig/ui/gtk/gui_cardview.c 2025-06-09 14:34:14.847492013 +0000
+++ cardpeek-0.8.4/ui/gtk/gui_cardview.c 2025-06-09 14:35:54.614663766 +0000
@@ -79,7 +79,7 @@ static void menu_run_script_cb(GtkWidget
ui_set_title(script->script_name);
luax_run_script(script->script_file);
gtk_tree_view_expand_all (GTK_TREE_VIEW(CARDVIEW));
- ui_update(0);
+ ui_update();
}
static void menu_cardview_clear_cb(GtkWidget *w, gpointer user_data)

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 9 14:40:49 UTC 2025 - pgajdos@suse.com
- build with gcc15
https://github.com/L1L1/cardpeek/pull/136
+ cardpeek-gcc15.patch
-------------------------------------------------------------------
Mon Feb 26 10:34:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -27,6 +27,8 @@ Source: http://downloads.pannetrat.com/install/%{name}-%{version}.tar.gz
Patch0: cardpeek-lua5.3.patch
# PATCH-FIX-UPSTREAM https://github.com/L1L1/cardpeek/pull/97
Patch1: reproducible.patch
# https://github.com/L1L1/cardpeek/pull/136
Patch2: cardpeek-gcc15.patch
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
BuildRequires: openssl-devel