git: 14ec6f3f0dc1 - main - audio/libopenshot-audio: Remove old unnecessary patches
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Feb 2025 23:01:40 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=14ec6f3f0dc1450253e03a1632e6b15179a684f8
commit 14ec6f3f0dc1450253e03a1632e6b15179a684f8
Author: Tatsuki Makino <tatsuki_makino@hotmail.com>
AuthorDate: 2025-02-11 22:49:24 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-11 23:00:05 +0000
audio/libopenshot-audio: Remove old unnecessary patches
PR: 284374
Fixes: feff524119d2 (Update 0.3.3 → 0.4.0)
---
audio/libopenshot-audio/Makefile | 1 +
...udio__devices_native_juce__JackAudio__linux.cpp | 30 ----------------------
...ules_juce__core_native_juce__Network__linux.cpp | 25 ------------------
3 files changed, 1 insertion(+), 55 deletions(-)
diff --git a/audio/libopenshot-audio/Makefile b/audio/libopenshot-audio/Makefile
index 3f5d30eef694..74fcddccab93 100644
--- a/audio/libopenshot-audio/Makefile
+++ b/audio/libopenshot-audio/Makefile
@@ -1,6 +1,7 @@
PORTNAME= libopenshot-audio
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.0
+PORTREVISION= 1
CATEGORIES= audio multimedia
MAINTAINER= tatsuki_makino@hotmail.com
diff --git a/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__audio__devices_native_juce__JackAudio__linux.cpp b/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__audio__devices_native_juce__JackAudio__linux.cpp
deleted file mode 100644
index b447cc3fdbb0..000000000000
--- a/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__audio__devices_native_juce__JackAudio__linux.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
---- JuceLibraryCode/modules/juce_audio_devices/native/juce_JackAudio_linux.cpp.orig 2024-12-21 22:21:33 UTC
-+++ JuceLibraryCode/modules/juce_audio_devices/native/juce_JackAudio_linux.cpp
-@@ -182,6 +182,8 @@ class JackAudioIODevice final : public AudioIODevice (
- {
- juce::jack_set_error_function (errorCallback);
-
-+ if (inputId.isNotEmpty())
-+ {
- // open input ports
- const StringArray inputChannels (getInputChannelNames());
- for (int i = 0; i < inputChannels.size(); ++i)
-@@ -192,7 +194,10 @@ class JackAudioIODevice final : public AudioIODevice (
- inputPorts.add (juce::jack_port_register (client, inputChannelName.toUTF8(),
- JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput, 0));
- }
-+ }
-
-+ if (outputId.isNotEmpty())
-+ {
- // open output ports
- const StringArray outputChannels (getOutputChannelNames());
- for (int i = 0; i < outputChannels.size(); ++i)
-@@ -202,6 +207,7 @@ class JackAudioIODevice final : public AudioIODevice (
-
- outputPorts.add (juce::jack_port_register (client, outputChannelName.toUTF8(),
- JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0));
-+ }
- }
-
- inChans.calloc (totalNumberOfInputChannels + 2);
diff --git a/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_native_juce__Network__linux.cpp b/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_native_juce__Network__linux.cpp
deleted file mode 100644
index f5fae47509cc..000000000000
--- a/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_native_juce__Network__linux.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
---- JuceLibraryCode/modules/juce_core/native/juce_Network_linux.cpp.orig 2020-09-11 12:10:25 UTC
-+++ JuceLibraryCode/modules/juce_core/native/juce_Network_linux.cpp
-@@ -35,6 +35,14 @@ void MACAddress::findAllAddresses (Array<MACAddress>&
- {
- for (auto* i = addrs; i != nullptr; i = i->ifa_next)
- {
-+#if JUCE_BSD
-+ if (i->ifa_addr->sa_family != AF_LINK) {
-+ continue;
-+ }
-+ struct sockaddr_dl *dl = (struct sockaddr_dl *)i->ifa_addr;
-+ {
-+ MACAddress ma ((const uint8*) LLADDR(dl));
-+#else
- struct ifreq ifr;
- strcpy (ifr.ifr_name, i->ifa_name);
- ifr.ifr_addr.sa_family = AF_INET;
-@@ -42,6 +50,7 @@ void MACAddress::findAllAddresses (Array<MACAddress>&
- if (ioctl (s, SIOCGIFHWADDR, &ifr) == 0)
- {
- MACAddress ma ((const uint8*) ifr.ifr_hwaddr.sa_data);
-+#endif
-
- if (! ma.isNull())
- result.addIfNotAlreadyThere (ma);