folly: 2024.11.18.00 -> 2024.12.09.00

Diff: https://github.com/facebook/folly/compare/refs/tags/v2024.11.18.00...2024.12.09.00

+39 -2
+29
pkgs/by-name/fo/folly/char_traits.patch
··· 1 + diff --git a/folly/memory/test/UninitializedMemoryHacksTest.cpp b/folly/memory/test/UninitializedMemoryHacksTest.cpp 2 + index 38e27c3..17424af 100644 3 + --- a/folly/memory/test/UninitializedMemoryHacksTest.cpp 4 + +++ b/folly/memory/test/UninitializedMemoryHacksTest.cpp 5 + @@ -283,7 +283,7 @@ TEST(UninitializedMemoryHacks, simpleStringWChar) { 6 + } 7 + 8 + TEST(UninitializedMemoryHacks, simpleStringSChar) { 9 + - testSimple<std::basic_string<signed char>>(); 10 + + testSimple<std::basic_string<char>>(); 11 + } 12 + 13 + TEST(UninitializedMemoryHacks, simpleVectorChar) { 14 + @@ -307,7 +307,7 @@ TEST(UninitializedMemoryHacks, randomStringWChar) { 15 + } 16 + 17 + TEST(UninitializedMemoryHacks, randomStringSChar) { 18 + - testRandom<std::basic_string<signed char>>(); 19 + + testRandom<std::basic_string<char>>(); 20 + } 21 + 22 + TEST(UninitializedMemoryHacks, randomVectorChar) { 23 + @@ -323,5 +323,5 @@ TEST(UninitializedMemoryHacks, randomVectorInt) { 24 + } 25 + 26 + // We are deliberately putting this at the bottom to make sure it can follow use 27 + -FOLLY_DECLARE_STRING_RESIZE_WITHOUT_INIT(signed char) 28 + +//FOLLY_DECLARE_STRING_RESIZE_WITHOUT_INIT(char) 29 + FOLLY_DECLARE_VECTOR_RESIZE_WITHOUT_INIT(int)
+10 -2
pkgs/by-name/fo/folly/package.nix
··· 41 41 42 42 stdenv.mkDerivation (finalAttrs: { 43 43 pname = "folly"; 44 - version = "2024.11.18.00"; 44 + version = "2024.12.09.00"; 45 45 46 46 # split outputs to reduce downstream closure sizes 47 47 outputs = [ ··· 53 53 owner = "facebook"; 54 54 repo = "folly"; 55 55 rev = "refs/tags/v${finalAttrs.version}"; 56 - hash = "sha256-CX4YzNs64yeq/nDDaYfD5y8GKrxBueW4y275edPoS0c="; 56 + hash = "sha256-uX63Zg0Dy5kHdDFYAX7kbVTXUyrWNsdz867VJ0191YI="; 57 57 }; 58 58 59 59 nativeBuildInputs = [ ··· 124 124 125 125 doCheck = true; 126 126 127 + patches = [ 128 + # The base template for std::char_traits has been removed in LLVM 19 129 + # https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html 130 + ./char_traits.patch 131 + ]; 132 + 127 133 # https://github.com/NixOS/nixpkgs/issues/144170 128 134 postPatch = '' 129 135 substituteInPlace CMake/libfolly.pc.in \ ··· 169 175 ] 170 176 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 171 177 "buffered_atomic_test.BufferedAtomic.singleThreadUnguardedAccess" 178 + "io_async_notification_queue_test.NotificationQueueTest.UseAfterFork" 179 + "container_heap_vector_types_test.HeapVectorTypes.SimpleSetTes" 172 180 ] 173 181 ) 174 182 )