Fix taken from https://gitlab.gnome.org/GNOME/atomix/-/commit/be7f44f1945a569494d46c60eaf6e7b39b2bb48b.patch
OK? diff --git Makefile Makefile index bb1a981256b..600af72aa64 100644 --- Makefile +++ Makefile @@ -3,7 +3,7 @@ COMMENT= build molecules out of single atoms DISTNAME= atomix-2.14.0 -REVISION= 14 +REVISION= 15 CATEGORIES= games EXTRACT_SUFX= .tar.bz2 diff --git patches/patch-src_level_c patches/patch-src_level_c new file mode 100644 index 00000000000..c74c726e8ab --- /dev/null +++ patches/patch-src_level_c @@ -0,0 +1,17 @@ +$OpenBSD$ + +Fix -fno-common build error. Taken from +https://gitlab.gnome.org/GNOME/atomix/-/commit/be7f44f1945a569494d46c60eaf6e7b39b2bb48b.patch + +Index: src/level.c +--- src/level.c.orig ++++ src/level.c +@@ -30,7 +30,7 @@ static void level_class_init (GObjectClass *class); + static void level_init (Level *level); + static void level_finalize (GObject *object); + +-GObjectClass *parent_class; ++static GObjectClass *parent_class; + + /*================================================================= + diff --git patches/patch-src_theme_c patches/patch-src_theme_c new file mode 100644 index 00000000000..3d435f1bd36 --- /dev/null +++ patches/patch-src_theme_c @@ -0,0 +1,17 @@ +$OpenBSD$ + +Fix -fno-common build error. Taken from +https://gitlab.gnome.org/GNOME/atomix/-/commit/be7f44f1945a569494d46c60eaf6e7b39b2bb48b.patch + +Index: src/theme.c +--- src/theme.c.orig ++++ src/theme.c +@@ -32,7 +32,7 @@ static void theme_init (Theme *theme); + static void theme_finalize (GObject *object); + static void destroy_theme_image (gpointer data); + +-GObjectClass *parent_class; ++static GObjectClass *parent_class; + + GType theme_get_type (void) + {