1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-25 14:40:32 -04:00
ports/x11/cinnamon/files/patch-src_st_meson.build
Tobias Kortkamp 1699e4b153
x11/cinnamon: Attempt to fix build order bug (D29353)
Uncovered while building with devel/samurai but can probably also
happen with ninja eventually.

In file included from ../src/main.c:25:
In file included from ../src/cinnamon-global-private.h:28:
In file included from src/st/st.h:7:
../src/st/st-box-layout-child.h:24:10: fatal error: 'st-enum-types.h' file not found
 #include "st-enum-types.h"
         ^~~~~~~~~~~~~~~~~
1 error generated.
samu: subcommands failed

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-05_21h03m50s/logs/errors/cinnamon-4.8.6.log

PR:		254678
2021-04-07 06:20:01 +02:00

19 lines
665 B
Text

Attempt to fix parallel build
In file included from ../src/main.c:25:
In file included from ../src/cinnamon-global-private.h:28:
In file included from src/st/st.h:7:
../src/st/st-box-layout-child.h:24:10: fatal error: 'st-enum-types.h' file not found
#include "st-enum-types.h"
^~~~~~~~~~~~~~~~~
--- src/st/meson.build.orig 2021-04-06 04:24:56 UTC
+++ src/st/meson.build
@@ -189,6 +189,7 @@ libst = library(
st_dep = declare_dependency(
include_directories: include_directories('.', 'croco'),
dependencies: libst_deps,
+ sources: st_enum_types[1],
link_with: libst,
link_args: ['-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now'],
)