mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
21
media-libs/sdl_mixer/patches/sdl_mixer-1.2.12.patchset
Normal file
21
media-libs/sdl_mixer/patches/sdl_mixer-1.2.12.patchset
Normal file
@@ -0,0 +1,21 @@
|
||||
From 2ea0989df83a759942d42cadb4e9c055a75d2a18 Mon Sep 17 00:00:00 2001
|
||||
From: Craig Watson <watsoncraigjohn@gmail.com>
|
||||
Date: Mon, 19 Apr 2021 14:59:10 +0000
|
||||
Subject: Fix looping midi bug in Haiku native midi
|
||||
|
||||
|
||||
diff --git a/native_midi/native_midi_haiku.cpp b/native_midi/native_midi_haiku.cpp
|
||||
index 8de350e..60face0 100644
|
||||
--- a/native_midi/native_midi_haiku.cpp
|
||||
+++ b/native_midi/native_midi_haiku.cpp
|
||||
@@ -74,6 +74,7 @@ class MidiEventsStore : public BMidi
|
||||
--fLoops;
|
||||
fPos = 0;
|
||||
ev = fEvs;
|
||||
+ startTime = B_NOW;
|
||||
} else
|
||||
break;
|
||||
}
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -6,10 +6,11 @@ MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries."
|
||||
HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/"
|
||||
COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
LICENSE="Zlib"
|
||||
REVISION="7"
|
||||
REVISION="8"
|
||||
SOURCE_URI="http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz"
|
||||
CHECKSUM_SHA256="1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
|
||||
SOURCE_DIR="SDL_mixer-$portVersion"
|
||||
PATCHES="sdl_mixer-1.2.12.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
Reference in New Issue
Block a user