diff --git a/audio/terminatorx/files/patch-src_tX__dialog.cc b/audio/terminatorx/files/patch-src_tX__dialog.cc index 321cb9716c76..83b5f684c9e5 100644 --- a/audio/terminatorx/files/patch-src_tX__dialog.cc +++ b/audio/terminatorx/files/patch-src_tX__dialog.cc @@ -1,14 +1,32 @@ --- src/tX_dialog.cc.orig 2011-01-30 21:01:30 UTC +++ src/tX_dialog.cc @@ -252,7 +252,11 @@ GList *get_alsa_device_list() { #ifdef USE_OSS static GList *oss_devices=NULL; +#ifdef HAVE_SCANDIR_POSIX int oss_select_dsp_only(const struct dirent *entry){ +#else +int oss_select_dsp_only(struct dirent *entry){ +#endif return (strstr(entry->d_name, "dsp")!=0); } +@@ -562,7 +566,7 @@ void show_about(int nag) + gtk_box_pack_start(GTK_BOX(box), iwid, WID_FIX); + gtk_box_pack_start(GTK_BOX(box), box2, WID_FIX); + +- label=gtk_label_new(PACKAGE" release "VERSION); ++ label=gtk_label_new(PACKAGE" release " VERSION); + gtk_box_pack_start(GTK_BOX(box2), label, WID_DYN); + gtk_misc_set_alignment(GTK_MISC(label), 0.1, 0.5); + gtk_widget_show(label); +@@ -585,7 +589,7 @@ void show_about(int nag) + sep=gtk_hseparator_new(); + add_about_wid_fix(sep); + +- label=gtk_label_new("This is "PACKAGE" release "VERSION" - Copyright (C) 1999-2011 by Alexander König" ++ label=gtk_label_new("This is " PACKAGE " release " VERSION " - Copyright (C) 1999-2011 by Alexander König" + "\nSend comments, patches and scratches to: alex@lisas.de\nterminatorX-homepage: http://www.terminatorX.org"); + + gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER); diff --git a/audio/terminatorx/files/patch-src_tX__mastergui.cc b/audio/terminatorx/files/patch-src_tX__mastergui.cc index 8e951f239487..8d018addc272 100644 --- a/audio/terminatorx/files/patch-src_tX__mastergui.cc +++ b/audio/terminatorx/files/patch-src_tX__mastergui.cc @@ -1,20 +1,29 @@ --- src/tX_mastergui.cc.orig 2011-11-13 12:53:51 UTC +++ src/tX_mastergui.cc @@ -273,7 +273,7 @@ char tx_mg_current_setname[PATH_MAX]=""; GtkSignalFunc new_tables() { GtkWidget *dialog=gtk_message_dialog_new(GTK_WINDOW(main_window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, - "Are you sure you want to loose all turntables and events?"); + "Are you sure you want to lose all turntables and events?"); int res=gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); @@ -894,7 +894,7 @@ gboolean quit() if (globals.quit_confirm) { GtkWidget *dialog=gtk_message_dialog_new(GTK_WINDOW(main_window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, - "Exit terminatorX and loose all unsaved data?"); + "Exit terminatorX and lose all unsaved data?"); int res=gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); +@@ -1671,7 +1671,7 @@ void create_mastergui(int x, int y) + + add_sep2(); + +- dummy=gtk_label_new("v"VERSION); ++ dummy=gtk_label_new("v" VERSION); + gtk_misc_set_alignment(GTK_MISC(dummy), 1, 0.5); + gtk_box_pack_end(GTK_BOX(status_box), dummy, WID_FIX); + gtk_widget_show(dummy);