diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-12-28 15:15:42 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-12-28 15:15:42 +0100 |
commit | 0b12111fda0e3e00c201e5c52003259788f2ca15 (patch) | |
tree | 9277524d958a4d20c2656ec330fa400dd2e616e7 /sci-electronics/geda/files | |
parent | net-libs/libisds: Sync live ebuild (diff) | |
download | gentoo-0b12111fda0e3e00c201e5c52003259788f2ca15.tar.gz gentoo-0b12111fda0e3e00c201e5c52003259788f2ca15.tar.bz2 gentoo-0b12111fda0e3e00c201e5c52003259788f2ca15.zip |
sci-electronics/geda: Port to EAPI 7
Closes: https://bugs.gentoo.org/707892
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-electronics/geda/files')
-rw-r--r-- | sci-electronics/geda/files/geda-1.9.2-fno-common.patch | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/sci-electronics/geda/files/geda-1.9.2-fno-common.patch b/sci-electronics/geda/files/geda-1.9.2-fno-common.patch new file mode 100644 index 000000000000..c509b42904a8 --- /dev/null +++ b/sci-electronics/geda/files/geda-1.9.2-fno-common.patch @@ -0,0 +1,97 @@ +--- a/gschem/include/globals.h ++++ b/gschem/include/globals.h +@@ -27,7 +27,7 @@ + extern GList *global_window_list; + + /* Manager for recently used files */ +-GtkRecentManager *recent_manager; ++extern GtkRecentManager *recent_manager; + + /* colors */ + extern GdkColor white; +--- a/gschem/src/globals.c ++++ b/gschem/src/globals.c +@@ -28,6 +28,8 @@ + /* window list */ + GList *global_window_list = NULL; + ++GtkRecentManager *recent_manager = NULL; ++ + char *rc_filename = NULL; + char *output_filename = NULL; + +--- a/gattrib/include/globals.h ++++ b/gattrib/include/globals.h +@@ -88,7 +88,7 @@ + * structs.h + */ + /*------------------------------------------------------------------*/ +-TOPLEVEL *pr_current; ++extern TOPLEVEL *pr_current; + + /*------------------------------------------------------------------*/ + /*! +@@ -97,7 +97,7 @@ TOPLEVEL *pr_current; + * callbacks. It is defined in structs.h + */ + /*------------------------------------------------------------------*/ +-SHEET_DATA *sheet_head; ++extern SHEET_DATA *sheet_head; + + /*------------------------------------------------------------------ + * GTKsheet includes: stuff for dealing with windows. +@@ -106,18 +106,18 @@ SHEET_DATA *sheet_head; + #define DEFAULT_SPACE 8 + #define NUM_SHEETS 3 /* Components, Nets, and Pins */ + +-GtkWidget *window; /* Main window */ +-GtkWidget *notebook; ++extern GtkWidget *window; /* Main window */ ++extern GtkWidget *notebook; + +-GtkSheet **sheets; /* These are the spreadsheet widgets themselves */ ++extern GtkSheet **sheets; /* These are the spreadsheet widgets themselves */ + +-GtkWidget **scrolled_windows; +-GtkWidget *entry; +-GtkWidget *location; +-GtkWidget *left_button; +-GtkWidget *center_button; +-GtkWidget *right_button; +-GtkWidget *label; ++extern GtkWidget **scrolled_windows; ++extern GtkWidget *entry; ++extern GtkWidget *location; ++extern GtkWidget *left_button; ++extern GtkWidget *center_button; ++extern GtkWidget *right_button; ++extern GtkWidget *label; + + /* command line switch settings */ + extern int verbose_mode; +--- a/gattrib/src/globals.c ++++ b/gattrib/src/globals.c +@@ -34,6 +34,23 @@ + #include "../include/prototype.h" /* function prototypes */ + #include "../include/globals.h" + ++TOPLEVEL *pr_current; ++ ++SHEET_DATA *sheet_head; ++ ++GtkWidget *window; ++GtkWidget *notebook; ++ ++GtkSheet **sheets; ++ ++GtkWidget **scrolled_windows; ++GtkWidget *entry; ++GtkWidget *location; ++GtkWidget *left_button; ++GtkWidget *center_button; ++GtkWidget *right_button; ++GtkWidget *label; ++ + /* command line arguments */ + int verbose_mode=FALSE; //!< Reflects the value of the command line flag + int quiet_mode=FALSE; //!< Reflects the value of the command line flag |