Skip to content

Commit

Permalink
x11/brisk-menu: Attempt to fix build order bug (D29353)
Browse files Browse the repository at this point in the history
Uncovered while building with devel/samurai but can probably also
happen with ninja eventually.

In file included from ../src/mate-applet/applet.c:19:
In file included from ../src/frontend/classic/classic-window.h:14:
../src/frontend/classic/../menu-private.h:18:10: fatal error: 'libsaver-glue.h' file not found
 #include "libsaver-glue.h"
         ^~~~~~~~~~~~~~~~~
1 error generated.
samu: subcommands failed

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/brisk-menu-0.6.2.log

PR:		254678
  • Loading branch information
Tobias Kortkamp authored and Tobias Kortkamp committed Apr 7, 2021
1 parent 157731d commit 6428be4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions x11/brisk-menu/files/patch-src_meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Attempt to unbreak parallel build

--- src/meson.build.orig 2021-04-05 04:30:02 UTC
+++ src/meson.build
@@ -13,6 +13,7 @@ libresources = static_library(

link_libresources = declare_dependency(
link_with: libresources,
+ sources: brisk_resources,
include_directories: [
data_include,
],
@@ -38,6 +39,7 @@ libsession_stub = static_library(
# Allow linking to the stub
link_libsession_stub = declare_dependency(
link_with: libsession_stub,
+ sources: [libsaver_glue, libsession_glue],
dependencies: [
dep_gio_unix,
],

0 comments on commit 6428be4

Please sign in to comment.