openimageio2.3, revbump for openssl3 (#11020)

This commit is contained in:
Schrijvers Luc
2024-09-01 08:44:03 +02:00
committed by GitHub
parent c3f57bd3b4
commit 911629b56d
2 changed files with 31 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ world, and is also incorporated into several commercial products."
HOMEPAGE="https://github.com/OpenImageIO/"
COPYRIGHT="2008-present Contributors to the OpenImageIO project."
LICENSE="BSD (3-clause)"
REVISION="5"
REVISION="6"
SOURCE_URI="$HOMEPAGE/oiio/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="23e2dc4b0fe82f1ccbc794b29608a3022aa9728cda766026dd7e1d4c0fc40f69"
SOURCE_FILENAME="openimageio-$portVersion.tar.gz"
@@ -84,7 +84,7 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix >= 1.83.0
devel:libbz2$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix >= 3
devel:libdeflate$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libfmt$secondaryArchSuffix
@@ -101,7 +101,7 @@ BUILD_REQUIRES="
devel:libpng16$secondaryArchSuffix
devel:libpugixml$secondaryArchSuffix
devel:libraw$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libssl$secondaryArchSuffix >= 3
devel:libtiff$secondaryArchSuffix
devel:libwebp$secondaryArchSuffix
devel:libz$secondaryArchSuffix

View File

@@ -1,4 +1,4 @@
From bdebf5dd0e91a422066460ca9c272504819af6d0 Mon Sep 17 00:00:00 2001
From e45b3fcfd45debf066f7f1cbe45671ba7c0e83fb Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Sun, 7 Jun 2015 22:05:26 +0000
Subject: Haiku patch
@@ -23,7 +23,7 @@ index a1ea8bd..9015ce7 100644
#undef bswap_32
diff --git a/src/libOpenImageIO/CMakeLists.txt b/src/libOpenImageIO/CMakeLists.txt
index 699d592..059af0f 100644
index 699d592..0bf1023 100644
--- a/src/libOpenImageIO/CMakeLists.txt
+++ b/src/libOpenImageIO/CMakeLists.txt
@@ -166,7 +166,9 @@ if (MINGW)
@@ -98,10 +98,10 @@ index 90fd11b..a28ee3e 100644
ifeq (${uname},cygwin)
platform := windows
--
2.30.2
2.45.2
From b625b70c76a765d38af3a9af3dc163eb35e46ee0 Mon Sep 17 00:00:00 2001
From 5ef92c6248bdac58a77bf6bec42b08b384969364 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 6 Nov 2019 23:18:49 +0100
Subject: tiff uses uint32 instead of uint32_t
@@ -130,5 +130,28 @@ index 650b1b1..ea5d0b6 100644
OIIO_PLUGIN_NAMESPACE_BEGIN
--
2.30.2
2.45.2
From 6105ada516e939e8d9772bd7c36ad797f8854821 Mon Sep 17 00:00:00 2001
From: Schrijvers Luc <begasus@gmail.com>
Date: Sun, 1 Sep 2024 08:34:37 +0200
Subject: Build fix for missing _DEFAULT_SOURCE
diff --git a/src/socket.imageio/socket_pvt.h b/src/socket.imageio/socket_pvt.h
index c5e9963..b917ba0 100644
--- a/src/socket.imageio/socket_pvt.h
+++ b/src/socket.imageio/socket_pvt.h
@@ -8,6 +8,8 @@
/////////////////////////////////////////////////////////////////////////////
+#define _DEFAULT_SOURCE
+
#pragma once
#include <map>
--
2.45.2