From patchwork Sun Jun 17 07:54:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 138833 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2689808lji; Sun, 17 Jun 2018 00:54:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJufqkjxs8WAcD1D7g9gkQlk9oNjRO0mjl3V48uXhIezAUeYQB2TEhToElpjFo98ctwYBeX X-Received: by 2002:a17:902:e00a:: with SMTP id ca10-v6mr9166780plb.224.1529222098109; Sun, 17 Jun 2018 00:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529222098; cv=none; d=google.com; s=arc-20160816; b=NtfcGyFy+By69rgGubjidecMWjrbHwGe2ZTAZ+gXkqp6Jx9TNKC8Ktvl34ECl3NFuG sFxiDX4VIYJT+TLi6bkd+h+FQr2T6vk6a9SLopJ7gjMNQqh5h4BgFYUtG/yzx3VYpEpQ Myd/A/zzb1gx7TxoeetSHnkq2l5WqysI86TNFYkrtTEQAcjIsjag425Sqfx/Z2Qjtrce Ta0UWib2dNqF5owTzdB1BIpNYzC7qAR9QtASpLHpuKNC16UQ2PEBWG24mIOn+SvFeqfL ASFmhd1KtKgbdnS5/s8ysyl2lzsGhNj73AV9itnhQ/meZoPcq5YID78z+f8GXi1PxLkp Z8Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Qut/wUbdvuftPcPdQ+rtzx3oeJ/PyYmEezpm6d3LpcA=; b=AUk1VXpAu/OJzO+bzc4rJpwH7E864Jt11hq5DphS1m90FPRNG9YCwtzQxdXY+sqaXl n/XwlWtNq7WvqpU4xT+knBhAp/8INvbllk4laSxkkDSmI+Bju36GDkfnfFusM4M9LKZ9 FQh938UC29eaJkgzH/7wRQiA/xdDgSNS+YwYb4PKBCijSxGcKl7U/rDL1+hvijhgpaZI YI/MVFPE18myxxR3de6+f/HOaMgzYUZBEeoS0eKK8t3SdbMy2DJkcs4NUPyGeMUH8swm oeh44qCuva+d0+YQWU1EzMS3sYHebeZxpiAjRh2eMTHdCskznhiYYIt5Sa1iWLeV2meK ceCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VFu2wgl9; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b35-v6si12174630plh.36.2018.06.17.00.54.57; Sun, 17 Jun 2018 00:54:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VFu2wgl9; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0F8E575288; Sun, 17 Jun 2018 07:54:54 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f44.google.com (mail-pl0-f44.google.com [209.85.160.44]) by mail.openembedded.org (Postfix) with ESMTP id BAF70745BC for ; Sun, 17 Jun 2018 07:54:52 +0000 (UTC) Received: by mail-pl0-f44.google.com with SMTP id f1-v6so7425479plt.6 for ; Sun, 17 Jun 2018 00:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=T1VMAzSrgsYHN11EA3EDQsLfDBq0rFMl8hlCI4FFECw=; b=VFu2wgl9kFISJ8PYX+xrcAdTfdq/p7nfr7oun0tqy019eIlUH9XV2Ck0gYeE1x2mnB 5kexOscOEkjxPBipREM77l5a4vBbtFUko+4jjAB9OCOW44PQhiUlfA8nyx7AtHJcQKHv l6yVjh3QNEsi1p0qDDBTDfCuOyhY8yqbwwydbVFEOxsV3eZGAu11gMeIvHcrFhg5jqz8 HSpJAsmFzq3yOgpGxuZVsYwRs5tfCGwjm2TL0Au8vQ+MOeTdulT8VxwLtYkldwCJ+Ksx hZ0fpQNYm/UNtPwkQo1cX4CHa8akrqJcMVsVoYZXCLr4sYGCzur2uABigDggHKOFVFs5 DYRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=T1VMAzSrgsYHN11EA3EDQsLfDBq0rFMl8hlCI4FFECw=; b=U6h/ZmrwZNC59A+PknZJ3niQvobJCr3i9PJ0nPr8t6QOUkQMiwcZetjFtO7KdlHMKW lEGY4p6CJ3zjK7VrLzyuSxSvZn69Vc5Il1ribtmJgBc1XQILfxC/N+6tj+Z0y43hsUI7 aPtNA0YZJr+F9I8maX36XQfep10Mvpix72alCZFwKFrfMIFDV7Kf6s9n5TjbCZ70pXcu 1mv+eFsJ2aECoQFUj/y+3qYKm/v7sj9BqsQciyASxCk7sBoikzJXft4RkZvF8z0g/1dG KKdoPABCSbF1gn6wO2rWTS0PnzM9ibyZ0TOhlQOreO9RTIq47VyI3tvTmq2hpzxdsYkN pEKw== X-Gm-Message-State: APt69E2uL5KWCm7Jc7oVlkAdc/N5U86aGKQ8gq0kjvoZ74z4zYRUtg9d tkinssXfnIBwNGWpcyfFTON4Zg== X-Received: by 2002:a17:902:88:: with SMTP id a8-v6mr9061898pla.156.1529222093350; Sun, 17 Jun 2018 00:54:53 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id p3-v6sm14538587pga.72.2018.06.17.00.54.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jun 2018 00:54:52 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 17 Jun 2018 00:54:53 -0700 Message-Id: <20180617075454.17209-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [oe] [meta-networking][PATCH 1/2] move cpprest to meta-oe X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../cpprest-2.10.2/fix-cmake-install.patch | 59 ------------------- .../recipes-support/cpprest/cpprest_2.10.2.bb | 17 ------ 2 files changed, 76 deletions(-) delete mode 100644 meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch delete mode 100644 meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb -- 2.17.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch b/meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch deleted file mode 100644 index 56fd704ad7..0000000000 --- a/meta-networking/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch +++ /dev/null @@ -1,59 +0,0 @@ -Description: install cmake files into /usr/lib/cmake/cpprestsdk -Author: Gianfranco Costamagna -Upstream-Status: https://github.com/Microsoft/cpprestsdk/pull/737 -Forwarded: https://github.com/Microsoft/cpprestsdk/pull/737 -Last-Update: 2018-04-19 - -Index: cpprest/CMakeLists.txt -=================================================================== ---- cpprest.orig/CMakeLists.txt -+++ cpprest/CMakeLists.txt -@@ -18,7 +18,6 @@ - set(WERROR ON CACHE BOOL "Treat Warnings as Errors.") - set(CPPREST_EXCLUDE_WEBSOCKETS OFF CACHE BOOL "Exclude websockets functionality.") - set(CPPREST_EXCLUDE_COMPRESSION OFF CACHE BOOL "Exclude compression functionality.") --set(CPPREST_EXPORT_DIR lib/cpprestsdk CACHE STRING "Directory to install CMake config files.") - set(CPPREST_INSTALL_HEADERS ON CACHE BOOL "Install header files.") - set(CPPREST_INSTALL ON CACHE BOOL "Add install commands.") - -@@ -63,6 +62,9 @@ - include(cmake/cpprest_find_openssl.cmake) - include(cmake/cpprest_find_websocketpp.cmake) - include(CheckIncludeFiles) -+if(UNIX) -+include(GNUInstallDirs) -+endif(UNIX) - - find_package(Threads REQUIRED) - if(THREADS_HAVE_PTHREAD_ARG) -Index: cpprest/src/CMakeLists.txt -=================================================================== ---- cpprest.orig/src/CMakeLists.txt -+++ cpprest/src/CMakeLists.txt -@@ -250,21 +250,21 @@ - install( - TARGETS ${CPPREST_TARGETS} - EXPORT cpprestsdk-targets -- RUNTIME DESTINATION bin -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - ) - - configure_file(../cmake/cpprestsdk-config.in.cmake "${CMAKE_CURRENT_BINARY_DIR}/cpprestsdk-config.cmake" @ONLY) - - install( - FILES "${CMAKE_CURRENT_BINARY_DIR}/cpprestsdk-config.cmake" -- DESTINATION ${CPPREST_EXPORT_DIR} -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake - ) - install( - EXPORT cpprestsdk-targets - FILE cpprestsdk-targets.cmake - NAMESPACE cpprestsdk:: -- DESTINATION ${CPPREST_EXPORT_DIR} -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake - ) - endif() diff --git a/meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb b/meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb deleted file mode 100644 index 2ba6fc66cc..0000000000 --- a/meta-networking/recipes-support/cpprest/cpprest_2.10.2.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design." -SECTION = "libs/network" -HOMEPAGE = "https://github.com/Microsoft/cpprestsdk/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${S}/../license.txt;md5=a2e15b954769218ff912468eecd6a02f" -DEPENDS = "openssl websocketpp zlib boost" - -SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=master" - -SRC_URI += "file://fix-cmake-install.patch" - -# tag 2.10.2 -SRCREV= "fea848e2a77563cf2a6f28f8eab396fd6e787fbf" - -S = "${WORKDIR}/git/Release" - -inherit cmake From patchwork Sun Jun 17 07:54:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 138834 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2689924lji; Sun, 17 Jun 2018 00:55:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLgyAZfFlg5ng3Qpb6+xhx2SRBg0MJmgEDe/LIvvH5g6weZ7wi/3gtvEND7kmN3Ow0pVVKQ X-Received: by 2002:a17:902:1121:: with SMTP id d30-v6mr9384431pla.247.1529222110376; Sun, 17 Jun 2018 00:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529222110; cv=none; d=google.com; s=arc-20160816; b=iYESSHxmlxVEQeL2v7J64TEFdCSG2ryKsgUDuAUdLqkuihjqg6eFFCGVHqTLu68PRa 4dBq1IznvDBH0vy0Izi5X4tsQGEEmK9gHvi5t0Op0NS3ZV1/k6AVKQ2qTcaiPY30ItBi ZqB89Ht0lCmtdMAzOJ6o9mvH5hb+2D79v1I91g2aDelinG67Cao+us2EW3RcavxAsLPm veRHskwFzgsr0TgtGQCNwvimrb33qyIjtxIJ0goMOrsKnjiz181p4CPFtF27iBw66zIj keggjN7j9pq7lbPIzqSUGBZAYc38kEsgok8Ogy8rkEqcm7jKQc5oGS4vcBsmQb60Ntl9 nYaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=1706B7oT0f9qBxuWDrvti2kwWgdpjBHxra5gjcFaCaA=; b=WLR3OA3lwvLMNOlJSepyD+Qo3P85/TPLztiiI6ygth9T6BWkQA9abQ25H/pLN3X8SX GND5L/S6HimzOpglZ/FG+Tb5/QbvSpy40ydDntCnJGN/7mp3Oy5fq3tm2WzqCL/TD7z1 EVbdaVlhYEXGgihDjBx4BUE2vyZ0K/1WNwlGVRifVb4Gzkvr5SwLVhs7+LBQE8Qp68je i9FEiDHYGJobSTcJPnjuRKLhtbaOKwq1f4/UcrhgFvNuOikFEIMdkoCqaqr8zq2iD6Hj zURp5GIP7q3enDPIB6D8VHANQmSy6OUWmrdfl2KYDhqZKJbFduys+DygqKDkY4t42DiN ehBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pxr8beWr; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r5-v6si9964980pgr.491.2018.06.17.00.55.10; Sun, 17 Jun 2018 00:55:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pxr8beWr; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 22A8E7543A; Sun, 17 Jun 2018 07:55:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f51.google.com (mail-pl0-f51.google.com [209.85.160.51]) by mail.openembedded.org (Postfix) with ESMTP id 4C27075438 for ; Sun, 17 Jun 2018 07:54:54 +0000 (UTC) Received: by mail-pl0-f51.google.com with SMTP id z9-v6so7426642plk.11 for ; Sun, 17 Jun 2018 00:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iGUjNU31XQ6JMDA/0/Iih3GZV9VKMYuTBhwCqoOlzQU=; b=pxr8beWr0aQDjd91svoi0KfIlBW1P/EPenUFl0y/JsPk0hHMoJ88vJiKIfgseS1Whj PPJc/miHZrsafHgS7YUEVFJm/wz/xIGWfALL6FCl3ARTPpVPYKIdRtaUjdXXebZQqPz6 yk6bPmjDqTg+kNwrRxF+p4xbY0bwp957TAqxmZkIiNHN+Z39IHE9wwwercxVv7WXLuMx z5JOZxH3mSrUVwxJerqTQ6MxckA6RDA2N+VcZCu76WI2WIns5J1T8Vaw8PrMfWCoQ4F5 0fdlUxK7cbQ83cIRR05P5A676FrS3/ctlearHjZZnbjcMImRhP2KRaCVsOQ957++bxhU HV/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iGUjNU31XQ6JMDA/0/Iih3GZV9VKMYuTBhwCqoOlzQU=; b=hEiS5ekB/CYHKDXqfpL1PcLseDxfLmMakbOtflckFftFnMu9XT4ubKKstGR5XPBmTj TlSbF5R5Uh4w/eZ7UKh9srrRSNWx0DYBH6u1V4Bb4HU8IJNL3069kbOxXrteCAEFIoaK EHFJ+oHkanvGS4uG+3A6Dbtoux/7x2KghlItc++p2HrO5OOnn7hT4BCV5vHo/XPVUlnJ KEb5QI/gQt8YQWEPGc519z/PmCCZLPXO0qDeGjjEKi85jIENWSuhDayjbgwwegU2AZeA P6G/sMxn03xfZEaPxUuUSOyrx9jIf4Nk/vqXS5rIQYUfq4lV7KszlF2Qb0o9/KV98EG0 EubQ== X-Gm-Message-State: APt69E2x3vY5unCjcZrQdGFYnRx6xduZyMMko3Urrc+zvEyu7PSUnQWy DZg184fLYq5GhFVCMkO/hic38w== X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr9154884pla.125.1529222094889; Sun, 17 Jun 2018 00:54:54 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id p3-v6sm14538587pga.72.2018.06.17.00.54.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jun 2018 00:54:53 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 17 Jun 2018 00:54:54 -0700 Message-Id: <20180617075454.17209-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180617075454.17209-1-raj.khem@gmail.com> References: <20180617075454.17209-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 2/2] spice: Fix build with musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...0001-Convert-pthread_t-to-be-numeric.patch | 66 +++++++++++++++++++ .../recipes-support/spice/spice_git.bb | 1 + 2 files changed, 67 insertions(+) create mode 100644 meta-networking/recipes-support/spice/spice/0001-Convert-pthread_t-to-be-numeric.patch -- 2.17.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/spice/spice/0001-Convert-pthread_t-to-be-numeric.patch b/meta-networking/recipes-support/spice/spice/0001-Convert-pthread_t-to-be-numeric.patch new file mode 100644 index 0000000000..505b7c890b --- /dev/null +++ b/meta-networking/recipes-support/spice/spice/0001-Convert-pthread_t-to-be-numeric.patch @@ -0,0 +1,66 @@ +From 0726ce6d6f52e135e28f15ca8392568c84909b1d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 16 Jun 2018 16:21:39 -0700 +Subject: [PATCH] Convert pthread_t to be numeric + +typecast pthread_t to unsigned long +pthread_t is implemented as a struct point in musl and its as per standard + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + server/red-channel.c | 5 +++-- + server/red-client.c | 6 +++--- + 2 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/server/red-channel.c b/server/red-channel.c +index 1b38f04d..11dc667b 100644 +--- a/server/red-channel.c ++++ b/server/red-channel.c +@@ -192,7 +192,7 @@ red_channel_constructed(GObject *object) + { + RedChannel *self = RED_CHANNEL(object); + +- red_channel_debug(self, "thread_id 0x%lx", self->priv->thread_id); ++ red_channel_debug(self, "thread_id 0x%lx", (unsigned long)self->priv->thread_id); + + RedChannelClass *klass = RED_CHANNEL_GET_CLASS(self); + +@@ -475,7 +475,8 @@ void red_channel_remove_client(RedChannel *channel, RedChannelClient *rcc) + red_channel_warning(channel, "channel->thread_id (0x%lx) != pthread_self (0x%lx)." + "If one of the threads is != io-thread && != vcpu-thread, " + "this might be a BUG", +- channel->priv->thread_id, pthread_self()); ++ (unsigned long)channel->priv->thread_id, ++ (unsigned long)pthread_self()); + } + spice_return_if_fail(channel); + link = g_list_find(channel->priv->clients, rcc); +diff --git a/server/red-client.c b/server/red-client.c +index ddfc5400..76986640 100644 +--- a/server/red-client.c ++++ b/server/red-client.c +@@ -180,7 +180,7 @@ void red_client_migrate(RedClient *client) + spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." + "If one of the threads is != io-thread && != vcpu-thread," + " this might be a BUG", +- client->thread_id, pthread_self()); ++ (unsigned long)client->thread_id, (unsigned long)pthread_self()); + } + FOREACH_CHANNEL_CLIENT(client, rcc) { + if (red_channel_client_is_connected(rcc)) { +@@ -199,8 +199,8 @@ void red_client_destroy(RedClient *client) + spice_warning("client->thread_id (0x%lx) != pthread_self (0x%lx)." + "If one of the threads is != io-thread && != vcpu-thread," + " this might be a BUG", +- client->thread_id, +- pthread_self()); ++ (unsigned long)client->thread_id, ++ (unsigned long)pthread_self()); + } + red_client_set_disconnecting(client); + FOREACH_CHANNEL_CLIENT(client, rcc) { +-- +2.17.1 + diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb index 508bb36996..bf4b083461 100644 --- a/meta-networking/recipes-support/spice/spice_git.bb +++ b/meta-networking/recipes-support/spice/spice_git.bb @@ -23,6 +23,7 @@ SRCREV_FORMAT = "spice_spice-common" SRC_URI = " \ git://anongit.freedesktop.org/spice/spice;name=spice \ git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \ + file://0001-Convert-pthread_t-to-be-numeric.patch \ " FOO = "\ file://0001-build-allow-separated-src-and-build-dirs.patch \