aboutsummaryrefslogtreecommitdiffstats
path: root/audio/lmms
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-12-05 17:18:33 +0800
committerjylefort <jylefort@FreeBSD.org>2006-12-05 17:18:33 +0800
commitd17432a80f784af244478ac2fbf84140327059bc (patch)
treefaba0b9b4d16e274dd8e684cbfeef3e70731c62b /audio/lmms
parentb8570428475339917783642927d433cd46339b37 (diff)
downloadfreebsd-ports-gnome-d17432a80f784af244478ac2fbf84140327059bc.tar.gz
freebsd-ports-gnome-d17432a80f784af244478ac2fbf84140327059bc.tar.zst
freebsd-ports-gnome-d17432a80f784af244478ac2fbf84140327059bc.zip
Fix a crash.
Diffstat (limited to 'audio/lmms')
-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 );