summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-12-05 09:18:33 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-12-05 09:18:33 +0000
commit9465e8d372bacf290bed1435c96295bc12e30e81 (patch)
tree123bd1ed9aadc2d90dad3d2858c52ccc7a1f6581
parentupdate to 0.9.630 (diff)
Fix a crash.
Notes
Notes: svn path=/head/; revision=178924
-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 );