mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
misc/libemos: Fix build that was broken due to missing defined symbol
in the dependency science/eccodes after it was updated. Reported by: fallout
This commit is contained in:
parent
b6dc8438b6
commit
b31d39c8c9
1 changed files with 21 additions and 0 deletions
21
misc/libemos/files/patch-deprecated-fix.patch
Normal file
21
misc/libemos/files/patch-deprecated-fix.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
- From the Debian port:
|
||||||
|
-
|
||||||
|
- Author: Alastair McKinstry <mckinstry@debian.org>
|
||||||
|
- Description: Handle deprecated code from grib_api by redefining here.
|
||||||
|
- Note: emos to be dropped post bookworm;
|
||||||
|
- Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033427
|
||||||
|
- Last-Updated: 2023-03-26
|
||||||
|
- Forwarded: not-needed
|
||||||
|
|
||||||
|
--- interpolation/intf2.c
|
||||||
|
+++ interpolation/intf2.c
|
||||||
|
@@ -13,6 +13,9 @@
|
||||||
|
#include "grib_api.h"
|
||||||
|
#include "emos.h"
|
||||||
|
|
||||||
|
+#ifndef GRIB_UTIL_SET_SPEC_FLAGS_ONLY_PACKING
|
||||||
|
+#define GRIB_UTIL_SET_SPEC_FLAGS_ONLY_PACKING (1 << 0)
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
fortint int2_chkout();
|
||||||
|
fortint int2_estima();
|
Loading…
Add table
Reference in a new issue