1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/cad/geda/files/patch-gschem_include_globals.h
Alexey Dokuchaev e3df77b3ab cad/geda: make the port's code consumable by contemporary compilers
Ensure that there is only one variable definition per each object, as
the C (and C++) standards mandated for years and compilers started to
enforce as of recently (Clang 11, GCC 10).
2023-02-23 13:20:00 +00:00

12 lines
298 B
C

--- gschem/include/globals.h.orig 2013-08-18 17:02:48 UTC
+++ 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;