diff options
Diffstat (limited to 'sci-electronics/gerbv/files/gerbv-2.7.0-fno-common-gcc10.patch')
-rw-r--r-- | sci-electronics/gerbv/files/gerbv-2.7.0-fno-common-gcc10.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-electronics/gerbv/files/gerbv-2.7.0-fno-common-gcc10.patch b/sci-electronics/gerbv/files/gerbv-2.7.0-fno-common-gcc10.patch new file mode 100644 index 000000000000..74879d46b06e --- /dev/null +++ b/sci-electronics/gerbv/files/gerbv-2.7.0-fno-common-gcc10.patch @@ -0,0 +1,28 @@ +--- a/src/callbacks.h ++++ b/src/callbacks.h +@@ -26,7 +26,7 @@ + \ingroup gerbv + */ + +-enum { ++enum CALLBACKS_SAVE_FILE_TYPE { + CALLBACKS_SAVE_PROJECT_AS, + CALLBACKS_SAVE_FILE_PS, + CALLBACKS_SAVE_FILE_PDF, +@@ -41,13 +41,13 @@ + CALLBACKS_SAVE_LAYER_AS, + CALLBACKS_SAVE_FILE_IDRILL + +-} CALLBACKS_SAVE_FILE_TYPE; ++}; + +-enum { ++enum toggle_layer { + LAYER_SELECTED = -1, + LAYER_ALL_ON = -2, + LAYER_ALL_OFF = -3, +-} toggle_layer; ++}; + + void + callbacks_new_project_activate (GtkMenuItem *menuitem, |