Files
libpst/0003-gcc-c23-changes.patch
Dominique Leuenberger 493616b5bc - Add 0003-gcc-c23-changes.patch: Fix build with gcc 15, patch
lifted from fedora.
- Replace gcc-c++ generic c++_compiler BuildRequires.
- Replace libgsf-devel with pkgconfig(libgsf-1) BuildRequires:
  Align with what configure checks for.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpst?expand=0&rev=79
2025-03-28 07:33:19 +00:00

21 lines
645 B
Diff

diff -up libpst-0.6.76/src/readpst.c.gcc-changes libpst-0.6.76/src/readpst.c
--- libpst-0.6.76/src/readpst.c.gcc-changes 2025-01-22 08:18:34.846378892 +0100
+++ libpst-0.6.76/src/readpst.c 2025-01-22 08:18:42.508459826 +0100
@@ -26,7 +26,6 @@ struct file_ll {
int32_t skip_count;
};
-int grim_reaper();
pid_t try_fork(char* folder);
void process(pst_item *outeritem, pst_desc_tree *d_ptr);
void write_email_body(FILE *f, char *body);
@@ -152,7 +151,7 @@ sem_t* output_mutex = NULL;
#endif
-int grim_reaper(int waitall)
+static int grim_reaper(int waitall)
{
int available = 0;
#ifdef HAVE_FORK