#! /bin/sh /usr/share/dpatch/dpatch-run ## 20_alsa_fix_2.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fix for compiling with newer alsa that has removed several symbols. @DPATCH@ diff -urNad bristol-0.9.1~/src/bristol/libbristolmidi/midiSeqDevMan.c bristol-0.9.1/src/bristol/libbristolmidi/midiSeqDevMan.c --- bristol-0.9.1~/src/bristol/libbristolmidi/midiSeqDevMan.c 2008-11-24 16:28:18.000000000 +0000 +++ bristol-0.9.1/src/bristol/libbristolmidi/midiSeqDevMan.c 2008-11-24 16:28:42.000000000 +0000 @@ -258,6 +258,7 @@ [SND_SEQ_EVENT_PORT_SUBSCRIBED]= "Port Subscribed", [SND_SEQ_EVENT_PORT_UNSUBSCRIBED]= "Port Unsubscribed", [SND_SEQ_EVENT_SAMPLE]= "Sample", +/* These were removed in alsa 1.0.17 [SND_SEQ_EVENT_SAMPLE_CLUSTER]= "Sample Cluster", [SND_SEQ_EVENT_SAMPLE_START]= "Sample Start", [SND_SEQ_EVENT_SAMPLE_STOP]= "Sample Stop", @@ -266,6 +267,7 @@ [SND_SEQ_EVENT_SAMPLE_LOOP]= "Sample Loop", [SND_SEQ_EVENT_SAMPLE_POSITION]= "Sample Position", [SND_SEQ_EVENT_SAMPLE_PRIVATE1]= "Sample Private1", +*/ [SND_SEQ_EVENT_USR0]= "User 0", [SND_SEQ_EVENT_USR1]= "User 1", [SND_SEQ_EVENT_USR2]= "User 2", @@ -276,6 +278,7 @@ [SND_SEQ_EVENT_USR7]= "User 7", [SND_SEQ_EVENT_USR8]= "User 8", [SND_SEQ_EVENT_USR9]= "User 9", +/* These were removed in alsa 1.0.17 [SND_SEQ_EVENT_INSTR_BEGIN]= "Instr Begin", [SND_SEQ_EVENT_INSTR_END]= "Instr End", [SND_SEQ_EVENT_INSTR_INFO]= "Instr Info", @@ -295,6 +298,7 @@ [SND_SEQ_EVENT_INSTR_CLUSTER_GET]= "Instr Cluster Get", [SND_SEQ_EVENT_INSTR_CLUSTER_RESULT]= "Instr Cluster Result", [SND_SEQ_EVENT_INSTR_CHANGE]= "Instr Change", +*/ [SND_SEQ_EVENT_SYSEX]= "Sysex", [SND_SEQ_EVENT_BOUNCE]= "Bounce", [SND_SEQ_EVENT_USR_VAR0]= "User Var0",