summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/lmms/Makefile1
-rw-r--r--audio/lmms/files/patch-src_tracks_instrument__track.cpp11
2 files changed, 12 insertions, 0 deletions
diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile
index 734a6d1cea0e..21c96373b789 100644
--- a/audio/lmms/Makefile
+++ b/audio/lmms/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lmms
PORTVERSION= 20061204
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jylefort
diff --git a/audio/lmms/files/patch-src_tracks_instrument__track.cpp b/audio/lmms/files/patch-src_tracks_instrument__track.cpp
new file mode 100644
index 000000000000..baf1d3145bcb
--- /dev/null
+++ b/audio/lmms/files/patch-src_tracks_instrument__track.cpp
@@ -0,0 +1,11 @@
+--- src/tracks/instrument_track.cpp.orig Mon Dec 4 15:22:32 2006
++++ src/tracks/instrument_track.cpp Tue Dec 5 09:49:12 2006
+@@ -919,7 +919,7 @@
+ trackContentObject * tco = getTCO( _tco_num );
+ tcos.push_back( tco );
+ bb_track = bbTrack::findBBTrack( _tco_num, eng() );
+- if( !( bb_track->automationDisabled( this )
++ if( bb_track != NULL && !( bb_track->automationDisabled( this )
+ || dynamic_cast<pattern *>( tco )->empty() ) )
+ {
+ sendMidiTime( _start );