765e304c4b
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
11 lines
459 B
Diff
11 lines
459 B
Diff
--- a/src/milkyplay/drivers/jack/AudioDriver_JACK.cpp
|
|
+++ b/src/milkyplay/drivers/jack/AudioDriver_JACK.cpp
|
|
@@ -92,7 +92,7 @@
|
|
mp_sint32 AudioDriver_JACK::initDevice(mp_sint32 bufferSizeInWords, mp_uint32 mixFrequency, MasterMixer* mixer)
|
|
{
|
|
// First load libjack
|
|
- libJack = dlopen("libjack.so", RTLD_LAZY);
|
|
+ libJack = dlopen("libjack.so.0", RTLD_LAZY);
|
|
if(!libJack) {
|
|
fprintf(stderr, "JACK: Can't load libjack (is it installed?)\n");
|
|
return -1;
|