mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Fix boost _doc packages (#12610)
This commit is contained in:
@@ -4,9 +4,9 @@ that provide support for tasks and structures such as linear algebra, \
|
||||
pseudorandom number generation, multithreading, image processing, regular \
|
||||
expressions, and unit testing. It contains over eighty individual libraries."
|
||||
HOMEPAGE="https://www.boost.org/"
|
||||
SOURCE_URI="https://boostorg.jfrog.io/artifactory/main/release/$portVersion/source/boost_${portVersion//./_}.tar.bz2"
|
||||
SOURCE_URI="https://archives.boost.io/release/$portVersion/source/boost_${portVersion//./_}.tar.bz2"
|
||||
CHECKSUM_SHA256="6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
LICENSE="Boost v1.0"
|
||||
COPYRIGHT="1993-2002 Christopher Seiwald and Perforce Software, Inc.
|
||||
1998-2018 Beman Dawes
|
||||
@@ -123,11 +123,13 @@ CONFLICTS_devel="
|
||||
boost170${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
PROVIDES_docs="
|
||||
boost1.83${secondaryArchSuffix}_docs
|
||||
ARCHITECTURES_doc="any"
|
||||
PROVIDES_doc="
|
||||
boost1.83_doc = $portVersion
|
||||
"
|
||||
REQUIRES_docs="
|
||||
boost1.83${secondaryArchSuffix}_devel == $portVersion base
|
||||
REPLACES_doc="
|
||||
boost1.83_docs
|
||||
boost1.83_x86_docs
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -226,7 +228,7 @@ INSTALL()
|
||||
sed -i "s%\${_BOOST_LIBDIR}%$prefix/$relativeDevelopLibDir%g" $i;
|
||||
done;
|
||||
|
||||
packageEntries docs \
|
||||
packageEntries doc \
|
||||
$developDocDir
|
||||
|
||||
packageEntries devel \
|
||||
|
||||
@@ -4,9 +4,9 @@ that provide support for tasks and structures such as linear algebra, \
|
||||
pseudorandom number generation, multithreading, image processing, regular \
|
||||
expressions, and unit testing. It contains over eighty individual libraries."
|
||||
HOMEPAGE="https://www.boost.org/"
|
||||
SOURCE_URI="https://boostorg.jfrog.io/artifactory/main/release/$portVersion/source/boost_${portVersion//./_}.tar.bz2"
|
||||
SOURCE_URI="https://archives.boost.io/release/$portVersion/source/boost_${portVersion//./_}.tar.bz2"
|
||||
CHECKSUM_SHA256="7009fe1faa1697476bdc7027703a2badb84e849b7b0baad5086b087b971f8617"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
LICENSE="Boost v1.0"
|
||||
COPYRIGHT="1993-2002 Christopher Seiwald and Perforce Software, Inc.
|
||||
1998-2018 Beman Dawes
|
||||
@@ -127,11 +127,13 @@ CONFLICTS_devel="
|
||||
boost1.83${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
PROVIDES_docs="
|
||||
boost1.85${secondaryArchSuffix}_docs
|
||||
ARCHITECTURES_doc="any"
|
||||
PROVIDES_doc="
|
||||
boost1.85_doc = $portVersion
|
||||
"
|
||||
REQUIRES_docs="
|
||||
boost1.85${secondaryArchSuffix}_devel == $portVersion base
|
||||
REPLACES_doc="
|
||||
boost1.85_docs
|
||||
boost1.85_x86_docs
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -231,7 +233,7 @@ INSTALL()
|
||||
sed -i "s%\${_BOOST_LIBDIR}%$prefix/$relativeDevelopLibDir%g" $i;
|
||||
done;
|
||||
|
||||
packageEntries docs \
|
||||
packageEntries doc \
|
||||
$developDocDir
|
||||
|
||||
packageEntries devel \
|
||||
|
||||
@@ -6,7 +6,7 @@ expressions, and unit testing. It contains over eighty individual libraries."
|
||||
HOMEPAGE="https://www.boost.org/"
|
||||
SOURCE_URI="https://archives.boost.io/release/1.87.0/source/boost_${portVersion//./_}.tar.bz2"
|
||||
CHECKSUM_SHA256="af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
LICENSE="Boost v1.0"
|
||||
COPYRIGHT="1993-2002 Christopher Seiwald and Perforce Software, Inc.
|
||||
1998-2018 Beman Dawes
|
||||
@@ -130,11 +130,13 @@ CONFLICTS_devel="
|
||||
boost1.85${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
PROVIDES_docs="
|
||||
boost1.87${secondaryArchSuffix}_docs
|
||||
ARCHITECTURES_doc="any"
|
||||
PROVIDES_doc="
|
||||
boost1.87_doc = $portVersion
|
||||
"
|
||||
REQUIRES_docs="
|
||||
boost1.87${secondaryArchSuffix}_devel == $portVersion base
|
||||
REPLACES_doc="
|
||||
boost1.87_docs
|
||||
boost1.87_x86_docs
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -239,7 +241,7 @@ INSTALL()
|
||||
sed -i "s%\${_BOOST_LIBDIR}%$prefix/$relativeDevelopLibDir%g" $i;
|
||||
done;
|
||||
|
||||
packageEntries docs \
|
||||
packageEntries doc \
|
||||
$developDocDir
|
||||
|
||||
packageEntries devel \
|
||||
|
||||
@@ -6,7 +6,7 @@ expressions, and unit testing. It contains over eighty individual libraries."
|
||||
HOMEPAGE="https://www.boost.org/"
|
||||
SOURCE_URI="https://archives.boost.io/release/$portVersion/source/boost_${portVersion//./_}.tar.bz2"
|
||||
CHECKSUM_SHA256="46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
LICENSE="Boost v1.0"
|
||||
COPYRIGHT="1993-2002 Christopher Seiwald and Perforce Software, Inc.
|
||||
1998-2018 Beman Dawes
|
||||
@@ -132,11 +132,13 @@ CONFLICTS_devel="
|
||||
boost1.87${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
PROVIDES_docs="
|
||||
boost1.88${secondaryArchSuffix}_docs
|
||||
ARCHITECTURES_doc="any"
|
||||
PROVIDES_doc="
|
||||
boost1.88_doc = $portVersion
|
||||
"
|
||||
REQUIRES_docs="
|
||||
boost1.88${secondaryArchSuffix}_devel == $portVersion base
|
||||
REPLACES_doc="
|
||||
boost1.88_docs
|
||||
boost1.88_x86_docs
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -241,7 +243,7 @@ INSTALL()
|
||||
sed -i "s%\${_BOOST_LIBDIR}%$prefix/$relativeDevelopLibDir%g" $i;
|
||||
done;
|
||||
|
||||
packageEntries docs \
|
||||
packageEntries doc \
|
||||
$developDocDir
|
||||
|
||||
packageEntries devel \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 9cd519b129b8cb44a4f6128a0f0b4db54b53b531 Mon Sep 17 00:00:00 2001
|
||||
From d67537c286805c1c71d11221559d1034e8b90520 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Sat, 6 Aug 2016 22:27:19 +0200
|
||||
Subject: Import changes from 1.55.0: buildtools
|
||||
@@ -21,10 +21,10 @@ index e1b76cb..4e2003e 100644
|
||||
#define OSMINOR "OS=BSDI"
|
||||
#define OS_BSDI
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From c4b915a959b9bacac2ae6c67fdd9f6ea4ba711d0 Mon Sep 17 00:00:00 2001
|
||||
From d74be3163a92ca1023201dbaee6095995329025b Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Sat, 6 Aug 2016 22:27:41 +0200
|
||||
Subject: Import changes from 1.55.0: sourcecode
|
||||
@@ -44,10 +44,10 @@ index 172a601..c706e40 100644
|
||||
#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
|
||||
# define BOOST_THREAD_MACOS
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From 58e1cbc73e04bbb51b625cba582482f8eecbed39 Mon Sep 17 00:00:00 2001
|
||||
From 5dfe695b0e0dd4ce028c45780bf7be663435b4db Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Thu, 24 Aug 2023 15:59:20 +0200
|
||||
Subject: Fix macro seeing , as args on gcc8
|
||||
@@ -203,10 +203,10 @@ index 25cc808..2cd9545 100644
|
||||
segments_encoded_iter(
|
||||
FwdIt first,
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From c13314688fe871819d74211b3fb588317faef0bf Mon Sep 17 00:00:00 2001
|
||||
From dd9a29e480767bebe37d412fd4051827e1f514d8 Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Fri, 25 Aug 2023 10:15:17 +0200
|
||||
Subject: Add auto_index binary to tools
|
||||
@@ -225,10 +225,10 @@ index e1391c7..a580eb1 100644
|
||||
inspect/build//inspect
|
||||
quickbook//quickbook
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From d1f71f6b771a8d35322498c5ebbb96251c299b68 Mon Sep 17 00:00:00 2001
|
||||
From 13c8c4af1e6a134e2eb7678551e15f6dfccefba8 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 14 Oct 2017 11:47:09 +0200
|
||||
Subject: Haiku needs bsd and _BSD_SOURCE.
|
||||
@@ -262,10 +262,10 @@ index b2036f4..64c2cf0 100755
|
||||
|
||||
intel-*)
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From 7f889d301fa98b32f930970daaabbb49cf93bcff Mon Sep 17 00:00:00 2001
|
||||
From d10f03b33d7188e33da7ea05721d8cb2ca40bbb9 Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Sun, 27 Aug 2023 19:13:24 +0200
|
||||
Subject: Fix missing functions to build libboost_locale
|
||||
@@ -288,10 +288,10 @@ index 04244c5..e22ac4f 100644
|
||||
// thread API's not auto detected:
|
||||
//
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From b6a85c15613fc4bf8b9fc31a11128331938d64f2 Mon Sep 17 00:00:00 2001
|
||||
From 195778387e48eccaa85e7255291317a91cc8eae2 Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Mon, 28 Aug 2023 18:08:06 +0200
|
||||
Subject: Fix building the tests
|
||||
@@ -317,10 +317,10 @@ index c74658d..926e0f7 100644
|
||||
|
||||
# ECHO All rules: $(all_rules) ;
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From 21f1445227dfb7fc324da6d5b82ba6cb001d0db7 Mon Sep 17 00:00:00 2001
|
||||
From fac9e79662c375ab0d41e0e0dca7c55d8f733bcf Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Tue, 12 Sep 2023 20:18:37 +0200
|
||||
Subject: Haiku currently doesn't have cfsetspeed
|
||||
@@ -341,10 +341,10 @@ index 4e786d4..fa1f973 100644
|
||||
# else
|
||||
::cfsetispeed(&storage, baud);
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From 114b9c569537b478dd3aa766150b4907db0c20a5 Mon Sep 17 00:00:00 2001
|
||||
From 63bf5a538ba70746ee7d3569391a3e493b4d6386 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Dimov <pdimov@gmail.com>
|
||||
Date: Sun, 3 Sep 2023 17:55:50 +0300
|
||||
Subject: Support fn.contains(f) where f is a function. Fixes #46.
|
||||
@@ -443,10 +443,10 @@ index 0000000..e6130bb
|
||||
+ return boost::report_errors();
|
||||
+}
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From bc8fdd75d1a3445397da622517caa446c2f047e7 Mon Sep 17 00:00:00 2001
|
||||
From a0ebefade9e36e570e5d561f69df407bc030e4cb Mon Sep 17 00:00:00 2001
|
||||
From: Conrad Poelman <cpgithub@stellarscience.com>
|
||||
Date: Mon, 3 Aug 2020 18:35:35 -0400
|
||||
Subject: Remove deprecated inheritance from std::iterator
|
||||
@@ -504,10 +504,10 @@ index 1723a30..3f5cae8 100644
|
||||
typedef T derived_value_type;
|
||||
typedef D derived_difference_type;
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From 0957c8fd6fc09e94752afe4fbf4b3316cfccca22 Mon Sep 17 00:00:00 2001
|
||||
From d06397672de6ae62bb6a25ca8f3bd45ce0089318 Mon Sep 17 00:00:00 2001
|
||||
From: Schrijvers Luc <begasus@gmail.com>
|
||||
Date: Sat, 6 Jul 2024 17:27:48 +0200
|
||||
Subject: build fix for sourcetrail
|
||||
@@ -531,5 +531,45 @@ index 0f86b44..99a13dc 100644
|
||||
inline bool is_running(int code)
|
||||
{
|
||||
--
|
||||
2.45.2
|
||||
2.48.1
|
||||
|
||||
|
||||
From 57b2677816fb96f6fa6be8503849921caee92a6d Mon Sep 17 00:00:00 2001
|
||||
From: Oscar Lesta <oscar.lesta@gmail.com>
|
||||
Date: Fri, 20 Dec 2024 22:32:12 -0300
|
||||
Subject: Fix build issue related to dirent->d_name[].
|
||||
|
||||
|
||||
diff --git a/libs/filesystem/src/directory.cpp b/libs/filesystem/src/directory.cpp
|
||||
index f769f8f..132cf2a 100644
|
||||
--- a/libs/filesystem/src/directory.cpp
|
||||
+++ b/libs/filesystem/src/directory.cpp
|
||||
@@ -202,8 +202,13 @@ inline std::size_t get_path_max()
|
||||
#endif
|
||||
}
|
||||
|
||||
+#ifdef __HAIKU__
|
||||
+ if ((max + 1) < NAME_MAX)
|
||||
+ max = NAME_MAX - 1;
|
||||
+#else
|
||||
if ((max + 1) < sizeof(dirent().d_name))
|
||||
max = sizeof(dirent().d_name) - 1;
|
||||
+#endif
|
||||
|
||||
return max;
|
||||
}
|
||||
@@ -365,7 +370,11 @@ error_code dir_itr_create(boost::intrusive_ptr< detail::dir_itr_imp >& imp, fs::
|
||||
// buffer that is enough for PATH_MAX as the directory name. Still, this doesn't guarantee there won't be
|
||||
// a buffer overrun. The readdir_r API is fundamentally flawed and we should avoid it as much as possible
|
||||
// in favor of readdir.
|
||||
+#ifdef __HAIKU__
|
||||
+ extra_size = (NAME_MAX) + path_max() + 1u; // + 1 for "\0"
|
||||
+#else
|
||||
extra_size = (sizeof(dirent) - sizeof(dirent().d_name)) + path_max() + 1u; // + 1 for "\0"
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
#endif // defined(BOOST_FILESYSTEM_USE_READDIR_R)
|
||||
--
|
||||
2.48.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user