File: enforce-no-implicit-function-declaration.patch

package info (click to toggle)
budgie-desktop 10.9.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,704 kB
  • sloc: ansic: 9,528; xml: 881; sh: 143; makefile: 30
file content (42 lines) | stat: -rw-r--r-- 1,074 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: define c_args for valac compilation
 FTBFS due to global c_args being seemingly
 ignored.
 Not reported upstream so this appears to be a
 distro specific issue
Author: David Mohammed <fossfreedom@ubuntu.com>
Forwarded: not-needed
Last-Update: 2024-08-17

--- a/src/wm/meson.build
+++ b/src/wm/meson.build
@@ -86,6 +86,8 @@
     vala_args: budgie_wm_vala_args,
     c_args: [
         '-DGNOME_DESKTOP_USE_UNSTABLE_API',
+        '-Wno-implicit-function-declaration',
+        '-w'
     ],
     install_rpath: rpath,
 )
--- a/src/daemon/meson.build
+++ b/src/daemon/meson.build
@@ -95,6 +95,7 @@
     ],
     c_args: [
         '-DWNCK_I_KNOW_THIS_IS_UNSTABLE',
+        '-Wno-implicit-function-declaration'
     ],
     install: true,
 )
--- a/src/panel/applets/workspaces/meson.build
+++ b/src/panel/applets/workspaces/meson.build
@@ -50,6 +50,9 @@
         '--target-glib=2.38',
         '--gresources=' + gresource,
     ],
+    c_args: [
+        '-Wno-implicit-function-declaration',
+    ],
     install: true,
     install_dir: applet_workspaces_dir,
 )