From c3f57bd3b4aa664cd614801a78ffb6844a551857 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sun, 1 Sep 2024 08:21:50 +0200 Subject: [PATCH] openimageio2.2, revbump for openssl3 (#11019) --- .../openimageio2.2-2.2.16.0.recipe | 7 +++-- .../patches/openimageio-2.2.16.0.patchset | 31 ++++++++++++++++--- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/media-libs/openimageio/openimageio2.2-2.2.16.0.recipe b/media-libs/openimageio/openimageio2.2-2.2.16.0.recipe index 884548c29..d4f887226 100644 --- a/media-libs/openimageio/openimageio2.2-2.2.16.0.recipe +++ b/media-libs/openimageio/openimageio2.2-2.2.16.0.recipe @@ -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="1" +REVISION="2" SOURCE_URI="$HOMEPAGE/oiio/archive/Release-$portVersion.tar.gz" CHECKSUM_SHA256="a120e4a5c56b867250a45cf63d48af80e56af7f97f65354c8b91b9bbb15975c5" SOURCE_FILENAME="openimageio-$portVersion.tar.gz" @@ -61,7 +61,8 @@ 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 devel:libgif$secondaryArchSuffix @@ -77,7 +78,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 diff --git a/media-libs/openimageio/patches/openimageio-2.2.16.0.patchset b/media-libs/openimageio/patches/openimageio-2.2.16.0.patchset index 66ce27eb3..94e524b60 100644 --- a/media-libs/openimageio/patches/openimageio-2.2.16.0.patchset +++ b/media-libs/openimageio/patches/openimageio-2.2.16.0.patchset @@ -1,4 +1,4 @@ -From 59c27b5980e4a98c5861add9889b1f8f7aaf94d2 Mon Sep 17 00:00:00 2001 +From 8459508cce4d5df1c4f292a46ea73b770a6bdc9b Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 7 Jun 2015 22:05:26 +0000 Subject: Haiku patch @@ -98,10 +98,10 @@ index 90fd11b..a28ee3e 100644 ifeq (${uname},cygwin) platform := windows -- -2.45.1 +2.45.2 -From a20168f0cf2ccefb1550f2e53f106960fa3acb35 Mon Sep 17 00:00:00 2001 +From ed3a6e472c020616d2838b9b6761fdeb8fa0a4bd Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 6 Nov 2019 23:18:49 +0100 Subject: tiff uses uint32 instead of uint32_t @@ -130,5 +130,28 @@ index 01c52a4..a651689 100644 OIIO_PLUGIN_NAMESPACE_BEGIN -- -2.45.1 +2.45.2 + + +From 90b912504e67a15fdf3889c5628dc705ce8f9966 Mon Sep 17 00:00:00 2001 +From: Schrijvers Luc +Date: Sun, 1 Sep 2024 08:11:28 +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 3764df2..22765e6 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 +-- +2.45.2