audio/libopenshot-audio: Remove old unnecessary patches
PR: 284374
Fixes: feff524119
(Update 0.3.3 → 0.4.0)
This commit is contained in:
parent
5da608e30d
commit
14ec6f3f0d
3 changed files with 1 additions and 55 deletions
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= libopenshot-audio
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio multimedia
|
||||
|
||||
MAINTAINER= tatsuki_makino@hotmail.com
|
||||
|
|
|
@ -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);
|
|
@ -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);
|
Loading…
Add table
Reference in a new issue