git: a4faaf6cf783 - main - deskutils/gnome-todo: Fix build on poudriere bulk
Neel Chauhan
nc at FreeBSD.org
Wed Sep 29 21:16:58 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a4faaf6cf7835014b5f69a337b544ea4ee7f9655
commit a4faaf6cf7835014b5f69a337b544ea4ee7f9655
Author: Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-09-29 21:15:25 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-09-29 21:16:37 +0000
deskutils/gnome-todo: Fix build on poudriere bulk
This fixes a race condition in building the enums.
PR: 257667
---
deskutils/gnome-todo/files/patch-src_meson.build | 51 ++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/deskutils/gnome-todo/files/patch-src_meson.build b/deskutils/gnome-todo/files/patch-src_meson.build
new file mode 100644
index 000000000000..2f74f1e38aa3
--- /dev/null
+++ b/deskutils/gnome-todo/files/patch-src_meson.build
@@ -0,0 +1,51 @@
+--- src/meson.build.orig 2021-09-16 17:48:29 UTC
++++ src/meson.build
+@@ -16,6 +16,23 @@ vcs_identifier_h = declare_dependency(sources: vcs_tag
+
+ gnome_todo_deps += vcs_identifier_h
+
++#########
++# Enums #
++#########
++
++enum_headers = files(
++ join_paths('animation', 'gtd-animation-enums.h'),
++)
++
++enum_types = 'gtd-enum-types'
++
++sources += gnome.mkenums(
++ enum_types,
++ sources: enum_headers,
++ c_template: enum_types + '.c.template',
++ h_template: enum_types + '.h.template'
++)
++
+ ###########
+ # Plugins #
+ ###########
+@@ -41,24 +58,6 @@ subdir('plugins')
+ gtd_deps = gnome_todo_deps + [
+ plugins_dep,
+ ]
+-
+-
+-#########
+-# Enums #
+-#########
+-
+-enum_headers = files(
+- join_paths('animation', 'gtd-animation-enums.h'),
+-)
+-
+-enum_types = 'gtd-enum-types'
+-
+-sources += gnome.mkenums(
+- enum_types,
+- sources: enum_headers,
+- c_template: enum_types + '.c.template',
+- h_template: enum_types + '.h.template'
+-)
+
+
+ ################
More information about the dev-commits-ports-all
mailing list