public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/alsa-lib/files/, media-libs/alsa-lib/
Date: Sun, 15 Dec 2024 16:38:38 +0000 (UTC)	[thread overview]
Message-ID: <1734280157.7cfd0c86dff91f57c0da3af1a5fbe04fa344ee8c.sam@gentoo> (raw)

commit:     7cfd0c86dff91f57c0da3af1a5fbe04fa344ee8c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 16:29:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 16:29:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cfd0c86

media-libs/alsa-lib: restore include in headers

Consumers were relying on it and upstream have restored it, so restore
the include in a header via a backport.

Closes: https://bugs.gentoo.org/943696
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...lib-1.2.13.ebuild => alsa-lib-1.2.13-r1.ebuild} |  1 +
 .../files/alsa-lib-1.2.13-seq-ump-headers.patch    | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/media-libs/alsa-lib/alsa-lib-1.2.13.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.13-r1.ebuild
similarity index 97%
rename from media-libs/alsa-lib/alsa-lib-1.2.13.ebuild
rename to media-libs/alsa-lib/alsa-lib-1.2.13-r1.ebuild
index b6efb887b5db..8b47c423b17e 100644
--- a/media-libs/alsa-lib/alsa-lib-1.2.13.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.2.13-r1.ebuild
@@ -35,6 +35,7 @@ BDEPEND="doc? ( >=app-text/doxygen-1.2.6 )"
 PATCHES=(
 	"${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422
 	"${FILESDIR}/${PN}-1.2.13-update-symbol-name.patch" # bug #943399
+	"${FILESDIR}/${PN}-1.2.13-seq-ump-headers.patch" # bug #943696
 )
 
 pkg_setup() {

diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.13-seq-ump-headers.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.13-seq-ump-headers.patch
new file mode 100644
index 000000000000..fd38d8274804
--- /dev/null
+++ b/media-libs/alsa-lib/files/alsa-lib-1.2.13-seq-ump-headers.patch
@@ -0,0 +1,50 @@
+https://bugs.gentoo.org/943696#c10
+https://github.com/alsa-project/alsa-lib/commit/07cee0ba05179a56764c35975d5822420d4f31f9
+
+From 07cee0ba05179a56764c35975d5822420d4f31f9 Mon Sep 17 00:00:00 2001
+From: Takashi Iwai <tiwai@suse.de>
+Date: Sun, 24 Nov 2024 09:33:16 +0100
+Subject: [PATCH] seq: include UMP headers
+
+Some applications seem including alsa/seqmid.h individually, and this
+got broken with the update of alsa-lib because now we have
+dependencies to UMP stuff.  Include the necessary UMP headers
+internally.  Also, add the inclusion of rawmidi.h in ump.h for similar
+reasons.
+
+Link: https://bugzilla.suse.com/show_bug.cgi?id=1233682
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+--- a/include/seq.h
++++ b/include/seq.h
+@@ -29,6 +29,8 @@
+ #ifndef __ALSA_SEQ_H
+ #define __ALSA_SEQ_H
+ 
++#include "ump.h"
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+--- a/include/seq_event.h
++++ b/include/seq_event.h
+@@ -28,6 +28,8 @@
+ #ifndef __ALSA_SEQ_EVENT_H
+ #define __ALSA_SEQ_EVENT_H
+ 
++#include "ump_msg.h"
++
+ /**
+  *  \defgroup SeqEvents Sequencer Event Definitions
+  *  Sequencer Event Definitions
+--- a/include/ump.h
++++ b/include/ump.h
+@@ -9,6 +9,8 @@
+ #ifndef __ALSA_UMP_H
+ #define __ALSA_UMP_H
+ 
++#include "rawmidi.h"
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+


             reply	other threads:[~2024-12-15 16:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-15 16:38 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 17:53 [gentoo-commits] repo/gentoo:master commit in: media-libs/alsa-lib/files/, media-libs/alsa-lib/ Sam James
2024-11-23 17:37 Sam James
2024-01-28 17:35 Matt Turner
2023-12-13  1:54 Sam James
2023-09-07 14:48 Sam James
2022-10-30 20:41 Sam James
2021-06-16 17:17 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1734280157.7cfd0c86dff91f57c0da3af1a5fbe04fa344ee8c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox