forked from pool/hardinfo
- added patches
6a0e91649e
+ hardinfo-gcc15.patch
OBS-URL: https://build.opensuse.org/request/show/1250413
OBS-URL: https://build.opensuse.org/package/show/utilities/hardinfo?expand=0&rev=16
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
Index: hardinfo-0.5.1/report.h
|
|
===================================================================
|
|
--- hardinfo-0.5.1.orig/report.h
|
|
+++ hardinfo-0.5.1/report.h
|
|
@@ -71,7 +71,7 @@ struct _ReportDialog {
|
|
GtkTreeModel *model;
|
|
};
|
|
|
|
-void report_dialog_show();
|
|
+void report_dialog_show(GtkTreeModel *model, GtkWidget *parent);
|
|
|
|
ReportContext *report_context_html_new();
|
|
ReportContext *report_context_text_new();
|
|
Index: hardinfo-0.5.1/shell.h
|
|
===================================================================
|
|
--- hardinfo-0.5.1.orig/shell.h
|
|
+++ hardinfo-0.5.1/shell.h
|
|
@@ -138,7 +138,7 @@ struct _ShellModuleEntry {
|
|
gint number;
|
|
|
|
gchar *(*func) ();
|
|
- void (*scan_func) ();
|
|
+ void (*scan_func) (gboolean flag);
|
|
|
|
gchar *(*fieldfunc) (gchar * entry);
|
|
gchar *(*morefunc) (gchar * entry);
|
|
Index: hardinfo-0.5.1/callbacks.c
|
|
===================================================================
|
|
--- hardinfo-0.5.1.orig/callbacks.c
|
|
+++ hardinfo-0.5.1/callbacks.c
|
|
@@ -103,7 +103,7 @@ void cb_copy_to_clipboard()
|
|
gchar *data = module_entry_function(entry);
|
|
GtkClipboard *clip =
|
|
gtk_clipboard_get(gdk_atom_intern("CLIPBOARD", FALSE));
|
|
- ReportContext *ctx = report_context_text_new(NULL);
|
|
+ ReportContext *ctx = report_context_text_new();
|
|
|
|
ctx->entry = entry;
|
|
|