From patchwork Tue Jul 25 08:35:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108630 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp303865qge; Tue, 25 Jul 2017 01:35:42 -0700 (PDT) X-Received: by 10.98.102.149 with SMTP id s21mr19055743pfj.331.1500971742788; Tue, 25 Jul 2017 01:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500971742; cv=none; d=google.com; s=arc-20160816; b=Zi5ttC+A7DH2d/4IH+NiMMpCCQ7GJSGTKBhovyDA2rlFGr3xLyaEUFYGVOChDkKx4P nWvLzzrwHiZbJ5qZ87fo0lDDMZR0wMCOd50I+JZ0f2vn5GIDhOxbAwkcGPiOOTOcCdju rKHw3e620TFRsodWfcD0gPMFmrs42J3keEgh74L3Q6hidbF1EwroawCKTrkcBh55uWkS vN1EyerLbJiGVAJhbfaEEpCCXe1tbhus0+IcB8w4ZG0TeGM/iFIcPP2ijRXBByK0l4rK 0Z95V9Kp23GVH/1ckW4u3GfeEBXeVo7RplfhXr4QnMBMmCZ1+VfbUyy9Yf6fF2tS38+2 8xwA== 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=b4ZywVOjQpWEL8nwE6Rggi7in2iUsuFGalV+V2LWerc=; b=MIMv5aBfGDdlUAOYBuIXSt8d19LQ6fYcxe2ZqiB5seriAreuTrx6uSOiekb77oG8gv oKpfgShVZggxLXxWc3tjZVRcuCLVVgK0R/7N27xtFcYHMTSUas0ehnx9MPLkTyL/MwZ5 gtiTiJRazou65V8g/wcvRzxou23XqZLbeqT/tkQly5WHf++pjR4qpJVUhk8xtPDbHZfF 4z80X0ru1WiAqJKP9qG3sL5ZOoT0XWdeEq/5GfgreqYqjTM5tqAUIEqqGLoaXFp5hCKG BKksmRB+NdBvKl5SKLwYBXjqGI2H1pSm5GSCBp1TA5qTd0SzwNO/gBvblYi0t4hsB7SC EJEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=NvRqGDwR; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 f22si8348559pli.265.2017.07.25.01.35.42; Tue, 25 Jul 2017 01:35:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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.b=NvRqGDwR; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E44C378336; Tue, 25 Jul 2017 08:35:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 39B326E660 for ; Tue, 25 Jul 2017 08:35:39 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id g69so3449260pfe.1 for ; Tue, 25 Jul 2017 01:35:40 -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=7H1anmI4oq80rsGLDP6Mamr7lfd/PQVqurTLeB2am7o=; b=NvRqGDwRUo3zHGiKm3ppkVUwoet4mymFVLXT8UcQmvGuDTjrh+g79BgBZiMLk0B8mD 00+cifTnlsl/NUikqO8i3u9OurnJgtTRAOefi3M6Z0bwgGSXL/X0QoQwRvp9WW7aOtrq hss6iv51j49iR5RoaFaEp1Fy0J64T0yone+Z/RRPUwcC6YCdMJOzTmS6qsNM5BzTxPRh Qb2yWYJq0APLcCwqmJJmoTmIeyhfrckutk+YKozqF5EByoBLRMr7Ye8HAjVeUcJSbyPj 1HzKtg7PywtZfy/P6CGIbcLvNU7+G493fL3Rhiu+ffZy7jfPv93pQL1LkBCJlAtYNNeI tyTQ== 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=7H1anmI4oq80rsGLDP6Mamr7lfd/PQVqurTLeB2am7o=; b=Y/kQTuzI4oJQ/SzHJlqsr+c56lcwFuSnFkl69Pwz+3sxFCzfGa8GfSsOnBb0QZ/Uo5 WirmC9i0WVqUMQss6t75V8tJ0xnlc3pAvpkNtqOLyx2jXKb018mrQHmdNEAfduxhqlgp ppyIUo2sCQDsKUY+4FNCYo6HeUsncHE07NDpdka7EfCD9x5C5c9qbB4E3KNYglE4JrE8 o6l+pF8Qp2RWojwcwBgiUUaeavJItg1QDi7huhyAnEt5T0pfPxg/aEDgooD20u1JgVzb ZLt1hYoKKqd7QJUdHS65gZZKT+VvKVEB64od945MShELMbbQnE6CqdxDKDQpzpVBxAnU CfCQ== X-Gm-Message-State: AIVw113Bu/ZPQnWKiFAQ8e7FK3EZlMnYy+sQp+zdwjrjrWKQSZxjy4cX 8+hMMk1YC0b7npIY X-Received: by 10.101.87.205 with SMTP id q13mr19191207pgr.359.1500971740444; Tue, 25 Jul 2017 01:35:40 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id u5sm15245362pgc.92.2017.07.25.01.35.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jul 2017 01:35:39 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 25 Jul 2017 01:35:29 -0700 Message-Id: <20170725083530.15432-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 Subject: [OE-core] [PATCH 1/2] python3-pycairo: Pass -fPIC via CFLAGS X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Fixes | /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/python3-pycairo/1.10.0-r2/recipe-sysroot-native/usr/bin/x86_64-bec-linu x/x86_64-bec-linux-ld: src/cairomodule.c.1.o: relocation R_X86_64_PC32 against symbol `CairoError' can not be used whe n making a shared object; recompile with -fPIC Signed-off-by: Khem Raj --- meta/recipes-devtools/python/python3-pycairo_1.10.0.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.3 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb index f9031b3bca..9258ba11c7 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb @@ -19,6 +19,8 @@ S = "${WORKDIR}/pycairo-${PV}" inherit distutils3 pkgconfig +CFLAGS += "-fPIC" + BBCLASSEXTEND = "native" do_configure() { From patchwork Tue Jul 25 08:35:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108631 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp303932qge; Tue, 25 Jul 2017 01:35:47 -0700 (PDT) X-Received: by 10.84.210.11 with SMTP id z11mr15599388plh.472.1500971747576; Tue, 25 Jul 2017 01:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500971747; cv=none; d=google.com; s=arc-20160816; b=POs8SrwDikU1Z6pSBPDOlvr06Q6t5qxGPhp39dSHIHekWuJuEJDug446sgBbn3BGNa MoC1CvHn0XNU7Y/Ar2YoNohEyK0ZYyNoUhabyAL3Ec7i/ssn6cV9CqKcJSYOB2gpTHu+ tbXdPtmpFiijDV1VxrOSyTeEUzU4kIGvTfCQGr6FI4Y4m/oRPPeVXSitCQGjlsf+jYxD DUhgERboeOjybbFw3L3sBRrXgDfhFWptNczbPclBpHJb4qcK0tKOrJ9dA3fIqsFcW10n 2LslN67YI+pxJBycYGN2O3fMP7OKMAF37T4C/l4Hv7xoz85cGchzLbrwO7kz0QTi9ace zARQ== 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=YQy7ZeUaU/HVLDC3zwqOY5OhUQ4bBYjY6dPHPZyUquY=; b=gCsSjBduzGzjqmdngY4BJmvpcn6+gGDB/JRmeakpFgVFApIuIApGCBzTpmXOQsuixu Gi5Ckr7lzQ8Vo8F63qJJtrp4c1XUgsWwy0Y2//TgFulL71SZBixMLb3/m9w8FCxa7PXS 3hrF+wYIYPoJAqoagzf6jZVxfftyOEgSj0PBrrx8w+rLuEg2eNrp/fuAAMxm293rCHht h2zqX/tfjMnsqx5o26ZN0OTq2/zCUbgXDag/mSqWT6XboK5LmOqifo9EnLmRn8rbdHNy C0FBoZUqI3hewHH3P5yLzRMOI/vCzjoPEarFR4YVgLzppbdlpbZBD6U5uts6fipL41WR MN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=srGsU/AR; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 w70si7754395pfd.674.2017.07.25.01.35.47; Tue, 25 Jul 2017 01:35:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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.b=srGsU/AR; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 895E878353; Tue, 25 Jul 2017 08:35:43 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id AEB4F7834E for ; Tue, 25 Jul 2017 08:35:40 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id y129so13927024pgy.3 for ; Tue, 25 Jul 2017 01:35:42 -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=i9/Gf3vmtE+zA4YZH1HrnQZZy0pw2+ounWJIs6bNzaw=; b=srGsU/AR90U1BLSd8nSUoz1cWljjOSicNHhEXVoyYDLwdv4nvSiIeHNoDUytfVyRLp jvP1YS/NnLzJE+/uOSbHkFWJkNTzOsNA2et+5IpbuJFjn56nlMk7O5cKBVHsKTMA2nps +Y7gXVryCOShEBmlTXDKHR/WN5LgYqqLbGT7bgIS7Q02hp4dryMhhfroHZkH/OoD+qwq 1neQ1gQ/kgw3h0m9edKTIWVRSYYMjjzyzpNoyxrOX6hIZX6JgyMfX9j+T3kHl3DXiDWM VDvJJLW+fqZ9qmFiB/0kM3LNBa6G1kTsK+7z8dyqH+O5wx3IHMtHbS3DfUkeXFLMy5uz Y6hA== 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=i9/Gf3vmtE+zA4YZH1HrnQZZy0pw2+ounWJIs6bNzaw=; b=IKk/nxVylVJ6dy0gf6WEViL2N9o/ywG+QKzLQF+C7FqEQRoujc081J2Q4zl7+vibfC N1RK9FAsqH/gKyQDVfkilRWUpIW5oe/t9gSdDivApO1uL1LjV0tjgFjwyGnFz4geV/8V ybK5lITxR/8gOWs+yxhxINiYOHBieZHArEx0gPFTKHESCU7Th/iOd4Dp4Euf9LIW1oOX iH3C7H676GCudoc2Rq94X/Hj/bgxdMg0lptdPyQEG+5jvtyrLpWEkF8/8P92oiT7vqIE Z6BcOtIdEvpkMq33DGBDAgLig5F3LGTAgbSqEAMh1FJAvv/eosMF/lJoH+tiKJFR/xBv NBnQ== X-Gm-Message-State: AIVw11028CweZjHwQLHUmo9+SlW+CP3ssvD0D4um+bp40+eNqliE6HPR sIa/+w0tZfI9bdgv X-Received: by 10.99.174.67 with SMTP id e3mr18398930pgp.75.1500971741810; Tue, 25 Jul 2017 01:35:41 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id u5sm15245362pgc.92.2017.07.25.01.35.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jul 2017 01:35:40 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 25 Jul 2017 01:35:30 -0700 Message-Id: <20170725083530.15432-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170725083530.15432-1-raj.khem@gmail.com> References: <20170725083530.15432-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/2] webkitgtk: Do not use -isystem forcibly X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org this causes include_next to not find this header since -isystem is added via cmake, we alrady are using --sysroot so rely on that Signed-off-by: Khem Raj --- ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 170 +++++++++++++++++++++ meta/recipes-sato/webkit/webkitgtk_2.16.5.bb | 1 + 2 files changed, 171 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch -- 2.13.3 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch b/meta/recipes-sato/webkit/webkitgtk/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch new file mode 100644 index 0000000000..d6f0ce3cd6 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch @@ -0,0 +1,170 @@ +From 53a00058184cd710c6f4375f4daab49d7e885a30 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 17 Apr 2016 12:35:41 -0700 +Subject: [PATCH] WebKitMacros: Append to -I and not to -isystem + +gcc-6 has now introduced stdlib.h in libstdc++ for better +compliance and its including the C library stdlib.h using +include_next which is sensitive to order of system header +include paths. Its infact better to not tinker with the +system header include paths at all. Since adding /usr/include +to -system is redundant and compiler knows about it moreover +now with gcc6 it interferes with compiler's functioning +and ends up with compile errors e.g. + +/usr/include/c++/6.0.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + Source/cmake/WebKitMacros.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: webkitgtk-2.16.5/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt +=================================================================== +--- webkitgtk-2.16.5.orig/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt ++++ webkitgtk-2.16.5/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt +@@ -42,7 +42,7 @@ set(WebKitTestNetscapePlugIn_SYSTEM_INCL + ) + + include_directories(${WebKitTestNetscapePlugIn_INCLUDE_DIRECTORIES}) +-include_directories(SYSTEM ${WebKitTestNetscapePlugIn_SYSTEM_INCLUDE_DIRECTORIES}) ++include_directories(${WebKitTestNetscapePlugIn_SYSTEM_INCLUDE_DIRECTORIES}) + + set(WebKitTestNetscapePlugIn_LIBRARIES + ${X11_LIBRARIES} +Index: webkitgtk-2.16.5/Tools/ImageDiff/CMakeLists.txt +=================================================================== +--- webkitgtk-2.16.5.orig/Tools/ImageDiff/CMakeLists.txt ++++ webkitgtk-2.16.5/Tools/ImageDiff/CMakeLists.txt +@@ -9,6 +9,6 @@ set(IMAGE_DIFF_LIBRARIES + WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() + + include_directories(${IMAGE_DIFF_INCLUDE_DIRECTORIES}) +-include_directories(SYSTEM ${IMAGE_DIFF_SYSTEM_INCLUDE_DIRECTORIES}) ++include_directories(${IMAGE_DIFF_SYSTEM_INCLUDE_DIRECTORIES}) + add_executable(ImageDiff ${IMAGE_DIFF_SOURCES}) + target_link_libraries(ImageDiff ${IMAGE_DIFF_LIBRARIES}) +Index: webkitgtk-2.16.5/Tools/MiniBrowser/gtk/CMakeLists.txt +=================================================================== +--- webkitgtk-2.16.5.orig/Tools/MiniBrowser/gtk/CMakeLists.txt ++++ webkitgtk-2.16.5/Tools/MiniBrowser/gtk/CMakeLists.txt +@@ -57,7 +57,7 @@ endif () + add_definitions(-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6) + + include_directories(${MiniBrowser_INCLUDE_DIRECTORIES}) +-include_directories(SYSTEM ${MiniBrowser_SYSTEM_INCLUDE_DIRECTORIES}) ++include_directories(${MiniBrowser_SYSTEM_INCLUDE_DIRECTORIES}) + add_executable(MiniBrowser ${MiniBrowser_SOURCES}) + target_link_libraries(MiniBrowser ${MiniBrowser_LIBRARIES}) + +Index: webkitgtk-2.16.5/Tools/WebKitTestRunner/CMakeLists.txt +=================================================================== +--- webkitgtk-2.16.5.orig/Tools/WebKitTestRunner/CMakeLists.txt ++++ webkitgtk-2.16.5/Tools/WebKitTestRunner/CMakeLists.txt +@@ -106,7 +106,7 @@ GENERATE_BINDINGS(WebKitTestRunnerBindin + WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() + + include_directories(${WebKitTestRunner_INCLUDE_DIRECTORIES}) +-include_directories(SYSTEM ${WebKitTestRunner_SYSTEM_INCLUDE_DIRECTORIES}) ++include_directories(${WebKitTestRunner_SYSTEM_INCLUDE_DIRECTORIES}) + + add_library(TestRunnerInjectedBundle SHARED ${WebKitTestRunnerInjectedBundle_SOURCES}) + target_link_libraries(TestRunnerInjectedBundle ${WebKitTestRunner_LIBRARIES}) +Index: webkitgtk-2.16.5/Source/WebCore/PlatformGTK.cmake +=================================================================== +--- webkitgtk-2.16.5.orig/Source/WebCore/PlatformGTK.cmake ++++ webkitgtk-2.16.5/Source/WebCore/PlatformGTK.cmake +@@ -321,7 +321,7 @@ if (ENABLE_PLUGIN_PROCESS_GTK2) + ${GTK2_INCLUDE_DIRS} + ${GDK2_INCLUDE_DIRS} + ) +- target_include_directories(WebCorePlatformGTK2 SYSTEM PRIVATE ++ target_include_directories(WebCorePlatformGTK2 PRIVATE + ${WebCore_SYSTEM_INCLUDE_DIRECTORIES} + ) + target_link_libraries(WebCorePlatformGTK2 +@@ -346,7 +346,7 @@ WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreP + target_include_directories(WebCorePlatformGTK PRIVATE + ${WebCore_INCLUDE_DIRECTORIES} + ) +-target_include_directories(WebCorePlatformGTK SYSTEM PRIVATE ++target_include_directories(WebCorePlatformGTK PRIVATE + ${WebCore_SYSTEM_INCLUDE_DIRECTORIES} + ${GTK_INCLUDE_DIRS} + ${GDK_INCLUDE_DIRS} +@@ -362,7 +362,7 @@ include_directories( + "${WEBCORE_DIR}/bindings/gobject/" + ) + +-include_directories(SYSTEM ++include_directories( + ${WebCore_SYSTEM_INCLUDE_DIRECTORIES} + ) + +Index: webkitgtk-2.16.5/Tools/TestWebKitAPI/PlatformGTK.cmake +=================================================================== +--- webkitgtk-2.16.5.orig/Tools/TestWebKitAPI/PlatformGTK.cmake ++++ webkitgtk-2.16.5/Tools/TestWebKitAPI/PlatformGTK.cmake +@@ -20,7 +20,7 @@ include_directories( + ${WEBKIT2_DIR}/UIProcess/API/gtk + ) + +-include_directories(SYSTEM ++include_directories( + ${GDK3_INCLUDE_DIRS} + ${GLIB_INCLUDE_DIRS} + ${GTK3_INCLUDE_DIRS} +Index: webkitgtk-2.16.5/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt +=================================================================== +--- webkitgtk-2.16.5.orig/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt ++++ webkitgtk-2.16.5/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt +@@ -21,7 +21,7 @@ include_directories( + ${TOOLS_DIR}/TestWebKitAPI/gtk/WebKit2Gtk + ) + +-include_directories(SYSTEM ++include_directories( + ${ATSPI_INCLUDE_DIRS} + ${GLIB_INCLUDE_DIRS} + ${GSTREAMER_INCLUDE_DIRS} +Index: webkitgtk-2.16.5/Source/WebKit2/PlatformGTK.cmake +=================================================================== +--- webkitgtk-2.16.5.orig/Source/WebKit2/PlatformGTK.cmake ++++ webkitgtk-2.16.5/Source/WebKit2/PlatformGTK.cmake +@@ -1156,7 +1156,7 @@ if (ENABLE_PLUGIN_PROCESS_GTK2) + target_include_directories(WebKitPluginProcess2 PRIVATE + ${WebKit2CommonIncludeDirectories} + ) +- target_include_directories(WebKitPluginProcess2 SYSTEM PRIVATE ++ target_include_directories(WebKitPluginProcess2 PRIVATE + ${WebKit2CommonSystemIncludeDirectories} + ${GTK2_INCLUDE_DIRS} + ${GDK2_INCLUDE_DIRS} +Index: webkitgtk-2.16.5/Source/JavaScriptCore/shell/CMakeLists.txt +=================================================================== +--- webkitgtk-2.16.5.orig/Source/JavaScriptCore/shell/CMakeLists.txt ++++ webkitgtk-2.16.5/Source/JavaScriptCore/shell/CMakeLists.txt +@@ -20,7 +20,7 @@ WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() + + WEBKIT_WRAP_SOURCELIST(${JSC_SOURCES}) + include_directories(./ ${JavaScriptCore_INCLUDE_DIRECTORIES}) +-include_directories(SYSTEM ${JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES}) ++include_directories(${JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES}) + add_executable(jsc ${JSC_SOURCES}) + target_link_libraries(jsc ${JSC_LIBRARIES}) + +Index: webkitgtk-2.16.5/Source/cmake/WebKitMacros.cmake +=================================================================== +--- webkitgtk-2.16.5.orig/Source/cmake/WebKitMacros.cmake ++++ webkitgtk-2.16.5/Source/cmake/WebKitMacros.cmake +@@ -277,7 +277,7 @@ macro(WEBKIT_WRAP_SOURCELIST) + endmacro() + + macro(WEBKIT_FRAMEWORK _target) +- include_directories(SYSTEM ${${_target}_SYSTEM_INCLUDE_DIRECTORIES}) ++ include_directories(${${_target}_SYSTEM_INCLUDE_DIRECTORIES}) + add_library(${_target} ${${_target}_LIBRARY_TYPE} + ${${_target}_HEADERS} + ${${_target}_SOURCES} diff --git a/meta/recipes-sato/webkit/webkitgtk_2.16.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.16.5.bb index dcaf8a6ed7..5ca525db38 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.16.5.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.16.5.bb @@ -21,6 +21,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ file://cross-compile.patch \ file://gcc7.patch \ file://detect-atomics-during-configure.patch \ + file://0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch \ " SRC_URI[md5sum] = "fce72dc89cd310a663d9eb97133861fe"