Hello community,

here is the log from the commit of package wpebackend-fdo for openSUSE:Factory 
checked in at 2019-10-18 14:33:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wpebackend-fdo (Old)
 and      /work/SRC/openSUSE:Factory/.wpebackend-fdo.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wpebackend-fdo"

Fri Oct 18 14:33:11 2019 rev:3 rq:736616 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/wpebackend-fdo/wpebackend-fdo.changes    
2019-10-07 14:14:23.262845076 +0200
+++ /work/SRC/openSUSE:Factory/.wpebackend-fdo.new.2352/wpebackend-fdo.changes  
2019-10-18 14:33:12.896273538 +0200
@@ -1,0 +2,6 @@
+Mon Oct  7 21:33:05 UTC 2019 - Michael Gorse <[email protected]>
+
+- Add memset-prototype.patch: fix usage of undeclared
+  std::memset() function.
+
+-------------------------------------------------------------------

New:
----
  memset-prototype.patch

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

Other differences:
------------------
++++++ wpebackend-fdo.spec ++++++
--- /var/tmp/diff_new_pack.bESser/_old  2019-10-18 14:33:13.564271798 +0200
+++ /var/tmp/diff_new_pack.bESser/_new  2019-10-18 14:33:13.568271788 +0200
@@ -26,6 +26,8 @@
 URL:            https://github.com/Igalia/WPEBackend-fdo
 Source0:        %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM memset-prototype.patch [email protected] -- fix usage of 
undeclared std::memset() function
+Patch0:         memset-prototype.patch
 
 BuildRequires:  c++_compiler
 BuildRequires:  cmake

++++++ memset-prototype.patch ++++++
>From 73e2ba723c4e17021a7334152ec4438d12969248 Mon Sep 17 00:00:00 2001
From: Adrian Perez de Castro <[email protected]>
Date: Sat, 3 Aug 2019 00:45:39 +0300
Subject: [PATCH] Fix usage of undeclared std::memset() function

This adds the missing <cstring> inclusion and the std:: namespace prefix
to the memset() invocation.
---
 src/view-backend-exportable-fdo.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/view-backend-exportable-fdo.cpp 
b/src/view-backend-exportable-fdo.cpp
index bf44a16..63f0604 100644
--- a/src/view-backend-exportable-fdo.cpp
+++ b/src/view-backend-exportable-fdo.cpp
@@ -26,6 +26,7 @@
 #include "view-backend-exportable-private.h"
 #include "ws.h"
 #include <cassert>
+#include <cstring>
 
 namespace {
 
@@ -50,7 +51,7 @@ public:
         auto* attributes = &dmabuf_buffer->attributes;
 
         struct wpe_view_backend_exportable_fdo_dmabuf_resource dmabuf_resource;
-        memset(&dmabuf_resource, 0, sizeof(struct 
wpe_view_backend_exportable_fdo_dmabuf_resource));
+        std::memset(&dmabuf_resource, 0, sizeof(struct 
wpe_view_backend_exportable_fdo_dmabuf_resource));
         dmabuf_resource.buffer_resource = dmabuf_buffer->buffer_resource;
         dmabuf_resource.width = attributes->width;
         dmabuf_resource.height = attributes->height;
-- 
2.23.0


Reply via email to