This is an automated email from the git hooks/post-receive script. guix_mirror_bot pushed a commit to branch master in repository guix.
The following commit(s) were added to refs/heads/master by this push: new 9db8fe9779 gnu: esound: Fix build. 9db8fe9779 is described below commit 9db8fe97791610c4c90cd34200cae74839f20a5d Author: Maxim Cournoyer <ma...@guixotic.coop> AuthorDate: Sun Sep 21 22:48:26 2025 +0900 gnu: esound: Fix build. * gnu/packages/patches/esound-c99.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gstreamer.scm (esound): Apply it. Change-Id: I6aa9ccda6e9948961b6e0011ebd813f43de1b18d --- gnu/local.mk | 1 + gnu/packages/gstreamer.scm | 3 ++- gnu/packages/patches/esound-c99.patch | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/local.mk b/gnu/local.mk index bedab4dcf2..afea357c2c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1239,6 +1239,7 @@ dist_patch_DATA = \ %D%/packages/patches/erlang-man-path.patch \ %D%/packages/patches/esmini-use-pkgconfig.patch \ %D%/packages/patches/esmtp-add-lesmtp.patch \ + %D%/packages/patches/esound-c99.patch \ %D%/packages/patches/exercism-disable-self-update.patch \ %D%/packages/patches/extempore-unbundle-external-dependencies.patch \ %D%/packages/patches/extundelete-e2fsprogs-1.44.patch \ diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 454e6757f7..f023947f97 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -304,7 +304,8 @@ applications that want audio visualisation and audio visualisation plugins.") (commit "ESOUND_0_2_41"))) (file-name (git-file-name name version)) (sha256 - (base32 "141jg70fim276i8k2kyypm84gy89i1k9mm4yf68mfwnybvjw1d6n")))) + (base32 "141jg70fim276i8k2kyypm84gy89i1k9mm4yf68mfwnybvjw1d6n")) + (patches (search-patches "esound-c99.patch")))) (build-system gnu-build-system) (native-inputs (list autoconf diff --git a/gnu/packages/patches/esound-c99.patch b/gnu/packages/patches/esound-c99.patch new file mode 100644 index 0000000000..8167b1e5c3 --- /dev/null +++ b/gnu/packages/patches/esound-c99.patch @@ -0,0 +1,19 @@ +Retrieved from: https://src.fedoraproject.org/rpms/esound/raw/rawhide/f/esound-c99.patch + +Declare clean_exit to avoid an implicit function declaration and +future build breakage. This style of declarations outside of header +files is already used for other functions. + +diff --git a/clients.c b/clients.c +index 1f7e4aa644bdc32c..14416e620dcccbbf 100644 +--- a/clients.c ++++ b/clients.c +@@ -33,7 +33,7 @@ static int write_wait = 0; + /* prototypes */ + void dump_clients(void); + void free_client( esd_client_t *client ); +- ++void clean_exit(int signum); + + /*******************************************************************/ + /* for debugging purposes, dump the list of the clients and data */