Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2023 04:45:33 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b31d39c8c9b2 - main - misc/libemos: Fix build that was broken due to missing defined symbol
Message-ID:  <202306070445.3574jXEF021042@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b31d39c8c9b2292a0595ea65cc3d78b3a9a2a7bf

commit b31d39c8c9b2292a0595ea65cc3d78b3a9a2a7bf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-07 04:43:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-07 04:45:26 +0000

    misc/libemos: Fix build that was broken due to missing defined symbol
    
    in the dependency science/eccodes after it was updated.
    
    Reported by:    fallout
---
 misc/libemos/files/patch-deprecated-fix.patch | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/misc/libemos/files/patch-deprecated-fix.patch b/misc/libemos/files/patch-deprecated-fix.patch
new file mode 100644
index 000000000000..bc32fc960e70
--- /dev/null
+++ b/misc/libemos/files/patch-deprecated-fix.patch
@@ -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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306070445.3574jXEF021042>