freebsd-ports/audio/gtkguitune/files/patch-lcdview.cc
Pawel Pekala d68b9eb102 - Fix build with clang
- Add LICENSE, desktop entry file
- Support staging

PR:		ports/184891
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-21 01:05:38 +00:00

16 lines
373 B
C++

--- lcdview.cc.orig
+++ lcdview.cc
@@ -23,11 +23,12 @@
#include "lcdview.h"
-LCDView::LCDView(const char * str = 0)
+LCDView::LCDView(const char * str)
{
i_LCD_num = 11;
i_string_maxlen = 1000;
i_string = new char [i_string_maxlen];
+ str = 0;
set( str );
i_col_bg. set( "black" ); get_colormap()->alloc_color( i_col_bg );