fix build with clang6

This commit is contained in:
jasper 2018-04-11 18:01:24 +00:00
parent 61dcc745ce
commit 9b32e9c611
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_main_screen_C,v 1.1 2018/04/11 18:01:24 jasper Exp $
Index: src/main_screen.C
--- src/main_screen.C.orig
+++ src/main_screen.C
@@ -178,7 +178,7 @@ setup_screen ()
gtk_container_add (GTK_CONTAINER (main_screen.window), box);
gtk_container_set_border_width (GTK_CONTAINER (main_screen.window), 1);
gtk_window_set_title (GTK_WINDOW (main_screen.window),
- "GPSK31 - Version "VERSION);
+ "GPSK31 - Version " VERSION);
gtk_widget_set_usize (GTK_WIDGET (main_screen.window), 0, 450);
init_menu (); // create the menu widget

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_menu_C,v 1.1 2018/04/11 18:01:24 jasper Exp $
Index: src/menu.C
--- src/menu.C.orig
+++ src/menu.C
@@ -140,7 +140,7 @@ void about_dialog()
gtk_window_set_title (GTK_WINDOW (window),
"About GPSK31");
label = gtk_label_new ("\nGPSK31 - Linux GTK+ PSK31 Terminal\n" \
- "Version "VERSION" - "DATE"\n\n" \
+ "Version " VERSION " - " DATE "\n\n" \
"DSP Routines by Hansi Reiser, DL9RDZ\n" \
"GTK+ GUI by Luc Langehegermann, LX2GT\n" \
"GTK+-2.0 porting by Joop Stakenborg, PG4I\n");