1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
Tobias C. Berner 2020-08-28 18:43:02 +00:00
parent 5b97b29b26
commit c369e42934
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546794
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- include/denemo/denemo_types.h.orig 2020-08-28 18:35:58 UTC
+++ include/denemo/denemo_types.h
@@ -429,7 +429,7 @@ enum
COL_ROW,
COL_SCHEME,
N_COLUMNS
-} COMMAND_COLS;
+};
typedef enum { TYPESET_EXCERPT, TYPESET_MOVEMENT, TYPESET_ALL_MOVEMENTS} typeset_type;
@@ -1212,6 +1212,7 @@ struct DenemoRoot
gboolean *fatal_scheme_errors; /** Abort on scheme errors */
gboolean *silent; /** Don't log any message */
gboolean *verbose; /** Display every messages */
-} Denemo; /**< The root object. */
+};
+extern struct DenemoRoot Denemo; /**< The root object. */
#endif

View File

@ -0,0 +1,13 @@
--- src/export/print.c.orig 2020-08-28 18:37:44 UTC
+++ src/export/print.c
@@ -30,7 +30,9 @@
#include "export/exportlilypond.h"
#include "core/utils.h"
-
+gint LilyPond_stderr; //A file descriptor to pipe for LilyPond's stderr
+GError *lily_err;
+GPid previewerpid;
#if GTK_MAJOR_VERSION==3
typedef enum

View File

@ -0,0 +1,15 @@
--- src/export/print.h.orig 2020-08-28 18:38:07 UTC
+++ src/export/print.h
@@ -108,9 +108,9 @@ typedef struct WysiwygInfo
GtkWidget *dialog; //an info dialog to tell the user what to do next...
} WysiwygInfo;
-gint LilyPond_stderr; //A file descriptor to pipe for LilyPond's stderr
-GError *lily_err;
-GPid previewerpid;
+extern gint LilyPond_stderr; //A file descriptor to pipe for LilyPond's stderr
+extern GError *lily_err;
+extern GPid previewerpid;
WysiwygInfo* get_wysiwyg_info();
void initialize_print_status (void);