summaryrefslogtreecommitdiff
path: root/media-libs/libopenraw
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libopenraw')
-rw-r--r--media-libs/libopenraw/Manifest3
-rw-r--r--media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch12
-rw-r--r--media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild3
3 files changed, 16 insertions, 2 deletions
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 1cc2a9b37d18..4317f8049a0a 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -1,4 +1,5 @@
+AUX libopenraw-0.3.7-fix-boost-detection.patch 558 BLAKE2B a2587de14ffd394f32b862aedda578a2d7ace3711a7b8355ba2640659666c044a16bbd84936550916a2f6e2a396235366e46186e24386f169bd24858096d5d17 SHA512 edeb38252c3cc32797a0a7a429d597d24791ed7c781d0a1af6f0aa40b64791710d159b568f21505fd6bbedae63214e442b65c3da801320cf8dfa39213ff7b7a1
AUX libopenraw-0.3.7-slibtool.patch 605 BLAKE2B 0369ca04439c0b69548079dc6ce69fd562bb3bcdb15ec2f76eafb76260846af16bbd33c60aed89967b1bd29b4cccd6ec7985b101b7af43c8dc0160569404c385 SHA512 7ee3505a2690777218b558b1016d19e00d63153cfa4a2fdb125327fb0a1f59224703b0af16329936e08e7fca65e615a840cd61e4d24f246dc89d329e1b0c5593
DIST libopenraw-0.3.7.tar.xz 2536380 BLAKE2B 22aacfb085c59fa4b763abc3454839812327d1b6506b2e531783b0529ca3a5e24605a010e6c510d942741d4f0afc208ca626bdef1a93ad42fbf0f5c1e347f5cb SHA512 0781e9377100e954f8a7f020da537ec2af033b23341a7944fc346a973fecb463ed29b375275ae8b4bd6f40721ee4f12480729df80337d57cac30627e084594d1
-EBUILD libopenraw-0.3.7-r1.ebuild 1329 BLAKE2B 0cfd6b81db164137cbbe5ecc645bd51c12b2150b8b545538b33b37507d1fa0f7a56196c2799f9c8edf07c402250f1e58a9d4abe2fb34a6125727b09e382c1354 SHA512 57f830dcaee0dc8a11287b4742cd3d156f35ae95bde833d191cbe3cb60303b63bcfa886299d7008ff72bcd1f25c9c34205d75fc4fbd9287b11b19354eae2add6
+EBUILD libopenraw-0.3.7-r1.ebuild 1390 BLAKE2B 4098567d4bac1faffbe2c2e4bead5b3a302240e96a7a3f4e132ea77897d3ee01aec6df22732f568c5215fb2ebe288a7c8e9988d7e722a152ee13831828c822b5 SHA512 c2a1e0d3fd0c638942147d84b8f401298ae773299e33075693e85653051632e78fccda9778fc8f4f2ce3e1ce809d658e7db26f19536dcd5b23276d8f14408584
MISC metadata.xml 327 BLAKE2B 535d53760f8b1440558a02aecb8ab27244d3583ded3843a38a8d418ae8a8a55859c08901a6fae91f8d63e7848a173e3e40b7ff168a0f86c710e53bcbe87f4161 SHA512 26f6a6a430380b878feabd5a692aed4cf6994701e935fda0f986b0b071702846389f8ada8f0c666f35a5107484879d7dce9f81b866081b0b06a1df1d02125cdb
diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch
new file mode 100644
index 000000000000..1ca47ea5cc90
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch
@@ -0,0 +1,12 @@
+--- a/m4/boost.m4
++++ b/m4/boost.m4
+@@ -229,6 +229,9 @@ AC_LANG_POP([C++])dnl
+ [#include <boost/version.hpp>
+ boost-lib-version = BOOST_LIB_VERSION],
+ [boost_cv_lib_version=`cat conftest.i`])])
++ if test x"$boost_cv_lib_version" = x; then
++ boost_cv_lib_version=$(grep "#define BOOST_LIB_VERSION" /usr/include/boost/version.hpp | sed 's/.*"\(.*\)".*/\1/')
++ fi
+ # e.g. "134" for 1_34_1 or "135" for 1_35
+ boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
+ case $boost_major_version in #(
diff --git a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
index 4825810f5604..9d8e94968f46 100644
--- a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -39,6 +39,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.3.7-slibtool.patch #913723
+ "${FILESDIR}"/${PN}-0.3.7-fix-boost-detection.patch #919349
)
src_prepare() {