public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/, media-libs/mlt/files/
Date: Mon, 21 Oct 2024 17:35:18 +0000 (UTC)	[thread overview]
Message-ID: <1729532096.2e5e84ee9e284774538b6c4c284b6e6fb802eca2.asturm@gentoo> (raw)

commit:     2e5e84ee9e284774538b6c4c284b6e6fb802eca2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 17:22:56 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 17:34:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e5e84ee

media-libs/mlt: Fix build on 32-bit arches

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch | 101 ++++++++++++++++++++++++
 media-libs/mlt/mlt-7.28.0.ebuild                |   2 +
 2 files changed, 103 insertions(+)

diff --git a/media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch b/media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch
new file mode 100644
index 000000000000..a56dffe2c75d
--- /dev/null
+++ b/media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch
@@ -0,0 +1,101 @@
+From 6f533e7b8999bc4017c1a6685bf2baea6570d44c Mon Sep 17 00:00:00 2001
+From: Dan Dennedy <dan@dennedy.org>
+Date: Tue, 24 Sep 2024 09:47:46 -0700
+Subject: [PATCH 1/3] fix #1020 Mlt::Producer::set_creation_time() not exported
+ on i686
+
+---
+ src/mlt++/mlt++.vers | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/mlt++/mlt++.vers b/src/mlt++/mlt++.vers
+index 1934decd..c47f017a 100644
+--- a/src/mlt++/mlt++.vers
++++ b/src/mlt++/mlt++.vers
+@@ -540,7 +540,8 @@ MLTPP_6.14.0 {
+       "Mlt::Service::set_profile(mlt_profile_s*)";
+       "Mlt::Playlist::reorder(int const*)";
+       "Mlt::Transition::connect(Mlt::Service&, int, int)";
+-      "Mlt::Producer::set_creation_time(long)";
++#      "Mlt::Producer::set_creation_time(long)";
++      _ZN3Mlt8Producer17set_creation_timeE[lx];
+       "Mlt::Producer::get_creation_time()";
+   };
+ } MLTPP_6.10.0;
+-- 
+2.46.1
+
+
+From 2072c6b3596854f1a7165d7ddd5994204e741db8 Mon Sep 17 00:00:00 2001
+From: Dan Dennedy <dan@dennedy.org>
+Date: Tue, 24 Sep 2024 10:00:51 -0700
+Subject: [PATCH 2/3] fix mlt++.vers #1020
+
+---
+ src/mlt++/mlt++.vers | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/mlt++/mlt++.vers b/src/mlt++/mlt++.vers
+index c47f017a..2d8c1dda 100644
+--- a/src/mlt++/mlt++.vers
++++ b/src/mlt++/mlt++.vers
+@@ -540,10 +540,10 @@ MLTPP_6.14.0 {
+       "Mlt::Service::set_profile(mlt_profile_s*)";
+       "Mlt::Playlist::reorder(int const*)";
+       "Mlt::Transition::connect(Mlt::Service&, int, int)";
+-#      "Mlt::Producer::set_creation_time(long)";
+-      _ZN3Mlt8Producer17set_creation_timeE[lx];
+       "Mlt::Producer::get_creation_time()";
+   };
++# "Mlt::Producer::set_creation_time(long)";
++  _ZN3Mlt8Producer17set_creation_timeE[lx];
+ } MLTPP_6.10.0;
+ 
+ MLTPP_6.18.0 {
+-- 
+2.46.1
+
+
+From 63953cf7338181c82eb6eb9f93c8c9a11aaee5f7 Mon Sep 17 00:00:00 2001
+From: Dan Dennedy <dan@dennedy.org>
+Date: Tue, 24 Sep 2024 10:55:16 -0700
+Subject: [PATCH 3/3] fix Mlt::Properties::set(int64_t) symbol version
+
+Related to #1020
+---
+ src/mlt++/mlt++.vers | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/mlt++/mlt++.vers b/src/mlt++/mlt++.vers
+index 2d8c1dda..19300de3 100644
+--- a/src/mlt++/mlt++.vers
++++ b/src/mlt++/mlt++.vers
+@@ -310,7 +310,6 @@ MLTPP_0.8.8 {
+       "Mlt::Properties::set(char const*, char const*)";
+       "Mlt::Properties::set(char const*, double)";
+       "Mlt::Properties::set(char const*, int)";
+-      "Mlt::Properties::set(char const*, long)";
+       "Mlt::Properties::set(char const*, void*, int, void (*)(void*), char* (*)(void*, int))";
+       "Mlt::Properties::set_lcnumeric(char const*)";
+       "Mlt::Properties::setup_wait_for(char const*)";
+@@ -414,6 +413,8 @@ MLTPP_0.8.8 {
+       "Mlt::Transition::Transition(Mlt::Transition&)";
+       "Mlt::Transition::Transition(mlt_transition_s*)";
+     };
++# "Mlt::Properties::set(char const*, int64_t)";
++  _ZN3Mlt10Properties3setEPKc[lx];
+ 
+   local: *;
+ };
+@@ -542,7 +543,7 @@ MLTPP_6.14.0 {
+       "Mlt::Transition::connect(Mlt::Service&, int, int)";
+       "Mlt::Producer::get_creation_time()";
+   };
+-# "Mlt::Producer::set_creation_time(long)";
++# "Mlt::Producer::set_creation_time(int64_t)";
+   _ZN3Mlt8Producer17set_creation_timeE[lx];
+ } MLTPP_6.10.0;
+ 
+-- 
+2.46.1
+

diff --git a/media-libs/mlt/mlt-7.28.0.ebuild b/media-libs/mlt/mlt-7.28.0.ebuild
index 19eadbe44a80..65b63e9a0624 100644
--- a/media-libs/mlt/mlt-7.28.0.ebuild
+++ b/media-libs/mlt/mlt-7.28.0.ebuild
@@ -89,6 +89,8 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-6.10.0-swig-underlinking.patch
 	"${FILESDIR}"/${PN}-6.22.1-no_lua_bdepend.patch
 	"${FILESDIR}"/${PN}-7.0.1-cmake-symlink.patch
+	# in git master, https://github.com/mltframework/mlt/issues/1020
+	"${FILESDIR}"/${P}-fix-32bit.patch
 )
 
 pkg_setup() {


             reply	other threads:[~2024-10-21 17:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-21 17:35 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-07 14:33 [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/, media-libs/mlt/files/ Andreas Sturmlechner
2023-10-08 14:37 Andreas Sturmlechner
2023-06-12 18:04 Sam James
2022-12-15 19:26 Andreas Sturmlechner
2022-04-29  4:25 Sam James
2021-08-05  1:48 Sam James
2021-04-24 21:40 Andreas Sturmlechner
2020-10-05 11:22 Andreas Sturmlechner
2020-06-30 21:44 Andreas Sturmlechner
2020-06-30 21:44 Andreas Sturmlechner
2020-06-30 21:44 Andreas Sturmlechner
2020-03-19 11:46 Andreas Sturmlechner
2018-12-12 11:56 Andreas Sturmlechner
2018-08-09 22:20 Andreas Sturmlechner
2018-07-22 21:50 Andreas Sturmlechner
2018-07-22 21:50 Andreas Sturmlechner
2018-07-22 21:50 Andreas Sturmlechner
2017-11-15 23:45 Andreas Sturmlechner
2017-10-28 12:17 Andreas Sturmlechner
2016-05-11 18:06 Michael Palimaka
2016-02-15 15:42 Alexis Ballier
2015-08-21 12:53 Alexis Ballier

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=1729532096.2e5e84ee9e284774538b6c4c284b6e6fb802eca2.asturm@gentoo \
    --to=asturm@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