Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3528d8b69d | |||
| 500984ac19 |
37
lash-gcc15.patch
Normal file
37
lash-gcc15.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
diff -upr lash-0.5.4.orig/lashd/client.c lash-0.5.4/lashd/client.c
|
||||
--- lash-0.5.4.orig/lashd/client.c 2025-05-07 09:52:41.420054548 +0000
|
||||
+++ lash-0.5.4/lashd/client.c 2025-05-07 09:57:57.308583774 +0000
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "alsa_patch.h"
|
||||
|
||||
client_t *
|
||||
-client_new(lash_connect_params_t * params)
|
||||
+client_new(void)
|
||||
{
|
||||
client_t *client;
|
||||
|
||||
diff -upr lash-0.5.4.orig/lashd/client.h lash-0.5.4/lashd/client.h
|
||||
--- lash-0.5.4.orig/lashd/client.h 2025-05-07 09:52:41.420091378 +0000
|
||||
+++ lash-0.5.4/lashd/client.h 2025-05-07 09:58:11.707054639 +0000
|
||||
@@ -63,7 +63,7 @@ struct _client
|
||||
#define CLIENT_SAVED(x) (((x)->flags) & LASH_Saved)
|
||||
|
||||
|
||||
-client_t * client_new ();
|
||||
+client_t * client_new (void);
|
||||
void client_destroy (client_t * client);
|
||||
|
||||
const char * client_get_id_str (client_t * client);
|
||||
diff -upr lash-0.5.4.orig/lashd/server_event.h lash-0.5.4/lashd/server_event.h
|
||||
--- lash-0.5.4.orig/lashd/server_event.h 2025-05-07 09:52:41.420864158 +0000
|
||||
+++ lash-0.5.4/lashd/server_event.h 2025-05-07 09:56:19.463694613 +0000
|
||||
@@ -51,7 +51,7 @@ struct _server_event
|
||||
};
|
||||
|
||||
server_event_t * server_event_new ();
|
||||
-void server_event_destroy ();
|
||||
+void server_event_destroy (server_event_t * event);
|
||||
|
||||
void server_event_set_type (server_event_t * event, enum Server_Event_Type type);
|
||||
void server_event_set_conn_id (server_event_t * event, unsigned long id);
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 10:00:21 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix build with gcc15
|
||||
+ lash-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 27 11:29:55 UTC 2024 - Takashi Iwai <tiwai@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lash
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -35,6 +35,8 @@ Patch5: lash-resource.patch
|
||||
Patch6: lash-glibc-2.22.patch
|
||||
Patch7: 0001-Fix-detection-of-Python-3.patch
|
||||
Patch8: lash-gcc14-fix.patch
|
||||
# fix build with gcc15
|
||||
Patch9: lash-gcc15.patch
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: gtk2-devel
|
||||
@@ -90,6 +92,7 @@ This package contains the development files for the LASH system.
|
||||
%patch -P 6 -p1
|
||||
%patch -P 7 -p1
|
||||
%patch -P 8 -p1
|
||||
%patch -P 9 -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
||||
Reference in New Issue
Block a user