summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-01-26 19:52:19 +0100
committerDavid Seifert <soap@gentoo.org>2020-01-26 19:52:19 +0100
commit8601fc63efe7f29b96fa6ce9545e994f6f1eba36 (patch)
treec0483fd25b5e0fbf2f133e3f0b7f9fbc593b2ed9 /sci-electronics/gerbv/files
parentdev-lua/lutok: update copyright start year (diff)
downloadgentoo-8601fc63efe7f29b96fa6ce9545e994f6f1eba36.tar.gz
gentoo-8601fc63efe7f29b96fa6ce9545e994f6f1eba36.tar.bz2
gentoo-8601fc63efe7f29b96fa6ce9545e994f6f1eba36.zip
sci-electronics/gerbv: Bump to 2.7.0
Bug: https://bugs.gentoo.org/686716 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-electronics/gerbv/files')
-rw-r--r--sci-electronics/gerbv/files/gerbv-2.7.0-fno-common-gcc10.patch28
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 00000000000..74879d46b06
--- /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,