Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 1.3 kB view raw
1From 64f06c0643f1f8691a8f2757496b60f1ab98c866 Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?Sa=C3=AFd=20Benaissa?= <sbenaissa@shearwatergeo.com> 3Date: Fri, 8 Dec 2023 21:51:32 +0100 4Subject: [PATCH] Add include for cstdint, fix segyio build on fedora 5 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(-) 11 12diff --git a/lib/experimental/segyio/segyio.hpp b/lib/experimental/segyio/segyio.hpp 13index 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> 18 19 #include <segyio/segy.h> 20+#include <cstdint> 21 22 /* 23 * KNOWN ISSUES AND TODOs: 24diff --git a/python/segyio/segyio.cpp b/python/segyio/segyio.cpp 25index 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> 33 34 #if PY_MAJOR_VERSION >= 3 35 #define IS_PY3K 36diff --git a/python/setup.py b/python/setup.py 37index 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 46 47 long_description = """