public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ola/files/, app-misc/ola/
Date: Wed, 12 Jun 2024 13:04:23 +0000 (UTC)	[thread overview]
Message-ID: <1718197441.8319838698e3d4c532c7a8547ebdc1ae5dcb2264.marecki@gentoo> (raw)

commit:     8319838698e3d4c532c7a8547ebdc1ae5dcb2264
Author:     Jannis Achstetter <kripton <AT> kripserver <DOT> net>
AuthorDate: Mon Apr  8 20:51:47 2024 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 13:04:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83198386

app-misc/ola: Fix compilation against media-libs/liblo-0.32

Changes to the PR made by marecki at merge time:
 - run ola-0.10.9-liblo.patch through scrub-patch
 - revert the revision bump as not needed while fixing build failures

Closes: https://bugs.gentoo.org/927000
Upstream-PR: https://github.com/OpenLightingProject/ola/pull/1954
Upstream-Commit: https://github.com/OpenLightingProject/ola/commit/e083653d2d18018fe6ef42f757bc06462de87f28
Signed-off-by: Jannis Achstetter <kripton <AT> kripserver.net>
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-misc/ola/files/ola-0.10.9-liblo.patch | 27 +++++++++++++++++++++++++++
 app-misc/ola/ola-0.10.9-r2.ebuild         |  3 +++
 2 files changed, 30 insertions(+)

diff --git a/app-misc/ola/files/ola-0.10.9-liblo.patch b/app-misc/ola/files/ola-0.10.9-liblo.patch
new file mode 100644
index 000000000000..ac80a2503d49
--- /dev/null
+++ b/app-misc/ola/files/ola-0.10.9-liblo.patch
@@ -0,0 +1,27 @@
+From e083653d2d18018fe6ef42f757bc06462de87f28 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20H=C3=BClsmann?= <fh@cbix.de>
+Date: Sat, 30 Mar 2024 12:43:55 +0100
+Subject: [PATCH] Fix liblo 0.32 header compatibility
+
+Closes: https://bugs.gentoo.org/927000
+Upstream-PR: https://github.com/OpenLightingProject/ola/pull/1954
+--- a/plugins/osc/OSCNode.cpp
++++ b/plugins/osc/OSCNode.cpp
+@@ -141,7 +141,7 @@ bool ExtractSlotValueFromPair(const string &type, lo_arg **argv,
+  * @param user_data a pointer to the OSCNode object.
+  */
+ int OSCDataHandler(const char *osc_address, const char *types, lo_arg **argv,
+-                   int argc, void *, void *user_data) {
++                   int argc, lo_message, void *user_data) {
+   OLA_DEBUG << "Got OSC message for " << osc_address << ", types are " << types;
+ 
+   OSCNode *node = reinterpret_cast<OSCNode*>(user_data);
+@@ -150,7 +150,7 @@ int OSCDataHandler(const char *osc_address, const char *types, lo_arg **argv,
+ 
+   if (argc == 1) {
+     if (type == "b") {
+-      lo_blob blob = argv[0];
++      lo_blob blob = (lo_blob)argv[0];
+       unsigned int size = min(static_cast<uint32_t>(DMX_UNIVERSE_SIZE),
+                               lo_blob_datasize(blob));
+       node->SetUniverse(

diff --git a/app-misc/ola/ola-0.10.9-r2.ebuild b/app-misc/ola/ola-0.10.9-r2.ebuild
index a9d0c36ac512..1cd74bb29e17 100644
--- a/app-misc/ola/ola-0.10.9-r2.ebuild
+++ b/app-misc/ola/ola-0.10.9-r2.ebuild
@@ -61,8 +61,11 @@ BDEPEND="app-alternatives/yacc
 		)
 	)"
 
+# ola-0.10.9-liblo.patch fixes compilation against
+# media-libs/liblo-0.32. See https://bugs.gentoo.org/927000
 PATCHES=(
 	"${FILESDIR}"/${PN}-0.10.9-nullptr.patch
+	"${FILESDIR}"/${PN}-0.10.9-liblo.patch
 )
 
 src_prepare() {


             reply	other threads:[~2024-06-12 13:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-12 13:04 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-22 11:10 [gentoo-commits] repo/gentoo:master commit in: app-misc/ola/files/, app-misc/ola/ Marek Szuba
2023-08-21 18:09 Marek Szuba
2022-10-04 12:50 Marek Szuba

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=1718197441.8319838698e3d4c532c7a8547ebdc1ae5dcb2264.marecki@gentoo \
    --to=marecki@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