biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / segyio / add_missing_cstdint.patch
blob2c26d6e454b145af10d7bd5792fd180f6ac92698
1 From 64f06c0643f1f8691a8f2757496b60f1ab98c866 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Sa=C3=AFd=20Benaissa?= <sbenaissa@shearwatergeo.com>
3 Date: Fri, 8 Dec 2023 21:51:32 +0100
4 Subject: [PATCH] Add include for cstdint, fix segyio build on fedora
6 ---
7 lib/experimental/segyio/segyio.hpp | 1 +
8 python/segyio/segyio.cpp | 1 +
9 python/setup.py | 2 +-
10 3 files changed, 3 insertions(+), 1 deletion(-)
12 diff --git a/lib/experimental/segyio/segyio.hpp b/lib/experimental/segyio/segyio.hpp
13 index 706f07ff5..7ba3ffb99 100644
14 --- a/lib/experimental/segyio/segyio.hpp
15 +++ b/lib/experimental/segyio/segyio.hpp
16 @@ -13,6 +13,7 @@
17 #include <vector>
19 #include <segyio/segy.h>
20 +#include <cstdint>
23 * KNOWN ISSUES AND TODOs:
24 diff --git a/python/segyio/segyio.cpp b/python/segyio/segyio.cpp
25 index 76da965c3..bd8a8622e 100644
26 --- a/python/segyio/segyio.cpp
27 +++ b/python/segyio/segyio.cpp
28 @@ -16,6 +16,7 @@
29 #include <cstring>
30 #include <sstream>
31 #include <stdexcept>
32 +#include <cstdint>
34 #if PY_MAJOR_VERSION >= 3
35 #define IS_PY3K
36 diff --git a/python/setup.py b/python/setup.py
37 index 6c6553bc7..654075be9 100644
38 --- a/python/setup.py
39 +++ b/python/setup.py
40 @@ -1,6 +1,6 @@
41 import os
42 import sys
43 -import skbuild
44 +import skbuild # pip install scikit-build
45 import setuptools
47 long_description = """