Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package folly for openSUSE:Factory checked 
in at 2022-08-30 14:49:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/folly (Old)
 and      /work/SRC/openSUSE:Factory/.folly.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "folly"

Tue Aug 30 14:49:11 2022 rev:4 rq:1000138 version:2022.08.29.00

Changes:
--------
--- /work/SRC/openSUSE:Factory/folly/folly.changes      2022-07-14 
16:34:56.628667173 +0200
+++ /work/SRC/openSUSE:Factory/.folly.new.2083/folly.changes    2022-08-30 
14:49:42.544155494 +0200
@@ -1,0 +2,8 @@
+Sat Aug 27 07:30:14 UTC 2022 - Jan Engelhardt <[email protected]>
+
+- Update to 2022.08.29
+  * No chngelog provided
+- Delete fix-asm-execstack.patch (merged)
+- Add 0001-Fix-iouring-under-32-bit-linux.patch
+
+-------------------------------------------------------------------

Old:
----
  fix-asm-execstack.patch
  folly-v2022.05.23.00.tar.gz

New:
----
  0001-Fix-iouring-under-32-bit-linux.patch
  folly-v2022.08.29.00.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ folly.spec ++++++
--- /var/tmp/diff_new_pack.4im0CT/_old  2022-08-30 14:49:43.060156810 +0200
+++ /var/tmp/diff_new_pack.4im0CT/_new  2022-08-30 14:49:43.064156821 +0200
@@ -16,15 +16,15 @@
 #
 
 
-%define lname libfolly-v2022_05_23_00
+%define lname libfolly-v2022_08_29_00
 Name:           folly
-Version:        2022.05.23.00
+Version:        2022.08.29.00
 Release:        0
 Summary:        A C++ utility library
 License:        MIT
 URL:            https://github.com/facebook/folly
 Source:         
https://github.com/facebook/folly/releases/download/v%version/folly-v%version.tar.gz
-Patch1:         fix-asm-execstack.patch
+Patch1:         0001-Fix-iouring-under-32-bit-linux.patch
 BuildRequires:  binutils-devel
 BuildRequires:  boost-devel
 BuildRequires:  cmake
@@ -88,7 +88,8 @@
 # again modified *sigh*
 #
 %cmake -DCMAKE_CXX_FLAGS="%optflags -ffat-lto-objects" \
-       -DBUILD_SHARED_LIBS:BOOL=ON -DPACKAGE_VERSION="v%version"
+       -DBUILD_SHARED_LIBS:BOOL=ON -DPACKAGE_VERSION="v%version" \
+       -DCMAKE_LIBRARY_ARCHITECTURE="%_target_cpu"
 %cmake_build
 
 %install

++++++ 0001-Fix-iouring-under-32-bit-linux.patch ++++++
>From 53c4521c9a7770bf6774858805ddd2830f74f7d3 Mon Sep 17 00:00:00 2001
From: Orvid <[email protected]>
Date: Mon, 29 Aug 2022 12:51:28 -0700
Subject: [PATCH] Fix iouring under 32-bit linux

Summary:
The workaround for a different bug was explicitly restricting this code to 
64-bit systems, but supporting them is trivial as long as we require UserData 
to be initialized from a pointer, which is fine since that was the only way it 
was being used.
Fixes: https://github.com/facebook/folly/issues/1850

Differential Revision: D39109122

fbshipit-source-id: ef8bb16d4d80454f980c48d6b1443589f180c9c0
---
 folly/experimental/io/IoUringBackend.h | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/folly/experimental/io/IoUringBackend.h 
b/folly/experimental/io/IoUringBackend.h
index 36d8ec087..9f034b134 100644
--- a/folly/experimental/io/IoUringBackend.h
+++ b/folly/experimental/io/IoUringBackend.h
@@ -381,17 +381,10 @@ class IoUringBackend : public EventBaseBackendBase {
   };
 
   struct UserData {
-    uint64_t value;
-    explicit UserData(uint64_t i) noexcept : value{i} {}
-    template <
-        typename T = int,
-        std::enable_if_t<sizeof(void*) == sizeof(uint64_t), T> = 0>
+    uintptr_t value;
     explicit UserData(void* p) noexcept
         : value{reinterpret_cast<uintptr_t>(p)} {}
     /* implicit */ operator uint64_t() const noexcept { return value; }
-    template <
-        typename T = int,
-        std::enable_if_t<sizeof(void*) == sizeof(uint64_t), T> = 0>
     /* implicit */ operator void*() const noexcept {
       return reinterpret_cast<void*>(value);
     }
-- 
2.37.2


++++++ folly-v2022.05.23.00.tar.gz -> folly-v2022.08.29.00.tar.gz ++++++
++++ 29558 lines of diff (skipped)

Reply via email to