openexr: 2.5.8 -> 2.5.10 (#278994)
With updated gcc-13 patch to fix pkgsMusl.openexr_2
This commit is contained in:
parent
fa35ea9477
commit
b4ac0c8d98
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "openexr";
|
pname = "openexr";
|
||||||
version = "2.5.8";
|
version = "2.5.10";
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "out" "doc" ];
|
outputs = [ "bin" "dev" "out" "doc" ];
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "AcademySoftwareFoundation";
|
owner = "AcademySoftwareFoundation";
|
||||||
repo = "openexr";
|
repo = "openexr";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-N7XdDaDsYdx4TXvHplQDTvhHNUmW5rntdaTKua4C0es=";
|
hash = "sha256-xdC+T79ZQBx/XhuIXtP93Roj0N9lF+E65ReEKQ4kIsg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -36,8 +36,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-DrpldpNgN5pWKzIuuPIrynGX3EpP8YhJlu+lLfNFGxQ=";
|
sha256 = "sha256-DrpldpNgN5pWKzIuuPIrynGX3EpP8YhJlu+lLfNFGxQ=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Backport gcc-13 fix:
|
# GCC 13 fixes
|
||||||
# https://github.com/AcademySoftwareFoundation/openexr/pull/1264
|
|
||||||
./gcc-13.patch
|
./gcc-13.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,33 +1,25 @@
|
|||||||
https://github.com/AcademySoftwareFoundation/openexr/pull/1264
|
From 8aa103fe6e815514990e59708468eabc36f7f332 Mon Sep 17 00:00:00 2001
|
||||||
https://github.com/AcademySoftwareFoundation/openexr/commit/d0088a3c6943a9a53fc24e29885414d082d531fe.patch
|
From: =?UTF-8?q?=C3=A9clairevoyant?=
|
||||||
|
<848000+eclairevoyant@users.noreply.github.com>
|
||||||
|
Date: Fri, 5 Jan 2024 18:12:16 -0500
|
||||||
|
Subject: [PATCH] gcc13
|
||||||
|
|
||||||
--- a/OpenEXR/IlmImf/ImfDwaCompressor.cpp
|
---
|
||||||
+++ b/OpenEXR/IlmImf/ImfDwaCompressor.cpp
|
OpenEXR/IlmImf/ImfTiledMisc.cpp | 1 +
|
||||||
@@ -159,6 +159,7 @@
|
1 file changed, 1 insertion(+)
|
||||||
#include <limits>
|
|
||||||
|
diff --git a/OpenEXR/IlmImf/ImfTiledMisc.cpp b/OpenEXR/IlmImf/ImfTiledMisc.cpp
|
||||||
#include <cstddef>
|
index 06ea3144..749537d4 100644
|
||||||
+#include <cstdint>
|
--- a/OpenEXR/IlmImf/ImfTiledMisc.cpp
|
||||||
|
+++ b/OpenEXR/IlmImf/ImfTiledMisc.cpp
|
||||||
|
@@ -46,6 +46,7 @@
|
||||||
// Windows specific addition to prevent the indirect import of the redefined min/max macros
|
|
||||||
--- a/OpenEXR/IlmImf/ImfHuf.cpp
|
|
||||||
+++ b/OpenEXR/IlmImf/ImfHuf.cpp
|
|
||||||
@@ -53,6 +53,7 @@
|
|
||||||
#include <cstring>
|
|
||||||
#include <cassert>
|
|
||||||
#include <algorithm>
|
|
||||||
+#include <cstdint>
|
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
--- a/OpenEXR/IlmImf/ImfMisc.cpp
|
|
||||||
+++ b/OpenEXR/IlmImf/ImfMisc.cpp
|
|
||||||
@@ -52,6 +52,7 @@
|
|
||||||
#include <ImfConvert.h>
|
|
||||||
#include <ImfPartType.h>
|
|
||||||
#include <ImfTileDescription.h>
|
#include <ImfTileDescription.h>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <limits>
|
||||||
+#include <cstdint>
|
+#include <cstdint>
|
||||||
|
|
||||||
#include "ImfNamespace.h"
|
#include "ImfNamespace.h"
|
||||||
|
|
||||||
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
|
--
|
||||||
|
2.42.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user