File: eckit-resource.patch

package info (click to toggle)
metview 5.26.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 614,356 kB
  • sloc: cpp: 560,586; ansic: 44,641; xml: 19,933; f90: 17,984; sh: 7,454; python: 5,565; yacc: 2,318; lex: 1,372; perl: 701; makefile: 88
file content (27 lines) | stat: -rw-r--r-- 675 bytes parent folder | download
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
Description: Patch to add headers for Resource objects
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2025-05-19
Forwarded: no

--- a/mir/src/mir/caching/WeightCache.cc
+++ b/mir/src/mir/caching/WeightCache.cc
@@ -9,6 +9,8 @@
  * does it submit to any jurisdiction.
  */
 
+#include "eckit/config/Resource.h"
+#include "eckit/config/ResourceMgr.h"
 
 #include "mir/caching/WeightCache.h"
 
--- a/mir/src/mir/caching/LegendreCache.cc
+++ b/mir/src/mir/caching/LegendreCache.cc
@@ -9,6 +9,8 @@
  * does it submit to any jurisdiction.
  */
 
+#include "eckit/config/Resource.h"
+#include "eckit/config/ResourceMgr.h"
 
 #include "mir/caching/LegendreCache.h"