aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/fxtv
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2005-10-02 04:35:26 +0800
committernobutaka <nobutaka@FreeBSD.org>2005-10-02 04:35:26 +0800
commit3f3ca65744324401e9e4274baaa09bd9fb80b1ee (patch)
treeda5c407d2a94cde28f50052f1a8f329471b5abfe /multimedia/fxtv
parent18211ffecd75085578157999afd280ee073784d7 (diff)
downloadfreebsd-ports-gnome-3f3ca65744324401e9e4274baaa09bd9fb80b1ee.tar.gz
freebsd-ports-gnome-3f3ca65744324401e9e4274baaa09bd9fb80b1ee.tar.zst
freebsd-ports-gnome-3f3ca65744324401e9e4274baaa09bd9fb80b1ee.zip
Fix segmentation fault on startup.
PR: ports/86579 Submitted by: Simun Mikecin <numisemis@yahoo.com>
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r--multimedia/fxtv/files/patch-tvmenu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/fxtv/files/patch-tvmenu.c b/multimedia/fxtv/files/patch-tvmenu.c
new file mode 100644
index 000000000000..6dbb011562e0
--- /dev/null
+++ b/multimedia/fxtv/files/patch-tvmenu.c
@@ -0,0 +1,11 @@
+--- tvmenu.c.orig Fri Sep 23 23:56:25 2005
++++ tvmenu.c Fri Sep 23 23:56:25 2005
+@@ -589,7 +589,7 @@
+
+ XtVaSetValues(children[i], XtNleftBitmap, pix, NULL);
+ #else
+- if ( strcmp( actual_station, temp_station ) == 0 )
++ if ( strcmp( actual_station, temp_station==NULL ? "" : temp_station ) == 0 )
+ new_popup_item = children[i];
+ #endif
+ }